You need to sign in to do that
Don't have an account?
metadata ProfileFieldLevelSecurity
How can I set the field level security for all custom fields in each of the profiles through the metadata in the profile files in Force IDE. Everything I try generates compile errors.
Am I in the right xml file?
Example:
Am I in the right xml file?
Example:
<?xml version="1.0" encoding="UTF-8"?> <Profile xmlns="http://soap.sforce.com/2006/04/metadata"> <custom>true</custom> <userLicense>Salesforce</userLicense> <userPermissions> <enabled>true</enabled> <name>ApiEnabled</name> </userPermissions> <userPermissions> <enabled>true</enabled> <name>AssignTopics</name> </userPermissions> <userPermissions> <enabled>true</enabled> <name>ChatterEditOwnPost</name> </userPermissions>
May I suggest you to please check with below post from stack exchange community which might help you to accelerate further.
- http://salesforce.stackexchange.com/questions/34521/set-field-level-security-for-profile-using-meta-data-api
Please let us know if this helps.Regards,
Nagendra.