You need to sign in to do that
Don't have an account?
SMaster
How to make the complete record read only??
Hi All,
I have a custom object, I need to make the record as read only based on the value of a particular custom picklist field..for a particular profile...
For Ex:
I have an Object says: Custom_Object__c
Custom Field is: Picklist__c
as i save the record with the Picklist__c='Changed' for a particular profile.. my complete record should become read only.. is that can be achieved...?
Thanks
Check out the following thread. This should provide what you need:
http://forums.sforce.com/t5/Apex-Code-Development/How-to-make-a-record-read-only-through-coding-not-through/m-p/187685
A more useful option is to create two recordtypes and assign different page layouts to the two recordtypes.
1. One is read/write
2. One is read-only on all or specific fields
And a workflow to when status picklist is changed to the specific status, set record type to "readonly"
And all other statuses would change it to the read/write record type.
Hi,
Could you please elaborate more in this... this seems more interesting.. please let me know how can i implement this....
You have to create records of the share object that will contain information about the level of access that the specified user or group has been granted for a share sObject, the user or group IDs to which you are granting access and the id of the object record.
Hope this helps you.