RetrieveEntityMetadata, how do you us it?

Aug 7, 2015 at 11:14 AM
I just started using this library, for my own learning purposes I am trying to get a list of entities and their corresponding attributes but I am not sure how to use the method: RetrieveEntityMetadata

What I want to do is get a list of entities, populate an optionSet, then display the corresponding attributes in another optionset. Does anyone know how to proceed with this?

Any help would be appreciated.
Aug 13, 2015 at 4:09 PM
Hi There.

"RetrieveEntityMetadata" is a method to interact with CRM metadata. It is not used to create/update fields and their definitions like OptionSet.

If what you mean is to retrieve the selected value of a OptionSet field of a record, then populate the value to another OptionSet (assuming same OptionSet setups for options and values), you can use "Retrieve" and "Update" method.

Always good to rely on SDK to understand the possibilities in the CRM framework

Kind Regards,