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

Sharepoint List Item Edit Link - Open in New modern Page.

Dear All,

 

I have a SharePoint list with Two Screens(NewScreen & EditScreen) and respective form is like (NewForm & EditForm).

 

I have created a SharePoint Modern page to fill the New form. so, when an item gets submitted the new item will be created in Sharepoint list through a page.

 

Now, I have to open this item in a new modern page. The reason for a new page is I have dependent SPFx webparts just to show edit view in Powerapps and its relevant items in SPFx webpart.

 

But I am not able to open a editform in new page by clicking the link from sharepoint list item. 

 

In App->OnStart Property is like below 

 

 

Set(ItemTitle, Param("Title")); 
If(
   !IsBlank(ItemTitle),
   Navigate(EditScreen, ScreenTransition.None)
)

 

 

The item property in EditForm is like below 

 

If(
   !IsBlank(ItemTitle),
   LookUp('Interview Schedules', Title = Param("Title")),
   SharePointIntegration.Selected
)

 

 

My Embed code is not picking the value from the URL.

 

<iframe width="1024px" height="580px" src="https://web.powerapps.com/webplayer/iframeapp?source=iframe&screenColor=rgba(104,101,171,1) &Title=Value&appId=/providers/Microsoft.PowerApps/apps/9b9sdfsa-170f-46a4-ba6f-46582sfdsd4bd0c"></iframe> 

 

 

My sharepoint page is : https://<website>/sites/POCSite/Apps.aspx?Title="Monday".

 

I am passing the Querystring through Sharepoint URL but the PowerApps not taking that as a parameter. Above is an example for passing the "Title" value as Monday.

 

Thanks,

Dhana.

 

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @Dhanasekaran_G ,

I will make this easy for you - you cannot open a SharePoint Integration Power App with an incoming deep linking parameter.

Make a copy as a standalone app and send the parameter to that in its URL and it will 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.

@WarrenBelz - Thank you for reply.

 

As per your suggestion I will try with standalone app but I assume it will take huge amount of time to design and host the form. Any other alternate option do we have . 

 

I have an idea to implement, that is deploy the script editor webpart from PNP on sharepoint page and using some javascript function to embed the iframe code . Just to inject the javascript into the embed code for getting the particular item. 

 

is that a good option ?

Hi @Dhanasekaran_G ,

You can copy and paste all your forms into a Canvas App - I do the reverse with SP integration. You will just need to make a gallery to select the record and change the Item of the form. The third post down on this describes this process.

 

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.

 

 

Hi @Dhanasekaran_G ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

 

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.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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