Add "Shared" Variables in UI Designer

Sean McP's picture
Sean McP

In UI Designer we are allowed to create Form/Page Variables, however for EVERY page we have to specify our variables.

My idea is to allow a new TAB called Global or Shared Variables where we can define a number of global/shared template variables that can be selected and included on a page.

Variables defined in the manner should have the same properties as when creating normal page variables, API, JSON, JavaScript etc.

This is similar to the idea of Custom Widgets where they are shared and can be dragged to the form.