Hello, is it possible to have the global search include records from custom sections I've created? It appears to only search ootb sections. 

Like 0

Like

9 comments

You can try enabling the indexing for full text search option in section wizard.  https://academy.creatio.com/docs/user/no-code_customization/ui_and_busi…

Can that only be done upon initial setup? I set this custom section up a year ago and now if I go to the section wizard I don't see that option.

 

Dear Mitch, 



Can you please check SysModule table and make sure that for this section value of "GlobalSearchAvailable" column is set to 1? 



Kind regards,

Roman

Roman Brown,

 It was not set to 1, I updated the column so it was now 1. But still, this section does not show up in the global search.

Dear Mitch, 



Please contact our support team at support@creatio.com with a short description of the issue or simply provide a link to this post so we could help you with it. 



Kind regards,

Roman

Will this work for detail columns also ?

Dear Shailey, 



Can you please provide more details on your question?



Kind regards,

Roman

Hello,

 

same questions:

 

1. Custom section is set up as indexing for full-text search but I dont see in a result window.

2. Enabling section for fulltext search: would it find the details records aswell. For example if I search for product name, it find me all orders where that product in placed. Will it work for custom section as well with products detail?

Dmytro Oliinyk,


Did you manage to make it work? I'm curious about this too.

 

Show all comments

Is there a declarative way to display fields from a lookup on an entity's edit page? For example, if I have a Contact record whose Owner field is set and I want to display the Owner's Job Title as a read-only field on the Contact's edit page, is it possible to do without adding some code to the onEntityInitialized method to manually set another attribute which a field is based on to the value of the Job Title field? I can load the field with the record using lookupListConfig as below, but any way I try to specify that this field should be displayed on the page results in errors or nothing happening:

    attributes: {
        "Owner": {
            lookupListConfig: {
                columns: ["JobTitle"]
            }
        }
    }
// ...
    diff: [
        // example of one attempted method to add the lookup field which doesn't work:
        {
            "operation": "insert",
            "parentName": "ContactGeneralInfoBlock",
            "propertyName": "items",
            "name": "OwnerJobTitle",
            "values": {
                "bindTo": "Owner.JobTitle",
                "layout": {
                    "column": 0,
                    "row": 4,
                    "colSpan": 12
                },
                "enabled": false
            }
        }
    ]

 

Obviously as mentioned this could be done using code, but if it's possible to do declaratively that would definitely be my preferred option - is this possible?

Like 0

Like

4 comments

I don't know of a declarative way to do this. You'd need this in a few parts:

  1. Add some text virtual attributes to the page and then add those to the diff as readonly
  2. Populate those attributes when a lookup item is selected which could be done by adding the columns to the lookupListConfig columns. You'd need to wire up a change attribute for the lookup to retrieve those values and populate the attributes.
  3. onEntityInitialized you'd need to retrieve those values using an ESQ to populate the virtual attributes again.

Ryan

As a side comment, I'd love to be able to declaratively add fields like this, the system could just make them read-only if they are on a connected entity. That would be fantastic.

Hi Ryan, thanks for the reply. Yeah, I have a way to populate the fields in code, but I was just wondering if there was a declarative way to do so - as you say, it would be a great addition to Creatio and I hoped I was just missing something already there!

 

For anyone else searching for this, my solution slightly differed from yours in using the lookupListConfig to pull the lookup entity's additional field(s) when loading the record, which means you don't have to run an additional ESQ, which saves hits on the DB. It also uses the dependencies attribute rather than the change attribute, but that's just my personal preference as I believe they'd work the same:

 

    attributes: {
        "Owner": {
            lookupListConfig: {
                columns: ["JobTitle"]
            }
        },
        "OwnerJobTitle": {
            type: Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN,
            dataValueType: Terrasoft.DataValueType.TEXT,
            dependencies: [
                {
                    columns: ["Owner"],
                    methodName: "setPickMapFields"
                }
            ]
        }
    },
    methods: {
        onEntityInitialized: function() {
            this.callParent(arguments);
            this.setPickMapFields();
        },
 
        setPickMapFields: function() {
            const owner = this.get("Owner");
            if(owner) {
                this.set("OwnerJobTitle", owner.JobTitle.displayValue);
            } else {
                this.set("OwnerJobTitle", null);
            }
        }
    },
    diff: [
        {
            "operation": "insert",
            "parentName": "ContactGeneralInfoBlock",
            "propertyName": "items",
            "name": "OwnerJobTitle",
            "values": {
                "bindTo": "OwnerJobTitle",
                "layout": {
                    "column": 0,
                    "row": 4,
                    "colSpan": 12
                },
                "enabled": false
            }
        }
    ]

 

Does the job, but it does lack the clarity that a declarative system would provide!

Harvey Adcock,

That's great Harvey, thanks for the update. I was under the impression that adding columns to the lookupListConfig would only load them on selection, great to know that those come along when the lookup data is loaded as well!

Ryan

Show all comments

Hi Community,

 

I have seen the DataServices, OData 4 & OData3 which allow third-party tools to perform CRUD operations in Creatio using AuthService form authentication.

 

I want to know If there is any service like above which have OAuth 2 implemented so that instead of AuthService authentication, third-party tools can use OAuth 2 authentication with Creatio?

Like 0

Like

2 comments

Hi Akshit, 

 

Please check the link below to get some general information about integration with OAuth :

 

https://academy.creatio.com/docs/user/no-code_customization/web_service…

 

And also the particular example of integration with Office 365 :

 

https://academy.creatio.com/docs/user/setup_and_administration/base_int…

 

Best Regards, 

 

Bogdan L.

You can find some info for setup oauth environment here Set up OAuth 2.0 authorization for integrated applications | Creatio Academy

Show all comments

Hi community,

 

Few year back someone overrode this save method as you can see in the below attached image.

now this has became  a third party schem for me.

 

I want to remove this implementation(what all written inside save), because it is restricting the user from saving the record now.

 

What I have tried is creating the replacing client schema for the above schema and again overriding the save method as : 

save : function() 

this.callParent(arguments);

}

but it didn't worked.

 

Now, what all I am trying to do is to call the base implementation of Save method by skipping all the overriding implementaion therefore I also tried this : 

save : function() 

this.callSuper(arguments);

}

but it didn't work either.

 

Can someone help me how can I achieve this.

 

Many thanks!

 

Like 1

Like

4 comments

Dear Akshit,

 

save : function() should have solved your task. Have you debugged the code to find why it did not work?

 

Best regards,

Angela

 

Hi Angela Reyes,

 

Thank you for the response,

 

I haven't tried to debug this code.

 

I thought there is some way to call the base implementation of Save by skipping the overriding versions of the same(Save method).

 

So according to you below should work : 

Save : function () 

{

this.callParent(arguments);

}

 

Ok, I will debug and will respond back here.

 

 

 

Akshit,

 

If you want to call the base save function then you don't need to override the save function at all. Without overriding the system takes the base save function and executes it. But if you need to store some additional logic upon saving the record you need to callParent the parent save function and then your additional actions that the code is supposed to call. 

 

Best regards,

Oscar

 

Akshit,  Hello ,

Did you find a solution to this problem

Thank you 

Show all comments

Hi Community,

 

 

Above error I am getting while opening/editing the record in creatio mobile applciation.

 

There are total 5 details configured on the section and I see only these detail configuration in mobile is causing this issue. Now the next thing is this error is not because of any specific details. It is random.

 

Can anyone please help me why these details configuration is causing this error ?

 

Many thanks,

 

Akshit

Like 0

Like

1 comments

Dear Ashkit, 

 

The error CANNOT READ THE PROPERTY "..." OF UNDEFINED is quite general and its hard to tell what can be the issue from the screenshot. It is necessary to have a closer look into it. Try to approach the Creatio support team to look at the error closely.

 

Regards,

Dean

Show all comments

Hi All,



I have created a mini page -OOTB(View Mode) for a section as you can see in the below image.





And the view record Mode is enabled. And the process works as expected





But the View record checkbox getting disabled once transfering the package.

Is there any DataBinding related to this miniPage.

Kindly help me out with this.



Regards,

Adharsh S

 

Like 0

Like

2 comments
Best reply

Hello Adharsh,

It is necessary to bind data from MiniPageModes and MiniPageSchemaUId column of SysModuleEdit table. The columns store info about what modes your minipage has.  Seems like this binding is missing and as the result the checkbox is not active.

 

Regards,

Dean

Hello Adharsh,

It is necessary to bind data from MiniPageModes and MiniPageSchemaUId column of SysModuleEdit table. The columns store info about what modes your minipage has.  Seems like this binding is missing and as the result the checkbox is not active.

 

Regards,

Dean

 

Thanks, Dean Parrett,

I will make DataBind for the above you mentioned and try again.



Regards,

Adharsh S

Show all comments

Hello community,

 

In the Creatio mobile application, when I am opening the record for the first time it is opening fine but when I open the same record again page keeps on loading when I checked the error using mobile emulator I see the below-attached error.

 

But this is happening for one section only.

 

Can anyone please help me to figure out the issue and how further can I debug and Solve it ?

 

Many Thanks,

Akshit.

Like 0

Like

3 comments

Hello Akshit,

 

Please debug this error message and find a direct place from which the error comes up and also which methods are called (with which parameters) when opening the page for several times.

 

Best regards,

Oscar

Hello Oscar,

 

Can you help me how can I debug it further, I mean how can I get the reason for what is causing  "Cannot read property  "rows" of undefined" 

error?

 

Many Thanks,

Akshit.

 

Akshit,

 

Please use breakpoints in the page schema and catch parameter values and methods calling (you need to use a mobile emulator to do that). Analyze the data received and share it in case you need help in making conclusions.

 

Best regards,

Oscar

Show all comments

Dear team, 

we have a field with type Time:  

How can we filter out some of the unnecessary values from this field (eg, time before 7am and after 7 pm)? 

Thanks in advance.

Like 0

Like

1 comments

I have a method outlined here, but it's a bit hacky https://customerfx.com/article/changing-the-allowed-time-selections-on-…

This method basically just hides values using CSS. You could use that same approach to just hide all the time values before 7am and after 7pm.

Ryan

Show all comments

Hi Community,

 

Below is the business rule,

 

CreatedBy : Lookup column on "Contact"

FunctionalGroup : Custom Lookup Column on "Contact"

Send to Audit : Custom field

 

this is Code I have written in the cusotm module: 

I debug my code on mobile emulator and found that variable createdBy is undefined inside If condition.

 

 

I have checked this. 

var createdBy = record.get("CreatedBy.Id");

and It is working fine, means I am not getting createdBy as undefined.

 

Then why "CreatedBy.UsrFunctionalGroup.Id" is not working?

 

Can anyone help me with this issue?

 

Many Thanks in advance!

 

Akshit.

 

Like 0

Like

5 comments

Hi Akshit, 

For this try to add CreatedBy in attribute and mentioned all field which you need in lookupListConfig parameter for more detail you can see my below code for Activity 

    "Account":{ 

                lookupListConfig:{ 

                    columns:["Type"] 

                } 

            }, 

Hi Meet,

 

Thanks for the response, Can you please tell me where I can find the "attribute" so that I can add CreatedBy?

 

Many Thanks.

Hi Akshit, 

 

Attributes is a configuration object property of the view model schema you can find more details in below link 

 

https://academy.creatio.com/docs/7-16-0/developer/front-end_development/client_schema_structure/attributes._the_%22attributes%22_property 



If you need example you can also take look at this:- 

 

https://academy.creatio.com/docs/developer/front-end_development/creatio_development_cases/page_configuration/adding_calculated_fields

 

Hi Meet,

 

I have to apply this business rule on creatio mobile application. And for that, I need to create a custom module in which I write my code for the business rule. 

So I didn't write this code on Object Section schema or Edit page Schema.

 

 

 

hi Akshit,

 

Ohh I see, I haven't implement this type of logic on Mobile application but I guess Mobile page also has the similar approach in that you have to define SyncColumns instead off lookupListConfig. 

You can find more details here:-https://academy.creatio.com/docs/developer/mobile_development/mobile_ap…;

Show all comments

Where can I control which events on the case create a lifecycle record. Currently when a case is created I assign SLA and Service through a workflow based on certain rules. I then actualize the calculation of the SLS time-frames with the existing Script.

 

 

The change of SLA/Service created another lifecycle record on top of the one that was created by creating the Case.

 

Actualizing the SLA term calculation creates yet another lifecycle record.

This leaves me with 2 extra useless records that clutter the grid. Where can I switch off this behavior? 

Like 0

Like

1 comments

Hi Oliver,

 

I believe there is a code in SLA/Service entity process which creating Case lifecycle entries. You may take a look on it and override it. 

Show all comments