Notifications
Announcements
No record found.
I apologize for asking about debugging but, I can't figure out or find documentation for the symbols in the result. How do I read/use the link-entity attributes? This works fine down to the red line. Then I'm lost: I've tried dereferencing sub, product, substituteproduct. A little help please.
Hi ,
you can try this syntax
((AliasedValue)entity.Attributes[“msdyn_itemnumber”]).Value
Regards,
Vilas
I'm in javascript not .NET
I have a theory why none of these things work and there are no examples. Microsoft never implemented them into Xrm.Webapi. No link-entity/aliased values delivered.
Hi,
Can you please try below code to get linked entity attribute value
var response=result.entities[0];
var companyid=response.sub.msdyn_companyid;
same code for itemnumber.
Please mark my answer verified if this is helpful!
Bipin Kumar
Follow my Blog: xrmdynamicscrm.wordpress.com/
HI, You need to use below syntax:result.entities[index]['aliasname.fieldlogicalname']Example.
Thanks.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 70 Super User 2025 Season 2
Gerardo Rentería Ga... 33 Most Valuable Professional
Daniyal Khaleel 32 Most Valuable Professional