cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
eb221
Level: Powered On

Change Power App Form in Response to Sharepoint View Selection

I have created a PowerApps customized list form that is linked to my Sharepoint List. I have different views in the Sharepoint List, but I don't see a way to change the linked PowerApps list form to match the view fields. I found a post explaining how to make separate forms to create, show or edit the list item and then write formulas in SharePointIntegration control to navigate to the screen and set the form in correct mode based on user inputs.

The formulas looked like this:

OnNew – Set(SharePointFormMode, "CreateForm"); NewForm(CreateItemForm); Navigate(CreateScreen, ScreenTransition.None)

OnEdit – Set(SharePointFormMode, "EditForm"); EditForm(EditItemForm); Navigate(EditScreen, ScreenTransition.None)

OnView – Set(SharePointFormMode, "ShowForm"); ViewForm(ShowItemForm); Navigate(ShowScreen, ScreenTransition.None)

 

Does anyone know how I could alter these formulas to direct users to different forms based on the sharepoint list view that they choose? Or whether there is another way to alter the PowerApps form in response to view selection?

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Change Power App Form in Response to Sharepoint View Selection

Hi @eb221 

 

PowerApps when connected to SharePoint as a data source does not relate to the Views and hence it is unaware of the View currently in selection

So this is not currently possible

 

Regards,

Reza Dorrani

 

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

2 REPLIES 2
Dual Super User
Dual Super User

Re: Change Power App Form in Response to Sharepoint View Selection

Hi @eb221 

 

PowerApps when connected to SharePoint as a data source does not relate to the Views and hence it is unaware of the View currently in selection

So this is not currently possible

 

Regards,

Reza Dorrani

 

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

Community Support Team
Community Support Team

Re: Change Power App Form in Response to Sharepoint View Selection

Hi @eb221 ,

Do you want to direct users to different forms based on the sharepoint list view that they choose?

 

If you want to direct users to different forms based on the sharepoint list view that they choose, I afraid that there is no way to achieve your needs in PowerApps currently.

 

Currently, within PowerApps, there is no way to detect which List View you choose when you run the PowerApps custom form in your SP List.

 

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,

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

Helpful resources

Announcements
thirdimage

Power Automate 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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,084)