Salesforce

How Do I Prevent the End User from Modifying the Data in Specific Fields? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Prevent the End User from Modifying the Data in Specific Fields? (Magic xpa 3.x)

By default, any data field you put on a form is editable by the user, if the task is in Modify mode. You can, however, prevent the user from changing the data in any field on a field-by-field basis.

Making a field non-modifiable

  1. Position the cursor on the field you want to change, or, select multiple fields to change them all at once (using Ctrl+Click).

  2. Press Alt+Enter to go to Control Properties (or just click on the properties pane, if it is open).

  3. Go to the Modifiable field and select False if you want the field to never be modified.

    Alternatively, you can expand the property and zoom from the Expression line. Then, enter an expression that will evaluate to True when the user should be able to modify this field. In this case, we used the Rights function so that the user can only modify the field if the user has the “Admin” right.

Now, the user can park on the field, but not modify it unless the expression evaluates to True.

See also

Reference
Attachment 
Attachment