
A built-in feature of Creatio is that all users can customize list/grid column layouts for the columns that are most useful to them. This can be done by clicking the three dot (ellipsis) button above the detail list and selecting “Setup columns” from the menu:
A system administrator can customize the layout for all users by choosing to save a layout for all users:
However, there are many valid times where you do not want users to be able to change a list layout and only want them to use the default layout defined for all users. Luckily, this is an easy task to do. We’ll need to open the detail schema, this is usually named by the detail wizard something like “UsrSchema2Detail” but the title of it will reflect the detail you’re looking for. Once opened, you’ll simply add the following to the methods:
getGridSettingsMenuItem: Terrasoft.emptyFn
The whole file, unless you’ve made other changes, will look something like this:
define("UsrSchema1Detail", [], function() { return { entitySchemaName: "UsrMyObject", details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/, diff: /**SCHEMA_DIFF*/[]/**SCHEMA_DIFF*/, methods: { getGridSettingsMenuItem: Terrasoft.emptyFn } }; });
With the one line of code added above, the “Columns setup” option will no longer appear on the menu and the user will not be able to change the layout. The approach here is the same for removing the add, edit, copy functions for the detail as well.
Subscribe To Our Newsletter
Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!
You have Successfully Subscribed!