cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dwrm
Frequent Visitor

Navigation not working

I have an edit form that has some fields on it.  I added an arrow with the following in the OnSelect field: SubmitForm(InfoForm);NewForm(DocumentationForm).  When the arrow is clicked in preview it saves the information and then loads the Gallery form instead of the documentation form.

 

Any ideas?

 

1 ACCEPTED SOLUTION

Accepted Solutions
dwrm
Frequent Visitor

I had to move the new form and navigate commands to the OnSuccess property of the form to get it to navigate properly following the submit form command.

View solution in original post

4 REPLIES 4
mdevaney
Super User III
Super User III

@dwrm 

I think you are expecting the NewForm function to navigate you to another screen, correct?

 

Instead you should use the NAVIGATE function to do that.

SubmitForm(InfoForm);NewForm(DocumentationForm);Navigate(your_screen_name,None);

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

dwrm
Frequent Visitor

Thanks for the help.  Unfortunately when I changed the code it saves the current form, loads the new one and then navigates back to the original (InfoForm) form on the details screen.  Here is what I updated to:

SubmitForm(InfoForm);NewForm(DocumentationForm);Navigate(DocumentationForm,None);

 

 

dwrm
Frequent Visitor

I also tried:

SubmitForm(InfoForm);NewForm(DocumentationForm);Navigate(DocumentationScreen,None);

with the same results...

dwrm
Frequent Visitor

I had to move the new form and navigate commands to the OnSuccess property of the form to get it to navigate properly following the submit form command.

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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

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

Top Solution Authors
Top Kudoed Authors
Users online (51,017)