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 / How to open a Powerapp...
Power Apps
Unanswered

How to open a Powerapps screen from a column in a SharePoint list

(0) ShareShare
ReportReport
Posted on by 119
Scenario
 
have a Sharepoint list where I customize the form using Powerapps, create a different design with the help of Powerapps for a better user experience.

I have done the Powerapps form editing and the structure I have created so far is as follows:

sebastianslz_0-1679001139304.png
Additional I have created a new screen called "PrintScreen" you can see it in the previous image, this screen is the one I want to show from the button I want to add from a SharePoint list. In this screen I have different labels in which I want to show all the information of the item selected in the list. The structure is as follows:

sebastianslz_2-1679003415676.png

 

To display the information of the selected item in the Powerapps screen called "PrintScreen" I have added in each of the "Text" properties of the labels the following:

For example in Label6:
First('DataSource Test').Description;;
For the Label5_8:
First('DataSource Test').Reference;;
And so on with each of the labels. To show the Powerapps screen called "PrintScreen" try in the SharePoint list to create a column of type Hyperlink or Image and in it I have added the following code inside "Column Formatting"

 


    "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", 
    "elmType": "a", 
    "txtContent": "PrintScreen", 
    "attributes": { 
        "target": "_blank",
        "href": "='https://apps.powerapps.com/play/e/default-xxxxxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxx/x/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx?tenantId=XXXXXXX-XXXX-XXXX-XXXXXXXXXXX?TargetScreen=PrintScreen&ID=' + [$ID]"
    }, 
    "style": { 
        "padding": "0px 25px", 
        "cursor": "pointer", 
        "border": "none", 
        "color": "white", 
        "font-weight": "550", 
        "background-color": "#F1F1F1", 
        "text-decoration": "none", 
        "font-size": "13px", 
        "text-align": "center", 
        "width": "50px" 
    } 
}
Where I have added in the URL of the Sharepoint form that I make in Powerapps the parameter of "TargetScreen" so that it directly opens the screen that I have previously created and also add the parameter "ID" to show the information related to the Item that I have selected.

Doing all this when pressing the button I added in the new Sharepoint column only opens the form to create a new item and does not show me the "PrintScreen" screen.

What I would like is that when I press the button of the column that I have created I open the "PrintScreen" screen.
 
If anyone can help me correct this error that is happening to me I would greatly appreciate.


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

    Hi @sebastianslz ,

    The fundamental issue is that SharePoint Integrated apps are not designed to work with "deep linking" - they are simply a connection to the SharePoint record you launch them from. You can easily open the from at the desired record with a hyperlink pointed at the 'Link to item' field of the record, but trying what you are doing unfortunately will not work.

     

    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.

    MVP (Business Applications)   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 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard