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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Trying to jump directl...
Power Apps
Answered

Trying to jump directly to Form using Screen OnStart

(0) ShareShare
ReportReport
Posted on by

if Param "recordID" I want to jump to the form screen and edit that record (recordID) of Sharepoint list ConcreteRequest. I have a button (for testing) on the Main screen with gallery of records. The Button is "Set(varRecordID,19); Navigate(ConcreteFormScreen,ScreenTransition.None)" in the form Item is LookUp(ConcreteRequest, ID=varRecordID). It shows the record values but if I submit form then I get errors. So, how do I pass a record from the sharepoint list ConcreteRequest to the form?

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @Anonymous,

    Could you please share more details about the error message within your app?

    I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:8.JPG

     

    9.JPG

    Within the first screen, set the OnSelect property of the "Navigate" button to following:

    Set(varRecordID, 6);Navigate(Screen2,ScreenTransition.Fade)

    Within the second screen, set the Item property of the Edit form to following:

    LookUp('20181217_case14',ID = varRecordID) /*<- '20181217_case14' represents my SP list data source */

    Set the DataSource property of the Edit form to following:

    '20181217_case14'

    Please check the attached GIF screenshot for more details:

     

    In addition, you could also consider take a try to submit your form data using Patch function instead of SubmitForm function. Please set the OnSelect property of the "Submit" button to following:

    Patch(
     'YourSPList',
     LookUp('YourSPList', ID = varRecordID),
     {
     Title: DataCardValue1.Text,
     Column2: DataCardValue2.Text,
     ...
     }
    )

    Note: The Title, Column2, etc represents the columns in your SP list.

    More details about the Patch function, please check the following article:

    Patch function

     

    Best regards,

    Kris

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 740 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 342 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard