Dear Community,

 

I am struggling with the use of collections in scripts within a business process.

 

It seems that a collection of records has these properties: 

Item | Keys | Values | Count | IsReadOnly 

 

However I cannot seem to access them. 

 

This is what I wish to accomplish:



I receive data from a webservice, I want to parse this data into a list of keys and a list of values.

 

Thank you.

Like 0

Like

1 comments

Hello Pascal,

 

The webservice should return a JSON string with a predefined set of keys that then should be parsed in the busines process. So you know the list of keys (since the Webservice should return the exact list of keys, not the random set of keys with random names) and what is left to be done is developing a business process that can parse the result. For example you can use the approach discussed here, where the response from a Webserivce was successfully parsed and use the same approach on your end.

Show all comments

Hi All,

 

Executing the below line in business process using script task element to refresh the page. 

Terrasoft.Configuration.MsgChannelUtilities.PostMessageToAll("refreshSalesByVolume", Newtonsoft.Json.JsonConvert.SerializeObject(payload));

 

Where can I find the "refreshSalesByVolume" text in the source code/sections?

 

I am new to Creatio. Please help.

 

Many Thanks.

Like 0

Like

3 comments

It's Creatio cloud-based environment, where can I find the "refreshSalesByVolume" text in the source code/sections?

Hello,

Take a look at this article. There you can find an example of how to send a message via script task and how to proceed it.

Thanks for the inputs

Show all comments

I want to know if I can sort value in a lookup field. Currently I understand that the fields are alphabetical order but I dont want it to display in that order. I want to change it. Is there any way to do it?

Like 0

Like

1 comments

If this is for a classic page, you can sort the lookup, but the below method only works for dropdown list lookups, not sure how to sort a lookup that pop open the dialog (although I assume that is possible):

// add an attribute with the same name as your lookup column
// specify "orders" for which column to sort by  
attributes: {
  "UsrTestLookup1": {
        lookupListConfig: {
            orders: [
                {
                    columnPath: "UsrSorting",
                    direction: Terrasoft.OrderDirection.DESC
                }
            ]
        }
    }
}

If this is a Freedom UI page, not sure, but I don't think you're able to do that yet.

Ryan

Show all comments

Hi Everyone,

 

I was thinking of a button within my screen. This button will be used to change tabs. There are different tabs (Steps) on my screen. And when a user clicks on this button it takes him to the next tab, which is his next step also. So instead of clicking on tabs themselves. Is it possible to do it through buttons? Thanks!

Like 0

Like

5 comments

Hello,

 

Please note that there is no way to achieve such logic using basic user tools at the moment. 

However, we registtered this idea for our R&D team for review and this functionality may appear in future releases.

Assuming this is a classic page, you can do the following, passing the Code for the tab you want to set as the active/selected tab:

// set tab with code "GeneralInfoTab" as selected tab
this.setActiveTab("GeneralInfoTab");

Full article here on this topic: https://customerfx.com/article/programmatically-selecting-showing-or-hi…

If this is a Freedom UI page, not sure.

Ryan

Being able to do so in Freedom UI is a must. Anybody have any way of doing so? There must be some way.

It looks like this can be achieved in Freedom UI by setting the attribute <Tab element code>_SelectedTabIndex_Profile to the index of the tab you want to display, so the first tab would be 0, the second 1 etc. To show the 2nd tab for me, the code was:

request.$context.Tabs_SelectedTabIndex_Profile=1

Worth noting that when I try to set this in the init event (crt.HandleViewModelInitRequest) it throws an error in the console (though it does change the tab, so not sure what actually breaks, if anything). I worked around this by putting the set of the value inside a JS timeout for 800ms, which is quick enough to not really be noticeable to users while preventing the error. I'm guessing it's some kind of data loading race condition or something, loading the data for a tab that then isn't being shown.

Show all comments

Hello Community,

Which is the best way to add a second unique field (of type text) in Creatio.

We have created a custom object which has its unique ID (GUID) and would like to have in the same object a second unique field of type (String).

One method I have thought is implementing the AutoIncrement number on the Server-Side. Is there another way ?

Sasori

Like 0

Like

2 comments

Hello Sasori,

 

If you want to add a second unique field of type text to a custom object in Creatio we recommending to use the [Autonumber] field, it provides an out-of-the-box feature  that allows you to generate unique identifiers automatically. You can configure an AutoNumber format for your custom object's second unique field and define rules for its generation. This approach can be useful if you want to have a consistent format for your unique identifiers.

Hi Bogdan,

Unfortunately we are still using the Classic UI for the specific Client and we dont have the AutoNumber functionality. 

I have already implemented https://academy.creatio.com/documents/technic-sdk/7-16/how-add-auto-numbering-edit-page-field?_gl=1*1b1tnxa*_gcl_au*Njc0NzQ5NzQ2LjE2ODE4MDc5Njk. the logic in this academy article. (Server-Side)

Will it satisfy my business need ?

Sasori

Show all comments

Hello Creatio Community,

Because the detail 'Product In Order' in the Order Section is used exstensively (around 120.000 records in one of our instances) we would like to create e Section out of it,so that we use the advantage of (advanced filters).

We tried this in the Dev Environment. There is a new Section schema and a new Page schema created.

Will the creation of the Section bring problems to the overall architecture ? Is there some extra step that should be added ?

Sasori

 

Like 0

Like

4 comments

Hi Community,

Any update regarding this topic ?

Sasori

Hello Sasori,



I recommend following this guide for creating a section on an existing object:

https://academy.creatio.com/docs/user/customization_tools/ui_and_busine…

 

Best regards,

Kate

Hi Kate,

I have done the steps and things are working correctly.

 

One question:

->When I open a record from the newly Created Section (based on existing object) the URL is 'localhost:1000/0/Nui/ViewModule.aspx#CardModuleV2/OrderProduct1Page/edit'

->When I open a record from the Order Section and go inside the 'Product in Order' detail ther url is

localhost:1000/0/Nui/ViewModule.aspx#CardModuleV2/OrderPageV2/edit/

 

So the Edit Page for the first case is  OrderProduct1Page and for the second one is 'OrderPageV2'. Arent the Edit Pages supposed to be the same ?

 

Sasori

This is the expected behavior - we are always in the context of the currently open record, regardless of which other record we navigate to from it (the link does not change its value when navigating to another record). This behavior applies to records in the system when navigating to related records, and when switching to a different section/subsection of the system, the opening occurs in the same tab. 



So the same page is being opened, it's just that the link is generated according to the logic described above.

 

This behavior occurs when opening records in the same tab.

For example, if you navigate to a contact from the Case section, the link will remain as follows:

localhost:1000/0/Nui/ViewModule.aspx#CardModuleV2/CasePageV2/edit



Best regards,

Pavlo!

 

 

Show all comments

Hi Guys,

 

Is it possible to add Details in Freedom UI?

Like 0

Like

6 comments

Hello, 



 

Please refer to this article for detailed information:



https://academy.creatio.com/docs/user/nocode_platform/elements_reference/UI_designer



Best regards,

Orkhan 

Orkhan,

There is no information about having a detail in Freedom UI?

Hassan Tariq,

The Freedom UI component that is the equivalent to a Detail is the Expanded List.

Ryan

Hi!



I wonder, maybe there is step-by-step tutorial or video how to add new detail in Freedom UI?

I've tried several ways, none of them has given success to me



Kind regards,

Vladimir

This is the screen shot of the field details. The question is how to replicate Field Detail in Freedom UI... the table detail is the expanded list, but the field detaill?

Did anyone find anything on this?

Show all comments

Hi, 

 

I want to set the home page for a user and I can see many duplicates on the section list. What is the meaning of column Section types? Is it a setting corresponding with Freedom UI? 

 

Like 0

Like

1 comments
Best reply

Hello Paulina, 



 

This column means: 

0 main workstation, 1 portal section. 



For the main workstation 0, for the portal 1

As you can see you have two sections with the value 0 because there are 2 sections for cases: regular and free, unfortunately there is no way to choose between the two main ones as a workaround, you just need to add 2 and delete the extra one. 



Best regards, 

Orkhan

Hello Paulina, 



 

This column means: 

0 main workstation, 1 portal section. 



For the main workstation 0, for the portal 1

As you can see you have two sections with the value 0 because there are 2 sections for cases: regular and free, unfortunately there is no way to choose between the two main ones as a workaround, you just need to add 2 and delete the extra one. 



Best regards, 

Orkhan

Show all comments

Hi everyone,

 

I have just created a multi-select text field on Classic UI but I am trying to implement the same code within Freedom UI and it is not working. Any idea why, Does Freedom UI not support such feature? I am using the 3rd party for multi-select from Creatio Marketplace

Like 0

Like

4 comments
Best reply

Not yet supported in Freedom UI. 

Ryan

Not yet supported in Freedom UI. 

Ryan

The need for multiselect lookup is immense in our current project. Is there anyway to go about this or do we have to build our own component?

Shivani Lakshman,

In version 8.1 lookups now have the ability to do multi select.

Ryan

in the new version 8.2.1 Energy of creatio you can now use the multiselect lookup

Show all comments

Hello community,



I have a use case where I need to hide the menu buttons in the "LeftPanelTopMenuModule" for all users except for System Administrators in FreedomUI.

I tried using these community posts, but I am unable to hide the buttons for other users.

https://community.creatio.com/questions/hide-run-process-button-side-panel-roles-1

and https://community.creatio.com/questions/hide-run-process-button-side-panel-roles-replacing-client-module







Could you please help me with this issue.



Thanks in advance 

Goparna Nasina

Like 0

Like

1 comments

Hello,

 

There is no ready instruction for this case in Freedom UI unforutnately and according to the code there is no property to override and it's not obvious how to add it:

I will ask our R&D team to make it possible to control the visibility of this panel based on the user role. Thank you for reporting this question to us and helping us in making the app better!

Show all comments