| Name | Type | Description |
| object_type | String | Will always be datastore_item |
| is_valid | Boolean | True if this references a published snippet |
| guid | String | The unique identifier for this snippet |
| value | String | Contains the same value as guid |
| name | text | The unique name of the snippet. This property is primarily intended for internal use by website administrators to uniquely identify snippets |
| folder_guid | String | The unique identifier of the related folder |
| folder | folder | Reference to the related folder object |
| content_html | html | The HTML content for the snippet |
| tags | tags | The list of tags associated with this snippet |
| search_entity_guid | String | The unique identifier for the entity that search results should be directed to |
| search_entity | entity | The entity that search results should be directed to |
| field_id | String | The identifier for this field |
| label | String | The label for this field |
| output | String | Identical to using {{ snippet.content_html.value }} |
Contains multiple snippets.
| Name | Type | Description |
| object_type | String | Will always be datastore_item |
| is_valid | Boolean | True if this contains at least one published snippet |
| output | String | The default output that the snippets will produce when it is output directly to the template - using the "output_in_list" property of each snippet in the items list |
| prepended | list | List containing any prepended snippets. |
| fetched | list | List containing all of the snippets that were fetched from the database (as opposed to prepended or appended). |
| appended | list | List containing any appended snippets. |
| appended_unique | list | List containing any appended snippets excluding any snippets that are in either the list of prepended or fetched snippets. |
| items | list | List containing all of the combined snippets from the prepended, fetched, and appended lists. If unique is true, this list will not contain any duplicates. If max_size is set, this list will not contain more than the number of snippets specified. |
| size | Integer | The total number of snippets in the items list, including prepended, fetched, and appended lists, and respecting the unique and max_size properties. |
| max_size | Integer | If set, this is the maximum number of items that will be returned in the items list and the maximum number of items that will be included when this snippets object is enumerated as a list. When not set, this value will be 0. |
| unique | Boolean | When true, the items list will not contain any duplicates. Only the first instance of each snippet will be included. |
| limit | Integer | The maximum number of items that were allowed to be in the list of fetched snippets. May be 0 in some cases (such as when when there are no fetched snippets. |
| start | Integer | The 1-based index of the first item in the list of fetched snippets. |
| page | Integer | The 1-based index of the paginated results returned in the list of fetched snippets, which is calculated from the start and limit parameters. Useful for paginated results. |
| total_count | Integer | The 1-based index of the first item in the list of fetched snippets |
| total_pages | Integer |
{% snippet output_to_template? [var, set, or assign]? variable? output_to_template? = value %}
{% snippets output_to_template? [var, set, or assign]? variable? output_to_template? = arguments %}
arguments