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 :
Dynamics 365 Community / Forums / Human Resources forum / Attract | PowerApps | ...
Human Resources forum

Attract | PowerApps | Integration

(1) ShareShare
ReportReport
Posted on by 145

Hi,

I have a requirement to embed the interview questionnaire [PowerApp] to Attract Job Template, here I need to pass a parameter from Job | Applicant to PowerApp so that it knows which item it is editing. 

I tried this OnStart of PowerApp

If(!IsBlank(Param("msdyn_JobopeningId")), Set(JobOpeningId, Param("msdyn_JobopeningId")), Set(JobOpeningId, "")), but it's always passing null.

Can anyone please help? 

Best

Srinaath

I have the same question (0)
  • Kinggotenks Profile Picture
    on at

    Is there any information, that powerapps can get the information from attract? I need this feature as well. Since I cannot add any buttons to attract I need to add the buttons via powerapps. 

  • Verified answer
    thnguyen Profile Picture
    Microsoft Employee on at

    Attract passes the following parameters to an embedded PowerApp: jobId, activityId, jobApplicationId

  • Kinggotenks Profile Picture
    on at

    Thank you so much. Even the PowerApps support could not help me with this one.

  • Srinaath Profile Picture
    145 on at

    Thank you very much, Thai Nguyen, you are a Genius.

    I tested and confirm that these are the values passed to embedded PowerApp from Attract

    Job Opening Number : Param("jobId")

    Job Application Number : Param("jobApplicationId")

    Job Application Activity Number : Param("activityId")

    Best

    Srinaath

  • Srinaath Profile Picture
    145 on at

    Hello Thai Nguyen,

    Is there any way to retrieve the Candidate ID on embedded PowerApp? Please confirm.

    Best

    Srinaath

  • thnguyen Profile Picture
    Microsoft Employee on at

    You could grab the candidate record using the job application ID. For example:

    OnStart:

    Set(jobapplicationid, Param("jobApplicationId")

    Label, Text:

    First(Filter('Job applications', msdyn_autonumber = jobapplicationid)).Candidate.Candidate

    I was able to retrieve the candidate ID and place it into a label using this method. I would also explore grabbing the entire job application record and/or candidate record and placing it into a collection to make it easier to work with. Hope that helps.

  • Srinaath Profile Picture
    145 on at

    Brill Thai Nguyen,

    I tried grabbing the whole job application and successful :)

    OnStart

    Set(jobApplication, LookUp('Job applications', msdyn_autonumber = Param("jobApplicationId")))

    using this jobApplication global variable, we can retrieve all the info

    Candidate Id = jobApplication.msdyn_CandidateId.msdyn_candidateid

    Candidate Firstname = jobApplication.msdyn_CandidateId.msdyn_givenname

    Candidate Lastname = jobApplication.msdyn_CandidateId.msdyn_surname

    Thank You

    Srinaath

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