Start a conversation

Exporting DNN Forms data to an external endpoint

Overview

You are trying to set up DNN Forms to submit data to an external database and would like instructions on how to configure the 'Custom URL' field for the Forms feature under the Data Collection tab in form config.

Solution

The DNN Forms feature allows you to send the data to an external database via a custom endpoint URL. However, it is the responsibility of each customer to create a custom development for the endpoint and to define how to connect that service to any external database.

Once you have created your custom endpoint, follow the steps below to export the data. As an example for this article, a mock server in Postman has been created for posting a sample form data. 

  1. In the CMS, navigate to Persona Bar > Content > Forms. You can either edit a form or create a new one.

  2. Click on 'Configuration', and then 'Data Collection'

  3. Set the custom endpoint URL for your custom endpoint and click 'Save'
    1785F64B-4F4A-49FB-93B1-833D72A7396C_1_201_a.jpeg

  4. Embed the form on any test page on your site and enter random data to post the form
    inline-996720517.png

  5. Access the Network tab under the Developer Tools to confirm the request payload
    6915E4E8-B1E9-45BB-9832-9E980561FDA8_1_105_c.jpeg

  6. Finally, check on the server the request with the Request Body containing all the inputted fields and data
    inline-1733373524.png
Notes:
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments