55
Views
2
Comments
Empty Form

Empty form is comming with differents objects, i think it was edited. How can i return the empty form default?

2023-10-21 19-42-11
Tousif Khan
Champion

Hello

could you please be more specific what you are trying to say, by this i can understand that you have a form and when you see the form on a screen so the inputs in the form populated as filled?

If you have this issue then I thing the fields that are bind to an aggregate are getting the current value of the aggregate this happen because when you navigate to the form from a detail screen you will pass a input identifier , that will filter the data from the aggregate and show you on screen.
The input contain the Identifier of the record for which you want to see the details.

But if you want it blank then pass null identifier to the input parameter that is being used in your aggregate to filter the data.

if you are not using this scenario and you just have a form then just pass a nulllidentifier() to your aggregate or use Structure.

I suggest you to go through Guided path and check for the course 
https://www.outsystems.com/training/courses/114/developing-web-apps-outsystems-11/?LearningPathId=2

Thanks

Tousif Khan

2022-02-25 19-42-59
Srinivas K Singadi

Hello Erik Tavavares 

if I understood your question correctly, by default empty form comes with a predefined set of objects that are added by default to any new form. If you think that the form has been modified and you want to restore it to its default state, you can follow these steps:

Open the form you want to reset in the Service Studio development environment.

In the toolbar, click on the "Edit" button and select "Undo All Changes" from the drop-down menu.

A confirmation message will appear asking if you want to revert all changes to the original version of the form. Click on "Yes" to confirm.

The form will be reverted to its original state, with all default objects added by OutSystems.

Note that this action will remove all changes made to the form, so make sure you have saved any important modifications before proceeding

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