cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
testaccPA
Helper III
Helper III

share point online JSON button over share point list

hi, i came across the following video:
https://www.youtube.com/watch?time_continue=316&v=23NvSB4cu5w&feature=emb_title

i now wanted to start a powerapp directly via a share point list with a JSON button like to start a flow/power automate.
Must the powerapp be specially designed for this list or can i theoretically start any other powerapp? and how does the webId look now? my Powerappp has the following WebID: https://apps.powerapps.com/play/746fb3c9.c8cc.482e.a7e6.4810f2784317? tenantId \u003d ee2c1d57.faad.48e3.aebb.06338b4a32 ??

the video does not seem to me to be up to date

 

 

kind regards

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @testaccPA ,

Ok...I think I understand your meaning.

Actually, opening a powerapps app means launch a hyperlink. (the app's link)

You just need to set the column's Column Formatting to this kind of json:

{
   "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
   "elmType": "a",
   "txtContent": "@currentField",
   "attributes": {
      "target": "_blank",
      "href": "='https://apps.powerapps.com/play/b05d425f-8660-462a-b3d4-436e7d51b7c3?tenantId=9e51064f-f6a5-41a2-.....' + @currentField"
   }
}

"https://apps.powerapps.com/play/b05d425f-8660-462a-b3d4-436e7d51b7c3?tenantId=9e51064f-f6a5-41a2-..... " is my app's link.

Please replace it with your app;s link.

You just need to use this kind of json to open a hyderlink:

"href": "='web link' + @currentField"

You could find your app's link in your app's details.

21711.PNG

 Please make sure that you have permission to this app.

 

Here's a doc about how to format columns by using json for your reference:

https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yutliu-msft
Community Support
Community Support

Hi @testaccPA ,

Do you want to run an app by clicking a button in sharepoint custom form?

If so, you could set the button's OnSelect:

Launch("app web link")

For example, 

Launch("https://apps.powerapps.com/play/4a0bddaf-7bff-4b80-b741-1629ad43efb3?tenantId=9e51064f-f6a5.............")

You could find the web link in the app's details:

213.PNG

 

 Then, when you click the button, you will open the app.

Please make sure you have permission to run the app and the permission of the app's data source.. Or else you can not open the app successfully.

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

no no, i mean start the app with a JSON Share Point button  how like to start a Flow via JSON button.

 

share poin.png

Hi @testaccPA ,

Ok...I think I understand your meaning.

Actually, opening a powerapps app means launch a hyperlink. (the app's link)

You just need to set the column's Column Formatting to this kind of json:

{
   "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
   "elmType": "a",
   "txtContent": "@currentField",
   "attributes": {
      "target": "_blank",
      "href": "='https://apps.powerapps.com/play/b05d425f-8660-462a-b3d4-436e7d51b7c3?tenantId=9e51064f-f6a5-41a2-.....' + @currentField"
   }
}

"https://apps.powerapps.com/play/b05d425f-8660-462a-b3d4-436e7d51b7c3?tenantId=9e51064f-f6a5-41a2-..... " is my app's link.

Please replace it with your app;s link.

You just need to use this kind of json to open a hyderlink:

"href": "='web link' + @currentField"

You could find your app's link in your app's details.

21711.PNG

 Please make sure that you have permission to this app.

 

Here's a doc about how to format columns by using json for your reference:

https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (5,243)