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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer Service forum

Embedded canvas app how to get the selected lookup field value guid?

(0) ShareShare
ReportReport
Posted on by 702

The canvas app is embedded on a Case Entity form.

There is a 1:N lookup field called Port, the the parent entity of this relationship is Port.

With the preview version of embedded canvas app I can get the GUID of a the selected value of a 1:N lookup field I could use

First([@ModelDrivenFormIntegration].Data).tmit_portName

Since it has gone GA, it is said on the documentation that we should use the ModelDrivenFormIntegration.Item to access all data from the parent entity of the embedded canvas app.

So I use

[@ModelDrivenFormIntegration].Item.Port.Port

so Port is the unique identifier on the Port entity.

Sadly [@ModelDrivenFormIntegration].Item.Port.Port

or Text([@ModelDrivenFormIntegration].Item.Port.Port) always returns blank

Eventhough there is no error, and both Port appears in the powerapps intellisense

Any ideas?

Categories:
  • LuHao Profile Picture
    40,892 on at

    Hi partner,

    Please refer to this post:

    [View:https://powerusers.microsoft.com/t5/Common-Data-Service-for-Apps/Embedded-canvas-app-ModelDrivenFormIntegration-Item-Lookupfield/m-p/333951:320:50]

  • PavanKumarGarlapati Profile Picture
    100 on at

    Hi,

     

    You need to be specific about which value you want to retrieve if the lookup is polymorphic.

     

    Following link explain in detail about the same.

     

    https://pavankumargarlapati.wordpress.com/2019/08/06/embedded-canvas-app-how-to-get-the-selected-pol...

     

    Note: In case my answer helped you. Kindly mark it as verified.

    Warm Regards,

    Pavan Kumar Garlapati

    Follow my Blog: https://pavankumargarlapati.wordpress.com

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans