Announcements
Hi, I am looking to search one entity in D365 through business number, and display account or contact field text and managing entity text on gallery, however, it is difficult to display since the two fields are lookup fields, please advise.
Hi @sdnd2000 ,
Are you trying to get the output in Model-Driven App or Canvas App.
Let's say it is Model Driven App,
formContext.getAttribute("<attributeName>").getValue()[0].name;​
Let's say its Canvas App,
Hope this is understandable
@Ethan_R
It is canvas app, I got the below error with the formula, the same error with managing entity.
Yes @sdnd2000 ,
ThisItem.'Account or Contact' is your Lookup Field
Now use '.' operator and access all the fields within 'Account or Contact' Table.
ThisItem.'Account or Contact'.Name or ThisItem.'Account or Contact'.Status
and so-on...
Hope this helps
Sorry, 'Account or Contact' is a customer field in D365, while 'managing entity' is a lookup, and there is no other field after "."
Any ideas?
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 387
timl 340 Super User 2026 Season 1
Vish WR 301