Canvas sections
Manage the sections of a canvas view
When editing a canvas view, you can add various sections to its layout. Each section type displays a distinct set of data or a list of related items.
To add a main section, select at the bottom of the left column. To add a narrower side section, select in the right column. Choose an available section type from the list. You can add as many sections as you like, even ones of the same type!
Drag sections around to reorder them and move them between columns. To remove a section, select it, and then select Remove section at the bottom of its properties.
Section types
Some sections are only available in some situations, e.g. the Job work items section is only available on canvas views for the Jobs interface or designs that implement it.
Select a section to view its properties on the right. Configure these properties to determine the section's appearance and behaviour. Fields marked with an asterisk * require a value to be set.
Audit - display an item's changelog
Use this section to display the editing history of the current item, including the full details of each change and who made it! By default, this section appears for items of all designs/interfaces. To learn more, see the Audit section in the Item Viewer.
Section properties
When editing a canvas view, an Audit section has the following properties:
-
Title - customise the primary label of the section header.
-
Description - customise the secondary label of the section header.
-
Icon - customise the icon of the section header.
-
Height - choose a fixed height for the section, regardless of its contents:
-
Small - display up to three lines without scrolling.
-
Medium (default) - display up to six lines without scrolling.
-
Large - display up to ten lines without scrolling.
-
AQS list - display related items
Use this section to display the item results of an AQS query. While the query can be anything, it's typically used to fetch items related to the one being viewed.
When adding an AQS list section to a canvas view, choose a ready-made query from the list, or select Custom query to build your own. Different queries are available depending on the design/interface targeted by the canvas view.
For example, the "Reports" query is available if the canvas view targets any design/interface that implements the Items with Reports interface. The query will fetch all generated report items that involve the current item as a data source, or that were run directly from it. Due to their flexible nature, AQS list sections often appear by default on items of various designs/interfaces, in order to show related items where relevant. To learn more, see the following sections in the Item Viewer:Usage
Section properties
When editing a canvas view, an AQS list section has the following properties:
-
Title - customise the primary label of the section header.
-
Description - customise the secondary label of the section header.
-
Icon - customise the icon of the section header.
-
Height - choose a fixed height for the section, regardless of its contents:
-
Small - display up to three lines without scrolling.
-
Medium (default) - display up to six lines without scrolling.
-
Large - display up to ten lines without scrolling.
-
-
Query * - edit the section's query. Use the AQS Builder to define one or more conditions that items must fulfil to be displayed in the section. To sort the listed items by an attribute or property, select the query root node.
Default AQS parameters
In this scenario, the AQS Builder provides two default parameters to use. A parameter is a placeholder that is substituted with a value when the query runs. If you include a parameter in your query, it becomes dynamic and can produce different results depending on the context:
-
currentItemId - this represents the ID of the opened item. It can be used to fetch items related specifically to that item, e.g. activities, reports, attachments.
-
Current user ID - this represents the ID of the user who has opened the item. It can be used to fetch items related specifically to that user.
To learn more, see AQS parameters.
-
Comments - post messages for other users to read
Use this section to display and post formatted comments about the current item, including links to other items/URLs and emojis! By default, this section appears for items of all designs/interfaces. To learn more, see the Comments section in the Item Viewer.
Section properties
When editing a canvas view, a Comments section has the following properties:
-
Title - customise the primary label of the section header.
-
Description - customise the secondary label of the section header.
-
Icon - customise the icon of the section header.
-
Height - choose a fixed height for the section, regardless of its contents:
-
Small - display up to three lines without scrolling.
-
Medium (default) - display up to six lines without scrolling.
-
Large - display up to ten lines without scrolling.
-
Gallery - manage item attachments
Use this section to manage the file attachments of the current item, including the ability to preview images, download files and add new attachments. By default, this section appears for items of all designs/interfaces that implement the Files Attachable interface. To learn more, see the Gallery section in the Item Viewer.
Section properties
When editing a canvas view, a Gallery section has the following properties:
-
Title - customise the primary label of the section header.
-
Description - customise the secondary label of the section header.
-
Icon - customise the icon of the section header.
-
Height - choose a fixed height for the section, regardless of its contents:
-
Small - display up to three lines without scrolling.
-
Medium (default) - display up to six lines without scrolling.
-
Large - display up to ten lines without scrolling.
-
-
Query * - edit the section's query. By default, it fetches items of the Files interface that have the current item as a parent. In other words, the files in the current item's Attachments attribute!
Use the AQS Builder to define one or more conditions that those items must fulfil to be displayed in the section. To sort the listed items by an attribute or property, select the query root node.
Default AQS parameters
In this scenario, the AQS Builder provides two default parameters to use. A parameter is a placeholder that is substituted with a value when the query runs. If you include a parameter in your query, it becomes dynamic and can produce different results depending on the context:
-
currentItemId - this represents the ID of the opened item. It can be used to fetch items related specifically to that item, e.g. activities, reports, attachments.
-
Current user ID - this represents the ID of the user who has opened the item. It can be used to fetch items related specifically to that user.
To learn more, see AQS parameters.
-
General - view and edit item attributes
Use this section to display the current item's attributes (as defined by its design), including the ability to edit any values stored for each attribute. By default, this section appears for items of all designs/interfaces. To learn more, see the General section in the Item Viewer.
Section properties
When editing a canvas view, a General section has the following properties:
-
Title - customise the primary label of the section header.
-
Description - customise the secondary label of the section header.
-
Icon - customise the icon of the section header.
-
Minimum/Maximum Height - limit the section's height. It will be the minimum by default. If you specify a maximum, it will be that height if there are more lines to display:
-
Small - display up to three lines without scrolling.
-
Medium (default) - display up to six lines without scrolling.
-
Large - display up to ten lines without scrolling.
-
Dynamic - the section's height will automatically match the number of lines, so everything can be displayed without scrolling. This could make it very short or very tall!
-
- Default mode * - choose one of the following:
-
View (default) - initially display the section in read-only mode. The order and visibility of attributes is defined by a corresponding item form (if one exists with Applies to view enabled) or by the design's stencil. By default, all attributes appear in the order they were added.
-
Edit - initially display the section in edit mode. The order and visibility of attributes is defined by a corresponding item form (if one exists with Applies to edit enabled). If no item form exists for the item's design, all attributes appear in the order they were added.
-
Job work items - display the individual work units of a job
Use this section to manage the job work items of the current job, including the ability to add and remove work items and specify their quantities. By default, this section appears for items of all designs/interfaces that implement the Jobs interface. To learn more, see the Job work items section in the Item Viewer.
Section properties
When editing a canvas view, a Job work items section has the following properties:
-
Title - customise the primary label of the section header.
-
Description - customise the secondary label of the section header.
-
Icon - customise the icon of the section header.
-
Height - choose a fixed height for the section, regardless of its contents:
-
Small - display up to three lines without scrolling.
-
Medium (default) - display up to six lines without scrolling.
-
Large - display up to ten lines without scrolling.
-
- Show costs - if enabled and the Description is left blank, the total estimated/actual job cost will be displayed in the section header.
Manual workflows - display trigger buttons for specific workflows
Use this section to display buttons for manual workflows that can be triggered against the current item. To learn more, see the Manual workflows section in the Item Viewer.
Section properties
When editing a canvas view, a Manual workflows section has the following properties:
-
Title - customise the primary label of the section header.
-
Description - customise the secondary label of the section header.
-
Icon - customise the icon of the section header.
-
Minimum/Maximum Height - limit the section's height. It will be the minimum by default. If you specify a maximum, it will be that height if there are more lines to display:
-
Small - display up to three lines without scrolling.
-
Medium (default) - display up to six lines without scrolling.
-
Large - display up to ten lines without scrolling.
-
Dynamic - the section's height will automatically match the number of lines, so everything can be displayed without scrolling. This could make it very short or very tall!
-
To add a trigger button to the section, select Add trigger and fill in the following fields:
-
Workflow * - choose from a list of manual workflows that are compatible with the design/interface that the canvas view applies to.
-
Name * - enter a distinct button label that describes what the workflow does.
-
Icon - use the icon picker to add an icon to the button label.
-
Colour - use the colour picker to change the colour of the button. by default.
To remove an added trigger button, select its button.
Map - display item location and geometry
Use this section to display the current item's location on a mini map, with the ability to expand to full screen and edit the item's geometry coordinates as needed. By default, this section appears for items of all designs/interfaces that allow geometry. To learn more, see the Map section in the Item Viewer.
Section properties
When editing a canvas view, a Map section has the following properties:
-
Title - customise the primary label of the section header.
-
Description - customise the secondary label of the section header.
-
Icon - customise the icon of the section header.
-
GeoJson attribute code * - by default, the item's standard Geometry attribute is used. To visualise another Geometry attribute on the item instead, choose it here.
-
Show information - if enabled, the centroid, extents and area of the item's geometry will be calculated and displayed beneath the map.
-
Layers - to display other sets of items on the map, select one or more layers from the list.
-
Basemap - customise the map's appearance with the chosen basemap imagery. If left blank, the user's current basemap will be used.
Parents - display items that link to the current one
Use this section to display parent items, which store references to the current item in one of their Link attributes. Remove existing parent links and add new ones as needed. By default, this section appears for items of all designs/interfaces. To learn more, see the Parents section in the Item Viewer.
Section properties
When editing a canvas view, a Parents section has the following properties:
-
Title - customise the primary label of the section header.
-
Description - customise the secondary label of the section header.
-
Icon - customise the icon of the section header.
-
Height - choose a fixed height for the section, regardless of its contents:
-
Small - display up to three lines without scrolling.
-
Medium (default) - display up to six lines without scrolling.
-
Large - display up to ten lines without scrolling.
-
-
Filter by attribute - only display parent items that link to the current item through the chosen Link attribute. If that attribute is on an interface, the filtered parent items may be of different designs.
-
Filter by graph code - only display parent items that link to the current item through Link attributes that use the chosen item graph type. To learn more, see Link attribute.
Settings - display and override item properties
Use this section to display the current item's properties (such as its design and context), with the ability to override some of them on an individual basis. To learn more, see the Settings section of the Item Viewer.
Section properties
When editing a canvas view, a Settings section has the following properties:
-
Title - customise the primary label of the section header.
-
Description - customise the secondary label of the section header.
-
Icon - customise the icon of the section header.
-
Minimum/Maximum Height - limit the section's height. It will be the minimum by default. If you specify a maximum, it will be that height if there are more lines to display:
-
Small - display up to three lines without scrolling.
-
Medium (default) - display up to six lines without scrolling.
-
Large - display up to ten lines without scrolling.
-
Dynamic - the section's height will automatically match the number of lines, so everything can be displayed without scrolling. This could make it very short or very tall!
-
- Default mode * - choose one of the following:
-
Edit - initially display the section in edit mode.
-
Info (default) - initially display the section in read-only mode.
-