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

Link to edit item on Sharepoint

Hello. I have already use this solution in my SharePoint list.

Link 

User following the link which redirects him to Edit form. But it uses classic SharePoint form. But I have PowerApps form which I use on my SharePoint list. How I can make link like this but to my PowerApps edit form?

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @ppl ,

Don't you want to add a field in your link with your app's deep link to open an edit form?

Because I've viewed the link that you posted, the doc in it is about this.

In your app, you need to insert an edit form, set its data source to your list, set its Item:

LookUp(list3,ID=Value(var))
//list3 is my list name , please replace with your list name

set its DefaultMode to :

FormMode.Edit

Then the app's OnStart:

Set(var,Param("ID"));If(!IsBlank(var),Navigate(your edit form screen name)

 

Then when you click the deep link in your sharepoint list, you will open this app and navigate to the edit form screen.

 

 

 

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

7 REPLIES 7
Super User III
Super User III

Hi @ppl ,

Replace the SharePoint reference in this article (which is in the link) with the link to your Power Apps form. You can get this as below
PADetails.pngPALink.png

  

 

 

 

 

 

 

 

 

 

 

 

 

 

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.

Community Support
Community Support

Hi @ppl ,

Do you want to have a field with app's link which linked with edit form belongs to this item?

If so, the key point is to update the 'link to ltem(editform}' field with deep link of your app.

Firstly, you need to find your app's link, you could find it in the app's details:

426.PNG

 Secondly, the application of flow:
427.PNG

 

Thirdly, in powerapps.

1)insert a gallery to choose the item to update.

set the gallery's Items: your list name

set one button to act the flow, set the button's OnSelect:

test.Run(Gallery5.Selected.ID,Gallery5.Selected.Title)
//test is my flow name
Gallery5 is my gallery name

2)set the app's OnStart:

Set(var,Param("ID"));If(!IsBlank(var),Navigate(Screen6))

//screen6 is the screen with the edit form

3)set the edit form's data source to your list name

set the edit form's Item:

LookUp(list3,ID=Value(var))
//list3 is my list name , please replace with your list name

 

 

Then if you run the flow, your sharepoint list will be updated, the selected item's link to ltem(edit form) will be updated with this kind of data:
applink?ID=....

When you click the link, it will open your app, when it starts, it will firstly param the data of ID, then filter item based on this ID in edit form.

You will navigate to the edit from with the data of this item.

 

Here's a doc about deep link for your reference:

https://powerapps.microsoft.com/en-us/blog/powerapps-deep-linking/

 

 

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.

There is no link on my SharePoint list form. Only on apps.

And when I see details of any app, and follow the link you mean, I see view form, not edit.

Helper V
Helper V

To enable link to item and/or edit menu options on any of the SharePoint list column, follow below steps:
Open your List view page in SharePoint Designer using "Edit File in Advanced Mode"
Search for <ViewFields> Tag. Pick the appropriate field to have link to item functionality.
Add: LinkToItem="TRUE" to it.

Hi @ppl ,

Don't you want to add a field in your link with your app's deep link to open an edit form?

Because I've viewed the link that you posted, the doc in it is about this.

In your app, you need to insert an edit form, set its data source to your list, set its Item:

LookUp(list3,ID=Value(var))
//list3 is my list name , please replace with your list name

set its DefaultMode to :

FormMode.Edit

Then the app's OnStart:

Set(var,Param("ID"));If(!IsBlank(var),Navigate(your edit form screen name)

 

Then when you click the deep link in your sharepoint list, you will open this app and navigate to the edit form screen.

 

 

 

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

Hello again.

To use deeplink I need to find link to the app, as you said I can find it on my apps list. But there is no such app in this list, cause its sharepoint list form, not independent powerapp.

 

I have found OnStart parameter, but I cant find DefaultMode. Where it is?

 

 

 And also I don't understand where I neet to put this function LookUp(list3,ID=Value(var))

Hi @ppl ,

Firstly, the solution that I provided is to open a standalone powerapps app by clicking a link in sharepoint list.

Only a standalone powerapps app has a link.

 

Secondly, could you describe what do you want in details?

I couldn't figure out why you want to open a sharepoint custom form, not a standalone powerapps app.

The link that you provided is about  clicking a link in sharepoint list to open a standalone powerapps app.

If you just want to click an item in your sharepoint list to open an edit form of a sharepoint custom form, you do not need to follow the link that you provided.

It will be easy.

You just need to do these:

1)create a sharepoint custom form

46.PNG

 2)set SharePointIntegration 's OnView:

EditForm(SharePointForm1)

461.PNG

 After you finish editing the form, do not forget to save and publish it.

Then if you click one item in your sharepoint list, you will open one edit form.

What's more, there's no weblink about sharepoint custom form.

 

Thirdly, if you want to open an edit form in a standalone powerapps app, please follow my solution above.

You need to create a standalone powerapps app, insert an edit form in it.

Then find its weblink to update item in sharepoint list with deep link.

 

 

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (64,152)