Grouping data

GROUPSNIPPETDEPTH – Return depth of snippet

75 views June 1, 2018 admin 0

Overview

This Custom Field returns the depth (in points) of a given snippet when rendered with records in a group. The snippet file path can be provided in full or as a filename. If the filename only is provided, EasyCatalog will look inside of the workspace ‘Assets’ folder.

In contrast to SNIPPETDEPTH, GROUPSNIPPETDEPTH populates the snippet with data for the each group (defined by the group path).

Syntax

GROUPSEQUENCEONFIELDCHANGE(‘GroupPath’,‘SortField’,’SnippetPath’)

GROUPSNIPPETDEPTH(‘Parent Category:Child Category’,‘Price’,‘Macintosh HD:Snippet1.idms’)

Element Description
‘GroupPath’ Group path delimited by colons
‘SortField’ The field by which to sort.
‘SnippetPath’ The snippet path.

Examples

GROUPSNIPPETDEPTH(‘Parent Category:Child Category’,‘Price’, ‘Snippet 1.idms’)

GROUPSNIPPETDEPTH(‘Parent Category:Child Category’,‘Price’, ‘Macintosh HD:Users:InDesignUser:Snippet 1.idms’)

See also

SNIPPETDEPTH

SNIPPETWIDTH

Was this helpful?