Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Expanding Picklist Values from 365 Dynamics Metadata API

Posted on by 10

finding these PickList values without a specific instance of an account. I was wondering is it possible to find out all of the shipping methods from the attributes of contacts API from just looking at the Account Attributes API call? Take for example the "Lookup" Type.

Problem - We need to find all of the "Lookup" type fields for "customerid" in an "incident" entity.

Solution following the proceeding steps

  1. When looking up all the attributes of an "incident" you will come across "customerid" attribute, which is defined as a "LookUp" Value
  2. From looking at the "Targets" section and see that "contact" and "account" are the entities that customer ID points to

    6562.Photo1.png

  3. Then we look up the contact definition and see that the "EntitySetName" is "contacts" which gives us the Entity Set we need to look up to get all the possible instances of contacts.

    1464.Photo2.png


  4. Finally, we look up the contacts API and see all the contacts.
  5. Pulling this all together, we can associate all the contacts from step 4 with the customer ID from step 1

New Problem - We need to find all of the "Picklist" type fields for "shippingmethodcode" in an "account" entity.

Does this hold of other PickList type attributes on other entities?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans