Update View Created from Template
This action changes a view that was made by Create View from Template. Use it before the created view is added to a grid.
This action is useful when each created row or cell needs different content. For example, a shortcut can create a calendar day from a template, then use this action to set the day number, symbol, background, or other values inside that created day.
Use Update View instead when you want to change a view that is already in the canvas.
Parameters
Section titled “Parameters”| Parameter | Description |
|---|---|
| Created View | Selects the created view to change. This usually connects automatically from Create View from Template. |
| Canvas | Selects the canvas that contains the grid. |
| Grid | Selects the grid whose template was used. |
| Template | Selects the template that created the view. This lets Shortcuts show the right views in the View picker. |
| View | Selects the view to change inside the created view. The template itself is also available. |
| Property | Chooses the part of the selected view to update. The shown value fields depend on the property you choose. |
Choose the same canvas, grid, and template that were used to create the view. If the created view came from a different template, the shortcut stops and explains what needs to be changed.
Updating Several Values
Section titled “Updating Several Values”You can add several of these actions in a row. Place them directly after each other so each step uses the changes from the step before it.
For example, a shortcut can create a calendar day, set the date text view, set the weekday text view, and then change
the created cell’s background. Each step updates the same created view.
When the created view is ready, collect it with the other created views and use Update View on the grid to set Children. In a Repeat block, Repeat Results is usually the list you need.
If later changes replace earlier changes, check the action chain in Troubleshooting.
See Fill a Grid from Shortcuts for the full workflow.