Edit Data Source

You can store SQL queries as data sources for e-mail templates. The email template uses data coming from the data source.

You need SQL knowledge to create data sources.

Create a data source

Select the object type from the drop-down menu next to "Type" in the area images/download/thumbnails/494469563/Allgemein_i_EN_img.png . You can enter the designation in several languages in the table within the column "Translation". Click on the line you want to edit the object type for.

Depending on the object type for which the data source was selected, various parameters are available. After saving the information, call up the parameters via the images/download/thumbnails/494470345/Fragezeichen_Kontur_schwarz_img.png -button.

If your SQL returns multiple data records, the first record is used in the email template.

Define the data source

Switch to images/download/thumbnails/494469574/Abfrage_Text_EN_img.png to type in the SQL query in the text editor. The text editor highlights keywords such as 'SELECT', 'FROM' or 'WHERE' in colour. If you insert a parameter, use it in the text editor with a preceding '@'. Parameters are 'case sensitive'. If the text editor detects parameters, they are displayed to the right of the text editor in the main window. Unknown parameters are highlighted in yellow. Each parameter has a text box in line where you can enter values. Start the query with a click on the images/download/thumbnails/494471045/SQL-ausf%C3%BChren_img.png -button. Missing values can be entered afterwards and they must be confirmed with the images/download/thumbnails/494470944/OK_Button-magenta_img.png -button.