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 1

Like

13 comments
Best reply

Note, when adding these back in, you'll need to make sure that the "items" and "primaryColumnName" values match the values from your list. For Section Lists. The "Items" and "PDS_Id" values need to be updated to match your List's property values - those can likely stay as-is for section lists, but for new lists added, you'll need to update those values. See for more: https://customerfx.com/article/adding-row-action-menu-items-to-a-creati…

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.

Ryan Farley,

 

Hello again Ryan

 

How can I remove the delete option on a Freedom UI page , I see that when I add a detail only a FormPage is created, but there is no ListPage (like in Classic UI). So is it possible to solve this in a Freedom UI detail?

 

Julio.Falcon_Nodos,

Hi Julio, basically, any time you override the rowToolbarItems it replaces what is there with that you provide. Meaning, all the existing out of the box ones are gone. If you want no items there, you can just add and empty array:

rowToolbarItems: []

However, this has the annoying side effect of leaving an empty menu that pops up when the row actions button is clicked. I'm not sure if there's a property to remove the row actions button completely, so I usually just hide it with CSS.

Ryan

Ryan Farley,

Thanks Ryan, I'm already solved, but I want to maintain "Open", "Copy" and just remove "Delete", how can I did it?

solved... adding in "rowToolbarItems", this piece of code

"rowToolbarItems": [
  // Edit
  {
	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"
		}
	},
  },
  // Copy
  {
	  type: 'crt.MenuItem',
	  caption: 'DataGrid.RowToolbar.Copy',
	  icon: 'copy-row-action',
	  disabled: "$Items.PrimaryModelMode | crt.IsEqual : 'create'",
	  clicked: {
		  request: 'crt.CopyRecordRequest',
		  params: {
			  "itemsAttributeName": "Items",
			  "recordId": "$Items.PDS_Id",
		  },
	  },
  }                      
],

Note, when adding these back in, you'll need to make sure that the "items" and "primaryColumnName" values match the values from your list. For Section Lists. The "Items" and "PDS_Id" values need to be updated to match your List's property values - those can likely stay as-is for section lists, but for new lists added, you'll need to update those values. See for more: https://customerfx.com/article/adding-row-action-menu-items-to-a-creati…

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

Hi all,

 

it used to be possible in version 7 of Creatio to sync with MS Exchange.

The mailbox integration now doesn't support this any longer.

 

@community: how are you dealing with this limitation? Do you have workarounds for it?

@Creatio: are there any plans on re-introducing this feature? It is very often a question raised in presales activity!

 

Thanks,

Robert

Like 0

Like

3 comments

Hello, 



Unfortunately, Creatio no longer supports contact synchronization with Exchange and Google. This lets you improve the security and relevance of your customer base.



Regards, 

Orkhan

Orkhan,

Thanks for the response, but I think users have the necessary competency to decide which data is relevant in their CRM system.

Also, how is this enhancing security?

Many other CRM systems provide the feature to sync contacts and leads often request it!

 

BR

Robert Pordes,

 

Greetings,

 

Thank you for your clarifying questions. We removed this feature for several reasons:

  1. This functionality had unresolved logical issues.
  2. This functionality was hardly, note, hardly, used by our users.
  3. Security-wise, an Abstract Sales Representative could synchronize the entire contact database to themselves and depart from the company, thereafter potentially utilizing or passing on the contacts to the company's competitors.

 

Show all comments

Hi all,



Does anyone have experience connecting with Power BI using the market place connector? 



After attempting to transform and using the getBigData function to import more than 20,000 rows, I receive the error below.

 

 

DataFormat.Error: We found extra characters at the end of the JSON input.

Details:

    Value=<

    Position=4

Like 0

Like

1 comments

Hello,

 

Please make sure that the URL of Identity service has the following appearance in the field: https://yoursite-is.creatio.com without a slash at the end.

Show all comments

Hi Community,

We have a simple string field in one of our Creatio instances that is not being updated (tested with a Supervisor user).

Field is NOT being updated in the following scenarios

1- Frontend: When we save the record page.

2- Application Layer : The field is not being update from Bussines Processes.

3- OData4 : We tried to update from Postman with OData4 request, without success

 

Is there any lock mechanism that prevents the field from being updated written in CSharp?

 

The field can only be updated when we perform an Update directly in the database layer.

 

Thank you

Sasor

Like 0

Like

1 comments

Hello!

 

This means that there can be logic at the event layer level that changes the value of this field when saving a record. It can be on action: OnUpdating, OnSaving. Details here:

https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platfor…

 

Or changing a given field leads to another action that changes its value again.

To track exactly where this field changes, you can write additional logging when the record is saving, in various methods, such as OnUpdating and OnSaving, on the EntityEventListener. This logging will help you find exactly where the field value changes.

Show all comments