Skip to main content
Community site session details

Community site session details

Session Id : L+7YKI1wq7hLPk4sfRLpzr
Power Apps - Building Power Apps
Answered

Link another form item from another list via button

Like (0) ShareShare
ReportReport
Posted on 9 Feb 2021 02:16:41 by

I have two PowerApps forms tied to two different lists. Both lists are used as a data source in both forms. I need a button on Form 1 that links to Form 2. There is a number field in Form 1 in which subtracting 1000 from equals the ID that is used in the URL to Form 2.  

 

My best idea is to set two variables that are

X = ID - 1000

and then 

Y = "Url" + "X"

and then

Launch("Y")

 

Does that make any sense? I'm not entirely sure how to format/complete the variable setting.

 

Categories:
  • Community Power Platform Member Profile Picture
    on 10 Feb 2021 at 19:17:08
    Re: Link another form item from another list via button

    @RandyHayes that worked like a charm, thanks so much!

  • Verified answer
    RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on 10 Feb 2021 at 00:32:19
    Re: Link another form item from another list via button

    @Anonymous 

    So, if these are in two different apps as I see in previous posts, then you will need to get the URL of the other App as your base url, then you can just append to that URL the ID that you want to pass.  There really is no need for any variables for this.

    You simply need to Launch(yourAppURL & "&ID=" & Text(ID-1000))

    Then in your target app, you can use the Param function to get the ID passed.

  • Community Power Platform Member Profile Picture
    on 10 Feb 2021 at 00:03:46
    Re: Link another form item from another list via button

    @RandyHayes 

     

    If my strategy was correct (create/set 2 variables and then plug second variable into Launch function) then I'm unsure how to do that. Is there a way to do this all in a button (the last step of which would be Launch function)

  • RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on 09 Feb 2021 at 23:39:33
    Re: Link another form item from another list via button

    @Anonymous 

    So what kind of formulas do you have at this point that you're having problems with?

  • Community Power Platform Member Profile Picture
    on 09 Feb 2021 at 18:47:54
    Re: Link another form item from another list via button

    @RandyHayes any ideas here? You helped with an issue awhile ago that worked perfectly! Sorry if tagging isn't appropriate!

  • Community Power Platform Member Profile Picture
    on 09 Feb 2021 at 15:22:12
    Re: Link another form item from another list via button

    Hey @Nate-PTTP 

     

    Unfortunately your first assumption was correct in that they are housed in two separate apps. Any ideas for a workaround?

  • NH-05081754-0 Profile Picture
    on 09 Feb 2021 at 04:15:21
    Re: Link another form item from another list via button

    If you are talking about URLs and the launch function, is it safe to say that these 2 forms are housed in separate apps? If not,  and the 2 fields are in the same app,  try this:

     

    Make sure the form includes the ID field as a data card (even if you just keep it hidden for this purpose)

     

    Button --> OnSelect= Set(otherFormVar, Value(DataCardValueN) + 1000) ; Navigate(ScreenWithOtherForm, screenTransition.Fade) 

     

    Then on the screen with the other form, make sure the form mode is set to Edit,  and make the Item property:

     

    Lookup(dataSource, ID = OtherFormVar, ThisRecord)

     

    Hope I understood your question properly! If not,  I apologize. Best of luck to you! 

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2