In the assignment "Add Cast/Crew" screen in the Movies application , every time , I clicked on the save button , it went back to detail screen.
So , adding multiple records was a problem .
I added a link "Back to Movies" and made the "Save" button remain in current page.
Image attached.
Wanted to share the problem and its solution.
Hi,
That is a pop-up or a screen? Normally in the pop-up scenario (created with scaffolding) you have 3 buttons: Save (return to the parent screen), Save & New (stay in the same pop-up but with a clean form) and Cancel (return to the parent screen). Is this the behaviour that you want?
By the way, it's reactive or traditional?
Best regards,
Ricardo M Pereira
Hi Sandy,On Save action, you were redirecting user to Details page as you might be using Destination widget at the end of your action to redirect the user on details page.
But now, you have might have replaced the Destination Widget with End widget, which will not let your user to navigate to details page, instead stay on the same page.
So, this not any problem, bug or issue. It is how Outsystems is designed and works.Also after submission of form data with the current scenario if you want to refresh the form for the new input then you must change the submit action of the Save button to Ajax Submit. Reassign the Form variables with default values and Ajax Refresh the Form too clear its contents.Regards,Nikhil
hi,
Just another point here: If you have a widget like a table or something that shows that added information, maybe you want to refresh the data and AJAX refresh that widget to show the up to date data in the screen.
Thank you Nikhil for your inputs.
Regards
Sundeep
its a traditional application. This image a screen and not a pop-up scenario.
Thank you very much for your insights.
Hi Sandy,
Could you please share the .OML of Movie application to look into the error?
Thanks & Regards,
Sachin
Hello Sachin ,
It was not a error. Its just a different way in which , I implemented the page that is done differently from the documentation. I shared my views on this platform.
Thank you all for your valuable inputs, This community is awesome.