In the latest service release (v2.0.11) we updated PrimalForm 2011’s code generator so that it produces slimmer scripts. We wanted to increase the readability and at the same time reduce the size of the generated script.
The following is a script block generated by the previous version of PrimalForms 2011:
Now we have the same script block generated by the latest version of PrimalForms 2011:
By utilizing PowerShell’s ability to convert strings into appropriate objects, the generated code is now cleaner and easier to read.
UPDATE: In the next service build, the generated script will get even slimmer by removing the DataBinding.DefaultDataSourceUpdateMode line of each control: