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

Announcements

News and Announcements icon
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

I have the same question (0)
  • Suggested answer
    Sreevalli Profile Picture
    3,264 on at

    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

  • PraveenCRM365 Profile Picture
    25 on at

    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

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans