I have an entity type code and I need to get values of picklist field from that entity using javascript, how do I do that?
I have an entity type code and I need to get values of picklist field from that entity using javascript, how do I do that?
thanks my situation is that I don't use the data that is on my entity, I need to get data from a field of an other entity
Hi Sahara,
+ you can retrieve values of picklist field from a given Entity, querying by Entity Logical Name, using query below
YOURORG.crm4.dynamics.com/.../Microsoft.Dynamics.CRM.PicklistAttributeMetadata
+ If you really need to use ObjectTypeCode, you can retrieve LogicalName by OBjectTypeCode, before run query above:
YOURORG.crm4.dynamics.com/.../EntityDefinitions eq 1
+ More details:
Hi Sahara,
I have created one blog to get all values and labels of pick-list using JS, Please refer below url for your reference, this may help you:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156