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 / Autogenerate a link ba...
Power Apps
Unanswered

Autogenerate a link based on ID on SharePoint List

(0) ShareShare
ReportReport
Posted on by 6

I want to create a column on a SharePoint list that has a hyper link that links to another SharePoint list based on the ID. One list is a master list containing all submissions and their details, the other list simply contains SOME aspects of those details but would like them to be linked to the master list. 

 

I want PowerApps to auto-generate a link for me when a submission is made. The link will be a link to another SharePoint list item. My thoughts were to retrieve the submission ID to reference the other list item's details. For example, the below ID is 43. How can I auto-generate the long link? 

 

I have -->    Text - "Last ID: 43" 

 

"/Lists/Document%20Update%20Requests/DispForm.aspx?ID=43&e=RYFF4z" automatically. 

Categories:
I have the same question (0)
  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    If you are using a form and you want to use the Id to generate a link, then you can use OnSuccess property of the form - Set(varID, Form1.LastSubmit.ID)

  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    If you already have the ID somewhere, either in a variable or a field somewhere like a gallery / dropdown. You generate it in a string like so 

    "/Lists/Document%20Update%20Requests/DispForm.aspx?ID=" + varID + "&e=RYFF4z"  or 

    "/Lists/Document%20Update%20Requests/DispForm.aspx?ID=" + dropdown.selected.refID+ "&e=RYFF4z"

     

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 739 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 268

Last 30 days Overall leaderboard