You need to sign in to do that
Don't have an account?
PS81
MetadataService.cls - how to access and use ?
Hi
How to access MetadataService.cls and use it? I want to modify the picklist values and reading couple of post I could understand that using MetadataService.cls i can achieve it but i dont know where to get this MetadataService.cls and how to access it ....an tips please?
How to access MetadataService.cls and use it? I want to modify the picklist values and reading couple of post I could understand that using MetadataService.cls i can achieve it but i dont know where to get this MetadataService.cls and how to access it ....an tips please?
All Answers
To change picklist values you need to consume metadata API. Refer below link for more details.
https://github.com/financialforcedev/apex-mdapi (https://github.com/financialforcedev/apex-mdapi" target="_blank)
If that helps mark this as best answer. cheers..!
1. How to install the Metadata API
2. How to use the metadataAPI
In the examples given, the class is referred to as "MetadataService" but where to get this class from? and how to use for our need?
Now, i'm running into error:
"Initial expression is of incorrect type, expected: MetadataAPIService.Metadata"
My code is:
any inputs on how to fix this error please?
Web service callout failed: WebService returned a SOAP Fault: INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session faultcode=sf:INVALID_SESSION_ID
any inputs on this please?