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 :
Dynamics 365 Community / Forums / Human Resources forum / How to pass current re...
Human Resources forum

How to pass current record from Talent to an embedded canvas powerapp

(0) ShareShare
ReportReport
Posted on by 1,424

Hi there!

I have developed a canvas app based on a custom entity in CDS environment which is connected with Dynamics 365 for Talent. I have embedded the canvas app to the Position master form in Dynamics 365 for Talent. The app currently shows a list of records for position details. I need to filter the list in the app so that it shows only related record based on the position record selected in Talent.

Is there a way to pass Talent current record details to the embedded canvas app and then receive that record inside the app to apply filter on the datasource? Please advise. Thanks!

Untitled3.png

Untitled2.png

Categories:
  • M Anas Khan Profile Picture
    1,424 on at

    Just figured it out. While embedding the app in Talent, you'll have an option to pass any field value. Once that is done, you need to use the following script on the onStart event of the application node. The "EntityId" standard parameter stores the value passed in from the parent application which is Talent in this case. The same trick applies to Dynamics 365 for Finance and Operations.

    If(!IsBlank(Param("EntityId")), Set(PositionId, Param("EntityId")), Set(PositionId, ""));

  • Suggested answer
    Jill Carter Profile Picture
    1,846 on at

    Thanks for following up with your solution!

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 > Human Resources

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans