Skip to main content

Is it possible to automate reverse publishing?

Support avatar
Written by Support
Updated over 9 months ago

Reverse publishing (for print or newsletters) can be automated using the export URL that is available on the template list page (for simultaneous multiple template export) and on individual template pages. An example URL is provided below:

Standard parameters:

Format

Format is determined by the selection made at the time of generating the URL.

idx=templateID

The 'x' starts with 0 (0,1,2,3, etc.) and allows for multiple templates to be included in the same export URL. All parameters that are related to a template append the 'x', and associate the parameter with a specific template. A multiple template example:

&id0=xxxx&id1=xxxx&id2=xxxx

Token

Each token is associated with an account. It is not permanent and can be changed upon request, but unless otherwise requested will remain the same. Tokens will be generated and/or displayed upon clicking the export button.

Optional parameters:

Download

Parameter can be set to "true" or "false" and is primarily to enable viewing content in a browser (when set to false), but may also be useful for specific circumstances.

Dates (Start/End)

Start and end dates are not included by default as each will default to the dates on the template itself, but can be added as an override to any export URL. Each date needs to be associated with an ID, replacing the x with (0, 1, 2, 3, etc.).

Example syntax:

&startx=2023-08-18&endx=2023-08-31

Labels

Labels are not included by default as each will default to the labels on the template itself, but can be added as an override to any export URL. Each labels parameter needs to be associated with an ID, replacing the x with (0, 1, 2, 3, etc.).

Example syntax:

&labelsx=labelname,labelname,labelname

Multiple labels can be included by separating with commas; when multiple labels are in use for the same template, events with any of the labels will be returned. Label names use the system label name and are case sensitive.

A complex example with multiple templates, dates, and labels is provided below:

Did this answer your question?