Skip to main content
1 vote
Accepted

Updating ProfileRecordTypeVisibility using updateMetadata API

Yes, updateMetadata would work here. Salesforce only updates explicitly mentioned elements, so if your Profile object only had the single record type visibility, only that permission would be changed. ...
sfdcfox's user avatar
  • 495k
1 vote

Getting profile permissions using readMetadata() API call

The Metadata API only retrieves permissions for related metadata in the API call. For example, to get the various object, field, and record type permissions, you would include CustomObject: <?xml ...
sfdcfox's user avatar
  • 495k
1 vote
Accepted

How can I test Sandbox related functionality without using Production itself as my test environment?

Signup for a free enterprise edition. This org is available for 30 days. So you can create many sandboxes here and test your modules. Basically this free trial org acts as a production environment. ...
Ysr Shk's user avatar
  • 3,157

Only top scored, non community-wiki answers of a minimum length are eligible