cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
FacundoGorla
Level 8

Using the Value in a column of an element in the OnSucces of a Form of a SharePoint List.

I want to know if there's any way of getting the Link of an element in the OnSucces of a Form in a SharePoint list.

 

I can do thisitem.link inside a DataCard of the Form but I need to use the Link in the OnSucces and I can´t find the way of doing it.

 

Any help would be much apreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Using the Value in a column of an element in the OnSucces of a Form of a SharePoint List.

You can grab the link form the last submitted property of the form after it has been submitted. You can try this formula to your OnSuccess property:

 

Set(gvSPLink, SharePointForm1.LastSubmit.'Link to item')

 

You will need to change the form name to match your form name. 



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Using the Value in a column of an element in the OnSucces of a Form of a SharePoint List.

You can grab the link form the last submitted property of the form after it has been submitted. You can try this formula to your OnSuccess property:

 

Set(gvSPLink, SharePointForm1.LastSubmit.'Link to item')

 

You will need to change the form name to match your form name. 



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

FacundoGorla
Level 8

Re: Using the Value in a column of an element in the OnSucces of a Form of a SharePoint List.

Just tried and seems to work!

I was doing it with a Label inside the Form with  ThisItem.link  and then using the label.text on the OnSucces.

Not cute at all but works the same.

Thanks for the Help!

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,132)