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

SharePoint Forms - multiple screens

Hi,

 

I have built a PowerApps form with 2 screens, one is the form entry and the 2nd one is showing the approval dates and who approved it as part of a Flow. You can navigate to each form by a button on each screen.

 

The problem is that when I view an existing form and close the form on the 2nd screen, the next form I view starts on the approval screen. I tried to put an OnStart value to Navigate to the form entry screen but this doesnt work.

 

Is there a way to always default to the form entry screen whether its a new, edit or view.

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @Dhiran ,

Do you want the Entry Screen to show up every time you view an existing form?

Further, do you create a custom form using PowerApps within your SP list?

 

I assume that you created a custom using PowerApps within your SP List, is it true?

 

Based on the needs that you mentioned, I have made a test on my side, please consider take a try with the following workaround:

Set the OnView property of the SharePointIntegration control to following:

Navigate(YourEntryScreen, ScreenTransition.None); /* <-- Add formula here */
ViewForm(SharePointForm1)

Set the OnNew property of the SharePointIntegration control to following:

Navigate(YourEntryScreen, ScreenTransition.None); /* <-- Add formula here */
NewForm(SharePointForm1)

Set the OnEdit property of the SharePointIntegration control to following:

Navigate(YourEntryScreen, ScreenTransition.None); /* <-- Add formula here */
EditForm(SharePointForm1)

Note: The SharePointForm1 represents the Edit form in your app.

Then re-publish your custom form to your SP List, then try your custom form again, check if the issue is solved.

 

Please consider take a try with above solution, then check if the issue is solved.

 

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.

View solution in original post

2 REPLIES 2
K-A-R-L
Solution Specialist
Solution Specialist

Hi @Dhiran,


I just want to make sure we are on the same page. Do you want to go back to Entry Screen every time you close the Approval Screen?


You can try adding the Navigate(EntryScreen, ScreenTransition.None) function to the Close button/Icon/image when closing the form Approval Screen.

If you want to set the Entry Screen as the First page every time you open the app, then you have already done that by adding Navigate() function on the OnStart Property.  

Cheers

v-xida-msft
Community Support
Community Support

Hi @Dhiran ,

Do you want the Entry Screen to show up every time you view an existing form?

Further, do you create a custom form using PowerApps within your SP list?

 

I assume that you created a custom using PowerApps within your SP List, is it true?

 

Based on the needs that you mentioned, I have made a test on my side, please consider take a try with the following workaround:

Set the OnView property of the SharePointIntegration control to following:

Navigate(YourEntryScreen, ScreenTransition.None); /* <-- Add formula here */
ViewForm(SharePointForm1)

Set the OnNew property of the SharePointIntegration control to following:

Navigate(YourEntryScreen, ScreenTransition.None); /* <-- Add formula here */
NewForm(SharePointForm1)

Set the OnEdit property of the SharePointIntegration control to following:

Navigate(YourEntryScreen, ScreenTransition.None); /* <-- Add formula here */
EditForm(SharePointForm1)

Note: The SharePointForm1 represents the Edit form in your app.

Then re-publish your custom form to your SP List, then try your custom form again, check if the issue is solved.

 

Please consider take a try with above solution, then check if the issue is solved.

 

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.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,092)