65
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
2021-03-05 13-56-11
Ricardo Pereira
 
MVP
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

2019-07-05 10-57-41
Nikhil Purohit
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

2021-03-05 13-56-11
Ricardo Pereira
 
MVP

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.


Best regards,

Ricardo M Pereira

UserImage.jpg
Sandy M

Thank you Nikhil for your inputs.


Regards

Sundeep

2021-03-05 13-56-11
Ricardo Pereira
 
MVP
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

UserImage.jpg
Sandy M

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

Thank you very much for your insights.

2020-09-21 11-35-56
Sachin Waghmare

Hi Sandy,

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

Thanks & Regards,

Sachin

UserImage.jpg
Sandy M

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.



2019-07-05 10-57-41
Nikhil Purohit
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

2021-03-05 13-56-11
Ricardo Pereira
 
MVP

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.


Best regards,

Ricardo M Pereira

UserImage.jpg
Sandy M

Thank you Nikhil for your inputs.


Regards

Sundeep

UserImage.jpg
Sandy M

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.