Templates

Description

Templates are generated by using the "Templates" option. The templates option is added after the action. The server-side path to the template is specified after "Templates". Template parameters are added after a ? character which is appended to Templates.

Templates within Templates

See Template Compounds

Format

Templates/[path]?[parameters]

Example: Templates/MySubdirectory/MyDesign.PXF?Personalizations[0].Name=DESIGN1:Vollyball&Personalizations[0].Design=Football1.PXF
Where the [path] is specified with /MySubdirectory/MyDesign.PXF

Example: Templates/MyDesign.pxf?Personalizations[0].Name=DESIGN1:Vollyball&Personalizations[0].IsHidden=true
Will hide the element named DESIGN1:Vollyball

Example: Templates/MyDesign.pxf?ColourMatchField=Name&Personalizations[15].Name=Satin&Personalizations[15].ElementColour=Tomato Red
Will set the needle in the palette for the element named Satin based on the thread Name

Parameters

Example

The following loads the server-side design "EmojiBubble.PXF", replaces the design element Mascot with a new design and updates the text values for Text1 and Text2 as well as the colour for both.

/Render/Templates/EmojiBubble.PXF?Personalizations[0].Name=Mascot&Personalizations[0].Design=Emoji.PXF&Personalizations[1].Name=Text1&Personalizations[1].Text=PULSE&Personalizations[1].TextColour=1146+-+Flame+Red&Personalizations[1].IsRainbowText=False&Personalizations[2].Name=Text2&Personalizations[2].Text=MICRO&Personalizations[2].TextColour=1460+-+Ecru&Personalizations[2].IsRainbowText=False

Sample