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.
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?
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.
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!
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:
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.
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.
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 ?
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
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:
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?
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?
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.
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.
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
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!