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.
GROUPSCRIPT – Call LUA-based script
Overview
This Custom Field calls a LUA-based script. A ‘recordset’ object is passed with the group contents. The Custom Field will return a table.
Syntax
GROUPSCRIPT(‘GroupPath’,’SortField’,‘ScriptName’)
GROUPSCRIPT(‘Parent Category:Child Category’,”,‘Script.lua’)
| Element | Description | 
|---|---|
| ‘GroupPath’ | Group path delimited by colons. | 
| ‘SortField’ | The field by which to sort. | 
| ‘ScriptName’ | The name of the LUA-based script. | 
Example
Coming soon.
