I have a string field that is being populated in this format, "myfielddata-data". I need to parse the data after the "-" to use in a business process.

Like 0

Like

1 comments

Hello Justin,

 

string myString="myfielddata-data";

int indexRetrieved=myString.LastIndexOf("-");

 

string result= myString.SubString(indexRetrieved);

 

other way:

string myString="myfielddata-data";

string arMyString[] = myString.Split("-");

 

string result = arMyString[1];

 

 

Show all comments

We have a weird error compiling a script:

 

I do not see how these error correspond to the source (in the next image).

 

Process combines a collection to a HTML table to be sent via email:

 

 

 

 

Like 0

Like

1 comments

AccountId and StatusId are Guids, not strings. Try using this instead:

item.TryGetValue<Guid>("Account", out Guid AccountId);

Do the same for Status.

As a side note, it would likely be easier to just retrieve the data using an ESQ rather than using the collection returned by the read data element.

Ryan

Show all comments

Hello all,

 

Is it possible in Freedom UI to enable Feed to display the connected record as it did in Classic UI? Just showing the section isn't as informative as the old setup where you could see exactly what record the feed message was in context of.

Like 1

Like

1 comments

Dear Kevin,

 

We appreciate your patience as we consulted with our R&D team regarding the concerns you raised.



Regarding the connected record in the feed panel, we are pleased to inform you that the behavior you mentioned will be addressed in the upcoming 8.0.3 version. 

 

If you have any further questions, please let us know, we would be happy to help.



Thank you for choosing Creatio!

Show all comments
Question

Hi all,

I need to switch the form on the form load based on a user role in Freedom UI. 

 

How can I do this ?

 

Best regards,

Franck

Like 0

Like

2 comments

Hello,



Could you provide a little more detail? Which specific forms are you referring to?

Malika,

some portal users with full access as b2b need to update the case with standard access rights so instead to access the external page. They need to access the case_formpage.

Show all comments

Hi! Is it possible to handle exception in a process? For example if there is an error on "delete something" step occur we proceed to next step without stoping all process.

Like 0

Like

1 comments
Best reply

Dear Andrii,

Unfortunately, we cannot handle exceptions with standard tools in actual versions of applications. Thank you for bringing this aspect to our attention. We will create an idea for the development team so they can consider implementing such functionality in future versions of our application.

If you're talking about custom C# code and Script tasks, you can use basic try/catch constructs there to handle exceptions.

To track errors in business processes, you can create a new business process. It is described on the Creatio Community at the following link: https://community.creatio.com/questions/exception-handlng-business-procecss.

Thank You!

Dear Andrii,

Unfortunately, we cannot handle exceptions with standard tools in actual versions of applications. Thank you for bringing this aspect to our attention. We will create an idea for the development team so they can consider implementing such functionality in future versions of our application.

If you're talking about custom C# code and Script tasks, you can use basic try/catch constructs there to handle exceptions.

To track errors in business processes, you can create a new business process. It is described on the Creatio Community at the following link: https://community.creatio.com/questions/exception-handlng-business-procecss.

Thank You!

Show all comments

Dear colleagues,

 

In Classic UI I can solve this by code, but in Freedom is also possible?, somebody know in which schema I need to do this and the related code?

 

Thanks & Regards

Like 0

Like

8 comments
Best reply

Hello Julio,

See this article here: https://customerfx.com/article/adding-row-action-menu-items-to-a-creati…

You can override the menu (usually to add other menu items to it). When you do so you override the "Open", "Copy", "Delete" options and need to add them back in. You could override the menu and then just only add back in the "Open" option. It would look like this (the article will provide more details)

viewConfigDiff: /**SCHEMA_VIEW_CONFIG_DIFF*/[
    {
        "operation": "merge",
        "name": "DataTable",
        "values": {
            //...,
            "rowToolbarItems": [{
                type: 'crt.MenuItem',
                caption: 'DataGrid.RowToolbar.Open',
                icon: 'edit-row-action',
                disabled: "$Items.PrimaryModelMode | crt.IsEqual : 'create'",
                clicked: {
                    request: 'crt.UpdateRecordRequest',
                    params: {
                        "itemsAttributeName": "Items",
                        "recordId": "$Items.PDS_Id"
                    }
                }
            }]
        }
        //...
    },
    //...
]/**SCHEMA_VIEW_CONFIG_DIFF*/

Essentially you're replacing the existing menu with one that only has the Open menu option. This works for any list (section or a list on a page)

Ryan

and the same in a Detail (Freedom page)?

Hello Julio,

See this article here: https://customerfx.com/article/adding-row-action-menu-items-to-a-creati…

You can override the menu (usually to add other menu items to it). When you do so you override the "Open", "Copy", "Delete" options and need to add them back in. You could override the menu and then just only add back in the "Open" option. It would look like this (the article will provide more details)

viewConfigDiff: /**SCHEMA_VIEW_CONFIG_DIFF*/[
    {
        "operation": "merge",
        "name": "DataTable",
        "values": {
            //...,
            "rowToolbarItems": [{
                type: 'crt.MenuItem',
                caption: 'DataGrid.RowToolbar.Open',
                icon: 'edit-row-action',
                disabled: "$Items.PrimaryModelMode | crt.IsEqual : 'create'",
                clicked: {
                    request: 'crt.UpdateRecordRequest',
                    params: {
                        "itemsAttributeName": "Items",
                        "recordId": "$Items.PDS_Id"
                    }
                }
            }]
        }
        //...
    },
    //...
]/**SCHEMA_VIEW_CONFIG_DIFF*/

Essentially you're replacing the existing menu with one that only has the Open menu option. This works for any list (section or a list on a page)

Ryan

Ryan Farley,

Thanks Ryan, I promise I looked first, before to publish, in your articles, but didn't found this one. Thanks a lot

 

Regards

Julio

Ryan Farley,

Dear Ryan, I didn't found the crt.DataGrid element in the viewConfigDiff in the code of the listpage, I found it on a FormPage, but I need it also in a the ListPage

solved no need to search crt.DataGrid, jus add it on viewConfigDiff

Julio.Falcon_Nodos,

Yes correct. For the list page, the List (crt.DataGrid) exists in the parent page, you just need to merge in the changes.

Ryan

No worries - there's so much new info now with Freedom UI stuff, it's hard to know what to even search for!

Julio.Falcon_Nodos writes:

Ryan Farley,

Thanks Ryan, I promise I looked first, before to publish, in your articles, but didn't found this one. Thanks a lot

Regards

Julio

This could really do with being configurable using no-code tools, as it's quite cumbersome to apply to every list users will see but is often important - being able to copy records which should have to be created in specific ways is often an issue for business data.

Show all comments

Hello,

 

we use Web service element in our business process, where we set several parameters. For logging purposes we need to get JSON of request body, but there is no such option (I see only Response body)



How can we get request body from the Web service element?



Thanks.

Vladimir

Like 0

Like

3 comments

Hello,

Unfortunately, Web service element doesn't directly expose the request body for logging within the element itself. 

 

Hello, 

 

and no hidden workaround? Or any methods, which are used from request body generation, that we could use as well?



Kind regards,

Vladimir

Hello Vladimir,



You can try to use Telerik Fiddler tool to capture requests that are being sent.

Show all comments
Question

Hello, 

I added an object based on the File object, but I can't see the newly created object in the list of file storage locations. What could I be doing wrong?

Like 0

Like

3 comments

Hello,

For custom sections the files will be stored in SysFile object.

I need to add new columns that are specific to my section. Therefore, I have to create a new object. Is there a way to upload files into the newly created object?

Hello,

 

When a new attachment storage is created according to The File Management API. The file storage will be available in the list of objects the Freedom UI Attachments component works with.

Show all comments

Dear mates,

Our system display a compilation error warning. If we click on the button, the tooltip displayed is empty.

We had compilation errors in the past, but the issues are resolve.

I tryed to delete records in the Compilation History Lookup but the system refused to delete them.

How can i remove the Warning ?

Thank you,

Nicolas

Like 1

Like

3 comments
Best reply

Hello,

 

Please note that this issue is connected to the 8.1.2 release and in order to fix it you need to create a case directly for our Support team (support@creatio.com) so we could work with the site in question.

Same here in our cloud dev environment with this new 8.1.2 functionality

You are right, we do not have the problem on our production environment, only on the dev env.

Hello,

 

Please note that this issue is connected to the 8.1.2 release and in order to fix it you need to create a case directly for our Support team (support@creatio.com) so we could work with the site in question.

Show all comments

Hi,

 

in Creatio 8.1.2 we can create multiple pages based on a specific value.



Is it possible to create multiple pages based on user role (other than All Employees or External ) ?



Thank you ,



Damien



 

Like 0

Like

3 comments

Not possible. However, coming Q2 2024 are new business rules that you can show/hide things based on a user role. So you could at least have different elements show/hide on the same page for various roles. https://academy.creatio.com/docs/release/creatio-roadmap?search=role&ch…

Ryan

Hi Ryan,



Thanks, will see if that could work as possibilities might by bigger with these new business rules.



We have 2 different pages today in classic UI with quite different approach, was hoping not having to a nocode implementation with Freedom UI.



Cheers,



Damien

It is possible to have many different pages for the same object. You could do something like, from the base page, check the user role and then redirect to some version of the page for that role. However, that could get messy and would likely be easier to just have tabs for each role that show/hide as needed.

It's also possible to create pages based on database views, so in theory you could have entire sections of the same data tailored to different roles as well, but that sounds like an unnecessary amount of work, especially since you'd have to update the views every time a new field was added to the object.

If it's based on a field such as a "Type" it can all happen in the same way that it did for classic pages - that is implemented in Freedom UI.

Ryan

Show all comments