cancel
Showing results for 
Search instead for 
Did you mean: 

Want code for reset

Former Member
0 Kudos

Hello Gurus..

I have a page that has the Create button and Reset button...I want to reset the values of my fields and i want to write a code for it.So please help with the code....

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

There is no single coding solution to do this. If you want to reset to some original values, then most people will re-run the query method that they used to fill the context in the first place. Basically you want to reset the data in the context. If you really want to go back to the empty state of the context, then try the INVALIDATE method of the context node or bind an empty table/structure to each context node you are using.