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 / Link to Item - Opening...
Power Apps
Unanswered

Link to Item - Opening in Power Apps instead of SharePoint

(0) ShareShare
ReportReport
Posted on by

Hello, 

 

I am trying to figure out how to open a SharePoint link in Power Apps. Here's some context to my scenario: 

 

Background:

Type: Standalone Power App

Data source: SharePoint List

 

What I was able to figure out so far:

1) Insert > Icons > Share

2) Configure the OnSelect property of "ShareIcon1" to:

Set(varCopyLink,ThisItem.'Link to item')

3) Insert > Input > Text input

4) Configure the Default property of "TextInput1" to: 

varCopyLink

5) Now when I copy and paste the link generated in "TextInput1" on a web browser, it displays the item in SharePoint.

 

Problem:

Is there a way to have this link open the item in Power Apps?

 

Thank you in advance. 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    Hi @Anonymous ,

    You should just need as long as the trigger object is inside the gallery or form.

    Launch(ThisItem.'Link to item')

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

     

  • Community Power Platform Member Profile Picture
    on at

    Hey @WarrenBelz, thanks for the prompt reply. I just tried changing the OnSelect property of my button to:

    Launch(ThisItem.'Link to item')

     

    But, it still launches the item via SharePoint 

  • WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    Hi @Anonymous ,

    What exactly do you mean by "open the item in Power Apps"? Any SharePoint document will open in a browser based on the SharePoint link.

  • Community Power Platform Member Profile Picture
    on at

    Hey @WarrenBelz, essentially I am trying to implement a button within Power Apps that will copy the URL of the selected SharePoint item/ID. When I paste the copied link into my web browser, it will load my Power App and navigate me to the Form Screen with all the fields pre-populated from my SharePoint data source (as opposed to loading the item in a SharePoint modern list experience). 

  • WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    Hi @Anonymous ,

    I am a little lost - you are already in Power Apps, but you want a button to copy the URL and then open power apps again at the item?

  • Community Power Platform Member Profile Picture
    on at

    Hey @WarrenBelz, sorry for the confusion. The purpose of this feature is to allow end users of the app to share the link to that item they are currently viewing with other users either over email or an instant messaging platform. 

     

    So for example in the case of sharing a YouTube video with a friend, you could share in a couple ways with varying levels of user experience:

    1) Tell them to lookup the YouTube video themselves

    2) Link them to the YouTube video and starts playing from the beginning

    3) Link them to the YouTube video with a specified time parameter so the video would start playing at the exact moment you wish to share with your friend

     

    Essentially I am trying to add #3 to my Power App. 

  • Community Power Platform Member Profile Picture
    on at

    Update: I just stumbled across one of Shane's YouTube videos which essentially demos the thing I am trying to achieve. However, I tried following his YouTube video but was not able to get the link to pull up that item's details. The URL displays properly, but the link navigates me to what looks like a new form (all the fields are blank)

     

    PowerApps Deep Linking - Send a direct link to a specific record/screen in your app with parameters - YouTube

  • WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    @Anonymous ,

    Yes - you are in the right place as Deep Linking is what you need (now you have clarified your requirements), but you need to understand what is happening and conditionally navigate to the screen required. This is now made a little more complex with the new StartScreen parameter (which is probably not in the video). What URL parameters and OnStart code have you used?

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Community Power Platform Member Profile Picture
    on at

    @WarrenBelz 
    This is very weird...I tried following Shane's video again on a different app and it works. Not sure if it was a user issue/or a specific app issue when I tried it on my original app. 

     

    But yes, I did receive a warning message noting "Navigation is not suggested in OnStart. Use the StartScreen property instead for better performance". It doesn't mention how to do this in the video...by any chance, do you know how I should alter my code to resolve this warning message?

     

    Here are the details to my code:

     

    Button > OnSelect property:

    Office365Outlook.SendEmailV2("username@gmail.com", "Here is the link", "<a href='WebLink&EmpID=" & varRecord.ID & "'> Link to Item </a>")

    where "WebLink" is the URL to my app

     

    Form1 > Item property: 

    varRecord

     

    Gallery1 > NextArrow icon > OnSelect property: 

    Set(varRecord, ThisItem); Navigate(FormScreen); ViewForm(Form1)

     

    App > OnStart property:

    Set(varEmpID, Value(Param("EmpID")));
    If(varEmpID <> 0, Set(varRecord, LookUp('Campaign Intake Form', ID = varEmpID));Navigate(FormScreen))

     

    Thank you!

  • Verified answer
    WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    Hi @Anonymous ,

    App OnStart

    Set(
     varEmpID, 
     Value(Param("EmpID"))
    );
    If(
     varEmpID <> 0, 
     Set(
     varRecord, 
     LookUp(
     'Campaign Intake Form', 
     ID = varEmpID
     )
     )
    )

    StartScreen

    If(
     Value(Param("EmpID")) > 0, 
     FormScreen,
     YourNormalStartScreen
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard