How to make fields read-only in mobile application

Hello,

I have a use case where I need to make every field in every section of a mobile application read-only for every user in freedom UI. How can we accomplish it? Can someone help?

 

Thanks in advance!

 

Regards,

Yasaswini

Like 0

Like

4 comments
Best reply

First of all, you need to add a module to add the customizations to. You can see how to do that here: https://customerfx.com/article/creating-modules-for-the-creatio-mobile-…

Then, you can add the following to the module, in this example I've made a module for the account edit page and this will make the Type field read only.

Terrasoft.sdk.RecordPage.configureColumn("Account", "primaryColumnSet", "Type", {
    readOnly: true
});

Ryan

First of all, you need to add a module to add the customizations to. You can see how to do that here: https://customerfx.com/article/creating-modules-for-the-creatio-mobile-…

Then, you can add the following to the module, in this example I've made a module for the account edit page and this will make the Type field read only.

Terrasoft.sdk.RecordPage.configureColumn("Account", "primaryColumnSet", "Type", {
    readOnly: true
});

Ryan

Thank you Ryan Farley,

Also, have another doubt. Can we disable the addition of new records for sections and details in the mobile application? If so how can we achieve it?

Ryan Farley,

I have tried the implementation but it's still editable in the mobile application. I followed the steps in the Manifest module in the Models section under the PageExtensions I have added the module I have created as shown in the screenshots below

 

Thank you,

Often after adding code in modules for the mobile client you have to open and save the mobile wizard before the clients will get the change (it sets something to notify the mobile clients that there are changes to retrieve)

Show all comments