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 :
Power Platform Community / Forums / Power Apps / Not able to access the...
Power Apps
Answered

Not able to access the relation using the ModelDrivenFormIntegration for the Lookup type

(0) ShareShare
ReportReport
Posted on by 9

Any help would be appreciated here.

Trying to get the Field value of the Lookup type Entity (Account) through the ModelDrivenFormIntegration (Opportunity) in a Canvas App.

LookUp(
Accounts,
Account = [@ModelDrivenFormIntegration].Item.Account.Account,
AccountName
)

When trying this, able to access "AccountName" in the editor of Canvas App.

However, when i Saved and Published it, not able to get the same value in the Unified Interface of DY.

Categories:
I have the same question (0)
  • Verified answer
    DT-29040811-0 Profile Picture
    9 on at

    Got the solution.

    Issue was ModelDrivenFormIntegration control does not provide a value for fields of a related entity.
    But, don't know why it was showing the value in Canvas Editor.

    However, if someone got stuck in same situation, then, he needs to follow little bit different approach:

    LookUp(
    Opportunities,
    Opportunity= [@ModelDrivenFormIntegration].Item.Opportunity
    ).Accounts.Name

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @rahulshukla ,
    We tried the same approach with 'Work Order' table and we want to get the Display Name of 'Customer Assets' which is present in relational table of 'Work Order'.

     

    Below is the formula that we are applying

     

    LookUp(
     'Customer Assets',
     'Customer Asset'=[@ModelDrivenFormIntegration].Item.'Primary Incident Customer Asset'.'Customer Asset'
    ).Name

     

    "[@ModelDrivenFormIntegration].Item" refers to Work order table.

     

    We are able to see the Customer Asset's name in Canvas app but it is not reflecting in D365 Field Service.

    Can you please help us if we are missing any step here?

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!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard