Andy in the Cloud

From BBC Basic to and beyond…

229 thoughts on “Introduction to calling the Metadata API from Apex

  1. How to write test class for this.

  2. Pingback: Update picklist value and add it in record type using apex – SFDCians

  3. Hello Andrew,

    Basically, I wanted to copy all profile settings from one profile to another profile.
    Is this possible using Metadata API? If not then can you inform me which profile settings can be accessed?

    I have tried updating Profile tabVisibility using metadata API, it works as expected. (Sometimes I get Read timed out error.)

    When I am trying to update fullName and userLicense of the profile, I got “System.CalloutException: IO Exception: Read timed out”. Not able to do this update.
    Do you have any idea about this?
    I have raised the issue regarding this in git as well –

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s