Create View from Template
This action makes one new view from a template in a grid. Use it when a shortcut needs to fill a grid with repeated content, such as calendar days, checklist rows, menu items, or schedule entries.
The template gives each new view the same structure. After the view is created, use Update View Created from Template to change its text, symbols, colors, or other values. When all views are ready, collect them in a list and use Update View to set the grid’s Children property to that list.
Parameters
Section titled “Parameters”| Parameter | Description |
|---|---|
| Canvas | Selects the canvas that contains the grid. |
| Grid | Selects the grid that should use the created views. |
| Template | Selects the template to copy. The picker shows templates that have IDs. |
The selected grid must have Template Children turned on. The Template picker shows templates placed directly inside that grid. Views inside a template are copied with it, so they can be updated after the view is created.
Using the Result
Section titled “Using the Result”The result is the new view. Shortcuts names it View. You can pass that view to Update View Created from Template to fill in the parts that should be different, such as a label, symbol, color, or background.
To show created views in the grid, collect them in a list and set the grid’s Children property with Update View. A Repeat loop is often the easiest way to make that list, because it can create one view for each item.
The grid shows the created views from that list. Use Fill a Grid from Shortcuts for the full workflow.
Every view in the list must come from a template in the same grid. If a view was created for a different grid, the shortcut stops when it tries to update Children.