web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

How to know standard dependency fields in entity using webAPI

(0) ShareShare
ReportReport
Posted on by

I can get all the fields for incident(case) using the below webapi using https://vonagebusiness.crm.dynamics.com/api/data/v9.1/EntityDefinitions(entityId)/Attributes?\$select=LogicalName,DisplayName,RequiredLevel,IsCustomAttribute,IsValidForCreate&\$filter=(IsValidForCreate%20eq%20true)%20and%20(IsCustomAttribute%20ne%20false).

Here, I need to know which are standard dependency fields and parents fields.
How can i get these details from web API


For example, In incident (case), Customer field is parent field of contact field. - Where is this relationship maintained and how can I retrieve this using webapi.

  • Suggested answer
    Johao Larios Profile Picture
    1,795 on at

    Hello there,

    For this, you can use the function named "retrieveDependentComponents" :docs.microsoft.com/.../retrievedependentcomponents

    This will tell you the dependencies for a field.

    List of component types: docs.microsoft.com/.../solutioncomponent

    Regards,

    If this answers your question please mark it as an answer.

  • Community Member Profile Picture
    on at

    Hi,

    I checked above but no luck. I need to know which fields are dependent in entities. For example, In incident contact field is dependent on Customer field while select account. How can i identify contact field is dependent for customer field

  • Suggested answer
    Johao Larios Profile Picture
    1,795 on at

    For this you can go to relationships of the entity, look for the relationship. Then, select mappings. It will tell you what are the dependent fields that you are looking of.

    Regards,

    If this answers your question please mark it as an answer.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
11manish Profile Picture

11manish 50 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 45

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans