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 / Plan Layout with Butto...
Power Apps
Answered

Plan Layout with Buttons for links to a record

(0) ShareShare
ReportReport
Posted on by 3

Hi All,

I have created a screed with picture of my building as background. I have created a button on each room. When selecting the Button I have created a variable. On second Screen I have a galary with searcher, calling the variable. I can then edit the record in the galary from there.

 

This all works well but I would need to hardcode each button with the appropriate variable information individually.

 

Is there a way I can connect/link the button to my records avoid the hardcoding?

 

Hope this makes sence am a complete novice to powerapps.

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @Emwee ,

     

    You can use a collection that stores all information you want. 

    ClearCollect(
     ColMyRooms,
     {
     Name: "Bedroom",
     ID: 1,
     Link: "https://mybedroom.com"
     },
     {
     Name: "Kitchen",
     ID: 2,
     Link: "https://mykitchen.com"
     },
     {
     Name: "Living Room",
     ID: 1,
     Link: "https://myhallroom.com"
     }
    )

     

    Now you can use buttons and simply add the formula

    Launch(Lookup(ColMyRooms, ID = 2, ThisRecord.Link))

     

    Hope this helps

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard