Once you’ve saved your form and exited the designer, you will arrive back at the "Forms" page. On this page, click the link in the destinations column of the form you would like to add the destination to.

Note: If there are no destinations added to your account, this button will read "0".

You'll then be brought to the Destinations page, where you can click "New Destination".

A new page will load, and on it you will see destinations to send your data to. Select the "SQL" destination. Select "XML" when prompted to choose a format.

You will also see an option to send your images to a service other than Device Magic. If you would like to do this, select from the services provided. Please note, choosing a service other than "None (inline)" will result in a hyperlink to the hosted image being placed in the file generated by this destination instead of the actual image.

Step 4 will give you the the option to add a Description to your destination. You can also set your destination to be Active or not here.

In Step 5, you will be given the option to download a sample XML file.

Now, select your SQL server's adapter (Microsoft SQL Server, MySQL or PostgreSQL). Fill in the database connection details. To select the table in which to store your data click "Fetch tables from database".

A note on the requirements to successfully fetch and deliver to your SQL database:
Check out this article for more information on how Device Magic’s delivery services function, and how that relates to specific IP addresses for those services.

Select the desired table and then populate the columns using the placeholders provided. 

In Step 7, you have the option to create Destination Rules on when you want the Destination to be active. To learn more about how Destination Rules work, visit our article here.

When you're done, click "Create Destination".

This concludes our overview of adding the SQL destination. If you have any questions or comments feel free to send us a message at support@devicemagic.com or leave us a comment below. 

Did this answer your question?