Skip to main content

Frame

Load and Apply Styling​

Id: 50​

Load an attribute-value from the datafile and use it to apply styling options to the frame.

ParametersExplanationDefault
gStyleTypeType of the styling option that should be applied. Available types:
swatch-fill Set the fillcolor by applying a swatch, that exists in the parent-document
objectstyle Apply an object style, that exists in the parent-document
paragraphstyle Apply a paragraph style, that exists in the parent-document, to the textmodel of the frame
tablestyle Apply a table style, that exists in the parent-document, to the first table of the frame
cmyk-values-fill Set the fillcolor by applying CYMK-colorvalues
rgb-values-fill Set the fillcolor by applying RGB-colorvalues
hex-values-fill Set the fillcolor by applying HEX-colorvalues
swatch-fill
gStyleSourceShould the style-definition be loaded from the datafile or is it hardcoded in the function-variable gStyleDefinition?
Available values:
--datafile-- Load from Datafile
--hardcoded-- Specified in FuncVar "gStyleDefinition"
--datafile--
gStyleDefinitionA styledefintion to be used, when --hardcoded-- is selected in variable "gStyleSource". Can be a swatch, objectstyle, paragrapgstyle, tablestyle, color values
gEntityA Dataprovider-Entity to use for dataqueries (see Data Provider)
Available in default-library: data_provider, generic.
data_provider
gNodeTypeType of nodes in the XML-file, below which the attribute is located.
Available in default-library: product, sku, asset, attribute_group_definitions, attribute_group
product
gAttributeKeyThe key of the attribute, where the barcode-number is located. Can be a custom string or specified in parts of the gRecordStringID
--roottable-id-- from gRecordStringID1 (RootTableID)
--col-id-- from gRecordStringID2 (ColumnID)
--row-id-- from gRecordStringID3 (RowID)
gStringIdFrom--string-id-- from gRecordStringID
--roottable-id-- from gRecordStringID1 (RootTableID)
--col-id-- from gRecordStringID2 (ColumnID)
--row-id-- from gRecordStringID3 (RowID)
--string-id--