21
Views
8
Comments
Solved
Changing "Add/Cast Crew" screen

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.

Addcast.PNG

Rank: #1700
Solution

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

Champion
Rank: #99
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

Rank: #4907

its a traditional application. This image a screen and not a pop-up scenario.

Thank you very much for your insights.

Rank: #433

Hi Sandy,

Could you please share the .OML of Movie application to look into the error?

Thanks & Regards,

Sachin

Rank: #1700
Solution

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

Rank: #4907

Thank you all for your valuable inputs, This community is  awesome.