When you want to apply Work With Plus pattern to some web panel, the first step is to create the Web Panel, save it and click in the link 'Create WorkWithPlus Pattern Instance...':
Then you have to select the template from which you want to base this Web Panel:
There are different types of templates that you can use: Dashboards, Lists, Wizards, etc. You have a Preview that displays a mockup of the Template that is selected.
Once you select a template, you will be creating an independent Web Panel based on one of these templates, and then you would have to add the behavior needed in the events, and other items to the instance.
In some templates, it make sense to have a base table (Selections, Views, etc.), so after selecting the template, you will be able to define which base table use for it:
Let's select the template: CardWithSmallImage and press Select:
WorkWithPlus infers which attributes use in each item of the template, but you can customize the screen to add variables or attributes to the grid, as well as any other commands and event code needed.
In the main node the properties are the following:
Specifies the way in which the main object of the instance (in this case the web panel) will be updated after re applying the pattern. The alternatives are:
- Do not update:
It won't update any of the web panel's elements (webForm, Events, Rules) when re applying the pattern. It is like the Web Panel object was no more linked to the pattern, unlike the other objects of the instance.
- Create default:
Each time we apply the pattern, the form will be created and the Rules and Events updated according to the pattern instance. The user code and the content inside user tables will remain intact after re applying it.
- Only events and rules:
Each time we apply the pattern, the Rules and Events will be updated according to the pattern instance, but the Web Panel form will not be created from the instance, it will remain as it was before.
Each time we apply the pattern, the Rules, Events and the form will be overwritten. All the content inside user table and the user code will be cleaned.
Specifies whether the Update Instances functionality will update all nodes with its properties for this Web Panel, will only merge node's properties or will not update any node neither its properties.