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 / Trying to jump directl...
Power Apps
Answered

Trying to jump directly to Form using Screen OnStart

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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:
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee 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

    Test1.gif

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 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard