data binding
7.15
Sales_Creatio_enterprise_edition

we upgraded on on-prem sales creatio to 7.15.2 and now the GlbDataBinding application fails upon installation.

Like 0

Like

3 comments

Dear Kumar,

 

During the installation process the application is compiled. If the application cannot be compiled due to some errors, not related to the GlbDataBinding tool, the installation process will fail as well. Therefore, please make sure you can compile the application without any errors and after that install the marketplace package.

 

Regards,

Dean 

Dean Parrett,

 

I did that and for reason I keep getting this error. Any thoughts?

Kumar,

 

Try to delete the installed marketplace package, compile the whole system and re-install the GlbDataBinding package again.

That should help.

 

Regards,

Dean

Show all comments
websocket
console
Error Message
error
socket
Client-side
client code debugging
7.15
Sales_Creatio_enterprise_edition

I am facing issues with the console flooded with the web-socket errors.

I don't know which element is bugging it.

Because of this sometimes I have to hard reload (empty cache) 3 to 5 times to do my configurations of view any record after some changes in section wizard or in any object.

Like 0

Like

2 comments
Best reply

This is due to the telephony integration being turned on by default in new systems, but not set up to connect to a phone system. To get rid of all that chatter in the console, go into your profile (by clicking the person icon in the top right corner, then select "Your profile". Once there, click the "Call center parameters setup" button and check the box to "Disable phone integration". Once you log out and back in again, all of that chatter and WebSocket errors in the console will be gone.

Ryan

This is due to the telephony integration being turned on by default in new systems, but not set up to connect to a phone system. To get rid of all that chatter in the console, go into your profile (by clicking the person icon in the top right corner, then select "Your profile". Once there, click the "Call center parameters setup" button and check the box to "Disable phone integration". Once you log out and back in again, all of that chatter and WebSocket errors in the console will be gone.

Ryan

Hey Ryan,

It worked.

Thanks for the help.

Show all comments
7.15_()
-Sales_Creatio
enterprise_edition_()

By using 'this.get("xxx").value' and 'this.get("xxx").displayValue' in the page edit code, it is possible to get the id and Name of a lookup item. Is there a way to access the value of the Description column too ?

Like 0

Like

2 comments

The only way I can think of to get the description is to first get the lookup item Id, then use an EntitySchemaQuery to get the description from the lookup object.

Something like this:

// get account type. then use an esq to get the 
// description for the selected type

var accountType = this.get("Type");

var esq = Ext.create("Terrasoft.EntitySchemaQuery", {
    rootSchemaName: "AccountType"
});
esq.addColumn("Description");
esq.getEntity(accountType.value, function (result) {
    if (result.success) {
        var desc = result.entity.values.Description;
        console.log("Description is: " + desc);
  }
}, this);

I have an article on the basics of using EntitySchemaQuery, if needed, here: https://customerfx.com/article/an-introduction-to-performing-client-side-queries-using-entityschemaquery-in-creatio-formerly-bpmonline/

Ryan

It's possible to add the "Description" column of a lookup object by setting columns property of "lookupListConfig". There is an example for "Type" lookup below:

     attributes: {

            "Type": {

                lookupListConfig: {

                    columns: ["Description"]

                }

            }

        }

After that you can get "Description" column value by using  this.get("Type").Description

Show all comments
Read Data
script task
7.13_()
-Sales_Creatio
enterprise_edition_()

Hello,

I tried the script task to read multiple records as below:

EntityCollection entities = Get("MyEntity");

var result = new Collection();

foreach(Entity entity in entities) {

                var productName = entity.GetTypedColumnValue("Name");

                string temp = productName.ToString();

                result.Add(temp);

                }

string displayValue = result.ConcatIfNotEmpty(",");

Set("UsrLatestOrderProduct", displayValue);

return true;

But, here I'm getting below errors:

Like 0

Like

1 comments

Dear Riddhi,

 

The issue happened due to the incorrect using of generic methods (Get<T> and GetTypedColumnValue<TResult>) and generic type (Collection<T>). In order to resolve the issue you should add the type argument for every generic construction in the code. Please see the example of the code:

 

EntityCollection entities = Get<type>(“MyEntity”);

var result = new Collection<type>();

var productName = entity.GetTypedColumnValue<string>(“Name”);

 

Please find additional information in the article by the link below:

 

https://academy.creatio.com/documents/technic-bpms/7-15/script-task-process-element

 

Best regards,

Norton

Show all comments
7.15_()
-Sales_Creatio
enterprise_edition_()

Hi Team,

 

I can't find any working example of js to get attachments related to entity and convert it to base64.

The case we are try to achive is display pdf on one of tab as a iframe. All code works when i put "pdf base64" directlly to the code but i would like to get this pdf from attachment ..

The content of the body looks as example:

"data:application/pdf;base64,JVBERi0xL..."

Solution we used is based on:

https://academy.creatio.com/documents/technic-sdk/7-13/integration-third-party-sites-iframe

Do You have any suggestion ?

 

Regards,

Marcin Kott

Like 0

Like

1 comments

Please feel free to use the example how to get a pdf file in Creatio and convert it to base64 format:

 

Ext.Ajax.request({

                        url: getFileURL,

                        method: "GET",

                        autoAbort: false,

                        binary: true,

                        documenttype: "application/pdf",

                        headers: {

                            "Content-Type": "application/pdf"

                        },

                        success: function(result) {

                            var byteArray = result.responseBytes;

                            var len = byteArray.byteLength;

                            var pdfData = "";

                            for (var i = 0; i < len; i++) {

                                pdfData += String.fromCharCode(byteArray[i]);

                            }

                            pdfData = window.btoa(pdfData);

                        

                        },

                        failure: function(error) {

                        },

                        scope: this

                    });

Show all comments
7.15_()
-Sales_Creatio
enterprise_edition_()

After creating a package, and adding a string in Contact section wizard, exported package to archive and now I am unable to view record in contacts.  when I select an individual record, I get a blank page with a blue CLOSE button.  Enormous console websocket errors.  Please help, I cannot move forward with certification assignment.

Like 0

Like

3 comments

Update, after compiling I got the screen back ... but he web socket errors have not stopped.  This is occurring on the sales creatio enterprise edition and is happening on my colleagues computer as well.

 

Hi Darlene,



Web socket errors are connected to Webitel telephony.

To get rid of these errors you have to delete the value from "default message exchange library" system setting.



Hope it will help you.



Thank you.



 

Thank you, that did work

Show all comments
Filters
text
Sections
7.15_()
-Sales_Creatio
enterprise_edition_()

Hi,

I would like to know if its possible to create filters for sections, like the ones showned in "https://academy.creatio.com/documents/technic-sdk/7-15/adding-quick-fil…" but using strings/text and not lookups or dates? If yes, how can i do it?

Thanks in advance

Best Regards,

Pedro Pinheiro

 

 

Like 0

Like

3 comments

Dear Pedro,

 

Please see an example of creating filter using boolean type on the “CaseSection” schema https://prnt.sc/rhts16 https://prnt.sc/rhtstb https://prnt.sc/rhtt5x

 

Best regards,

Norton

Pedro - did you ever figure this out?  I'm trying to do the same thing.  Thanks!

Chris Isbell,

Hello Chris, can you please help me in figuring out, how to apply quick filter on String or Text Field? 

 

Actually, i have the same requirement to fulfill.

 

Best Regards,

Aakanksha Dixit

Show all comments
7.15_()
-Sales_Creatio
enterprise_edition_()

Dear Team,

Is there a Look up for month and year together? Would you suggest creating one (auto generating Month-year) through a business process?

Thanks

Like 0

Like

3 comments

Hello,

There is no lookup which would have the years connected to months. You can create new object for it with the required columns and import such records. Here is the example of the lookup values http://prntscr.com/qu19a1

Regards,

Dean

Dean Parrett,

Thank you Dean. While we are still discussing about lookups could you please explain what are 

"Base Lookup with Value ( Base )" and where we can use them? Also is it possible that for example, I have a set of departments as a lookup. If a user selects the department, the department code must be displayed?

Thanks

Dear Shivani,

Base lookup it the system entity that is used to define you object as a lookup http://prntscr.com/quk8a1 When creating new object for lookup, you need to specify its parent object as 'Base lookup'. As for the departments lookup, you can use just the same approach as with Moth-Year lookup and use business rules. 

Regards,

Dean

Show all comments
email templates
contacts
7.15_()
-Sales_Creatio
enterprise_edition_()

When in a list view, when a user hovers over a Contact name, they have shortcuts for call, email and task. When a user creates an email from the email shortcut, the Contact templates do not display.

What area is this for the macro so that we can copy the Contact templates and have them accessible when the Contact is open or when the user is viewing all Contacts in a list view.

Like 0

Like

3 comments

Dear Amy,

When clicking on this shortcut http://prntscr.com/qu37nj the new email designer has the option to select the template http://prntscr.com/qu3816http://prntscr.com/qu39b4

If for some reason you do not have this option or do not see the templates, we suggest you to contact our support team via support@creatio.com to look into the issue in your particular environment.

Best regards,

Dean

 

Dear Dean Parrett, this is exactly the section I'm referring to. We see the email icon, we see the template icon, but when we access it from this view the list is empty. How do I ensure the templates display here?



Thank you!

Amy

Dear Amy,

It is quite hard to say why you cannot see the records in the list. Therefore, it is better to approach the support team so that they could investigate the issue on your website.

Regards,

Dean

Show all comments
#lookupListConfig
7.15_()
-Sales_Creatio
enterprise_edition_()

Hi Team,

How to configure control element binded to some text type field (non-lookup field) to works similar to drop-down list ?

 

What i would like to achive:

When user typing customer name system should check existing customers from Account object and suggest choose one of they from drop-down list.

In case when typed customer name wasn't chosen from suggested list or wasn't find system should keep typed value on field (not cleaned it after  changing focus or saving as is functionality of lookup field). 

I would like to implement this functionality on Lead mini-page in creation mode on Account field and Contact field.

 

Regards,

Marcin Kott

Like 0

Like

3 comments

Dear Marcin,

Unfortunately, we do not have any ready examples of the required functionality. However, there is the “To” field in the “Email” tab from Actions Dashboard https://prnt.sc/qon7l5 . This field has the “text” type, can be filled from the lookup and is not cleaned after changing focus. Please take a closer look at this field.

The field is located in the “EmailMessagePublisherPage” schema and has the “Recipient” name https://prnt.sc/qoni6a

 If you have any further question, please contact technical support.

Best regards,

Norton

do you mean like this?

if I'm right, check "AccountMiniPage" Enrichment package and "CompaniesListHelper" for example.

Hi again,

First solution was not enought because i need click on lookup button and search again same text.

Second solution was my thought to, but afraid complexity of modification. But finally decided to go this way and it's works perfect.

Thank You

Show all comments