Salesforce/PHP - Make field read-only after user has entered value -


In the Salesforce I have an account that I have two fields in that account, after some processes running in the background, with PHP SDK Population happens. PHP SDK updates fields in some situations, when this happens I would like to lock that field to read-only. Can I do this with PHP SDK?

You want your "lock" database (or in this case - at the Salesforce level), but not PHP SDK level because otherwise it will catch the malicious user data loader or Excel connector and bypassing your lock will proceed with your updates;)

Try the salesforce legalization rules or (if your argument is complex) Trigger a "first update".

Example:

  AND (ISPKWAL ​​(PRIORVALUE (type), "technical partner"), Error message to display: type  
  type type, $ profile .name   

After the "Technology partner" is set, only administrators can modify this field.

This is just a starting point, easy to use and fine. You can still disable this rule after migration.

For more goods or see The function should be especially useful for you.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -