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 / Help selecting record ...
Power Apps
Answered

Help selecting record on SharePoint Integration Form

(0) ShareShare
ReportReport
Posted on by 367

Hi all -

 

I have two SharePoint list below. I want to navigate from CompoundingRecord List to the Components list and default selected item to selected item, in this case Drug A but I am struggling to see how to pull ID =DrugID and Title from CompoundingRecord.

Bunly11_0-1629432643525.png

 

Below is is the SharePointIntegration form but I am not sure where to put varRecord since there is the long IF statement.

Bunly11_1-1629433016413.png

 

Thank you - I appreciate any help to point me in the right direction 

 

 

Categories:
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Bunly11 ,

     

    Could you please share more details about your scenario? Would you like to create new item in the componentsMF list after navigating to this ComponentsScreen, and auto-populate the DrugID and Title field in the Form?

     

    If so, please try below steps:

    1\ OnSelect of right arrow:

    If(IsBlank(LookUp(ComponentsMF, DrugID = SharePointIntegration.Selected.ID)),NewForm(Form1),EditForm(Form1));
    Navigate(ComponentsScreen, ScreenTransition.Fade, {varDurgID: SharePointIntegration.Selected.ID,varDurgTitle: SharePointIntegration.Selected.Title})

     

    2\ Item of Form1 set to:

    LookUp(ComponentsMF, DrugID = varDrugID)

     

    3\ Default of Title_DataCardValue in the Form1:

    varDrugTitle

     

    4\ Default of ID_DataCardValue in the Form1:

    varDrugID

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard