Welcome to Catalog Tips

Search more than 200 articles to learn more about creating and automating your product catalogs

Tip: Start typing in the input box for immediate search results.

< All Topics
Print

GROUPSNIPPETDEPTH – Return depth of snippet

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

Table of Contents