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 / link between two forms...
Power Apps
Answered

link between two forms at same SP list

(0) ShareShare
ReportReport
Posted on by 8

Hi there , actually i'm having a sharepoint list with several columns

i created my first app with specific fields (not all fields of my list ) then submitted it

in my second app i retrived the previous submitted data with the id 

then created seconed form with the rest of the data 

so i want to fill the data and update this record with my new data 

 

how to do this 

 

and another problem that when i start inserting in second form the data viewed in first form is disappeared .

Inked4.jpg
Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @dina-yasser ,

     

    In canvas, form have three modes: ‘New’, ‘Edit’, ‘View’.If you want to modify a record instead of creating a new one, I suggest using Edit mode.

     

    Create a list with title and three text columns.

    vxiaochenmsft_0-1667446838908.png

     

     

    The form in the first app fills in the title and A_Info to create a new record, so here the form mode is New.

    vxiaochenmsft_1-1667446838916.png

     

     

    Fill in the data and submit.

    vxiaochenmsft_2-1667446838917.png

     

    vxiaochenmsft_3-1667446838918.png

     

     

    The form in the second app is used to update data, so the mode need to be edit

    vxiaochenmsft_4-1667446838925.png

     

     

    Edit mode to select records, so need to use LookUp() to filter the ID of the record you want to update

    vxiaochenmsft_5-1667446838928.png

     

     

    The data is entered and submitted, and the record is modified in the data source.

    vxiaochenmsft_6-1667446838929.png

     

     

    vxiaochenmsft_7-1667446838930.png

     

     

    On another question, I suggest you check the properties of the submit button to see if the first form is reset on submission. The specific reason may require you to provide more information.

     

    Best Regards,

    Wearsky

  • amirmohamed Profile Picture
    16 on at

    Hi @v-xiaochen-msft 

    Thanks for you answer

     

    If I need to read to a field instead of LookUp('talb sarf step 1',ID=1) , a static "1"

    I tried the below

    LookUp('talb sarf step 1',ID= Title_DataCard2)

  • dina-yasser Profile Picture
    8 on at

    Thanks for your response.

     

    But how if i need to do that when my 2nd field (Title) = my 1st field

    when this condition is true i want to edit this record not by adding a static ID value22.PNG

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @dina-yasser ,

     

    Hope you are doing well.

    If you have two apps and want the second app to modify the data entered by the first app, you can use Launch() and Param().

     

    I made a model for you:

     

    Add a form to the first app and mode is 'new'.

    vxiaochenmsft_0-1667807115620.png

     

     

    The submit button is set to the following formula.

    SubmitForm(Form1);Launch("YOUR-APP-WEBLINK &source=portal",{PaA:Form1.LastSubmit.Title},LaunchTarget.New)

    vxiaochenmsft_1-1667807115626.png

     

     

    Launch() is the web link to the second app, which can be viewed in Apps-Details

    vxiaochenmsft_2-1667807115630.png

     

    vxiaochenmsft_3-1667807115635.png

     

     

    When using it, you need to add '&source=portal' at the end of the link.

    The outgoing parameter 'PaA' here is the title of the last data stored in the form.

    vxiaochenmsft_4-1667807115637.png

     

     

    In the second app, add a form with mode is 'edit', and the Item is set to the following formula:

    vxiaochenmsft_5-1667807115642.png

     

     

    Enter the data in the first app, click submit, and will be redirected to the second app.

    vxiaochenmsft_6-1667807115644.png

     

     

    The second app displays the rows of data entered in the first app.

    vxiaochenmsft_7-1667807115646.png

    Best Regards,

    Wearsky

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard