Viewstate tool

On our radar

it would be nice to build a viewstate tool to check the performance of the application.

Jorge Almeida

Created on 17 Aug 2016
Comments (3)

Not sure what you want to achieve by using a viewstate-tool?

Performance can be check in different ways (servicecenter is a big plus for starters)

care to eloborate it a bit more?

there was a tool in forge that enabled us to check the viewstate (unfortunatley it is no longer available). In the browser even if we use the inspect tool we only see the viewstate codified...  the main reason I'd like to see the viewstate concerns about this url:

https://success.outsystems.com/Support/Enterprise_Customers/Maintenance_and_Operations/Performance_Best_Practices/Performance_Best_Practices_-_User_Interface  the first remark: 

Avoid using preparation data in screen actions

that refers to the viewstate issue.  The purpose concerns about the performance as explained in the aforementioned link. It would be used as a metrics of the performance.


There is a Chrome extension, "OutSystems Launcher", developed by José Fábio Vieira, that, in particular, shows the size of the View State of the current page. It has some more functionalities.

For example, this topic page has currently a View State size of 2.4 KiB.

The advantage of using "OutSystems Launcher" is that it does not require you to change anything in your OutSystems applications.

There is also a Forge component, "Compressed Viewstate" that also displays the size of the View State, but it requires you to include a web block in your OutSystems applications.

So, in conclusion, I don't think that this idea makes much sense.

--Tiago Bernardo