Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to identify the Dependent Component Object Display NAME with dependency response ?

(0) ShareShare
ReportReport
Posted on by 25

How to get the dependentcomponentobjectid display name ? I'm trying the get the field dependencies were the results showing only dependentcomponentobjectid. I want "Display Name" and "Component Type". Can anyone help me on this ?

For ex.,

I have created field named "new_test" and placed in Account Form. As a result, I'm getting Account Form GUID as dependentcomponentobjectid. But, I want account name.

My Request: 

/api/data/v9.1/RetrieveDependenciesForDelete(ObjectId=@ObjectId,ComponentType=@ComponentType)?@ObjectId=C6DB9957-5C12-E911-A974-000D3A1CA723&@ComponentType=2

My Response:

{
@odata.context:"/api/data/v9.1/$metadata#dependencies",
value:[
{
dependentcomponentparentid:"00000000-0000-0000-0000-000000000000",
requiredcomponenttype:2,
dependentcomponentobjectid:"8448b78f-8f42-454e-8e2a-f8196b0419af",
dependentcomponentbasesolutionid:"20a8e900-c293-4110-844a-c3d354a3cd58",
dependentcomponenttype:60,
requiredcomponentbasesolutionid:"fd140aae-4df4-11dd-bd17-0019b9312238",
dependencyid:"e8aa36f8-055d-4b75-9735-acaeebeb9148",
requiredcomponentparentid:"70816501-edb9-4740-a16c-6a5efbc05d84",
requiredcomponentobjectid:"c6db9957-5c12-e911-a974-000d3a1ca723",
dependencytype:2
}
]
}

*This post is locked for comments

  • PraveenCRM365 Profile Picture
    PraveenCRM365 25 on at
    RE: How to identify the Dependent Component Object Display NAME with dependency response ?

    Thanks Sreevalli!

    Yes, I've verified, we do not have object name in Dependency Table. Is there any other way that I can get Component Display Name ?

    Thanks,

    Praveen

  • Suggested answer
    Sreevalli Profile Picture
    Sreevalli 3,256 on at
    RE: How to identify the Dependent Component Object Display NAME with dependency response ?

    Hi,

    You cannot have account name in dependency result set as there is no property defied for the name.

    See the function details from MS docs,

    docs.microsoft.com/.../dependency

    docs.microsoft.com/.../retrievedependenciesfordelete

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans