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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (30,996)