How to resolve Query Data in viewstate?


I am working on pattern got from architecture dashboard for my application. 

Pattern Name: Query Data in view state? Need to know how to resolve for aggregate present in preparation, which is used in screen actions.


Hi Richa,

Avoid using data created in the screen preparation in the screen actions. For instance, instead of using the tablerecord record data, use only the ID of the row and fetch the data from the database again is needed.

See also this reply from Jorge Martins in this old discussion on scope of web page variables.

Additionally, here is a list of Performance Best Practices - User Interface

and a document about not abusing scope information



ok..Thank You..will check it

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