Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Human Resources forum / Attract | PowerApps | ...
Human Resources forum

Attract | PowerApps | Integration

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

  • Srinaath Profile Picture
    Srinaath 145 on at
    RE: Attract | PowerApps | Integration

    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

  • thnguyen Profile Picture
    thnguyen on at
    RE: Attract | PowerApps | Integration

    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
    Srinaath 145 on at
    RE: Attract | PowerApps | Integration

    Hello Thai Nguyen,

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

    Best

    Srinaath

  • Srinaath Profile Picture
    Srinaath 145 on at
    RE: Attract | PowerApps | Integration

    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

  • Kinggotenks Profile Picture
    Kinggotenks on at
    RE: Attract | PowerApps | Integration

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

  • Verified answer
    thnguyen Profile Picture
    thnguyen on at
    RE: Attract | PowerApps | Integration

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

  • Kinggotenks Profile Picture
    Kinggotenks on at
    RE: Attract | PowerApps | Integration

    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. 

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans