--- title: "Calling the dox42 template ('Custom Output Action')" slug: "calling-dox42-template-customoutputd3rest-output" tags: ["d.velop", "task"] updated: 2025-07-09T06:44:03Z published: 2025-07-09T08:35:17Z canonical: "help.dox42.com/calling-dox42-template-customoutputd3rest-output" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.dox42.com/llms.txt > Use this file to discover all available pages before exploring further. # Calling the dox42 template ('Custom Output Action') Follow this instruction to store the generated document in d.velop documents. This example uses: - the template **HelloDokIDDetails.docx** which was created before (see [Setting up a basic dox42 template](/v1/docs/dox42-template-basic-example)) and - a new Custom Output Action (instead of the **ReturnAction**). ## Steps 1. Open **d.velop Cloud Start Page > Configuration > Alpin dox42 Service Main Configuration.** 2. Select the **Configure Output Actions** link. 3. Open the already configured Output Action **HelloDokIDDetails** and delete the existing **ReturnAction**. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/calling-dox42-template-customoutputd3rest-output-image-k845snwp.png) **Configured** **Output Action** dialog 4. Create a new Output Action named `CustomOutputD3.CustomOutputD3REST` for storage in d.velop documents. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/calling-dox42-template-customoutputd3rest-output-image-bh9nzvwk.png) **New Output Action** dialog 5. Select **Save**. 6. Configure the necessary parameters. > [!NOTE] > Note > > A description of the parameters can be found in [Parameters: CustomOutputD3.CustomOutputD3REST](/v1/docs/parameter-customoutputd3rest). > > BaseUri and ApiKey are automatically passed from d.velop documents to dox42 during a call. They can be overridden with the configured parameters. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/calling-dox42-template-customoutputd3rest-output-image-mp6zgvy0.png) Configuration of a new Output Action 7. Select **Save**. 8. Select the dox42 icon to start the template and test your call. The generated document is stored in d.velop documents. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/calling-dox42-template-customoutputd3rest-output-image-0hhpwq7f.png) Stored documents in d.velop documents 9. Search for the generated document within the **Categories**. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/calling-dox42-template-customoutputd3rest-output-image-r9fxji5m.png) Storage location for generated documents ## Result You have generated a document, which is stored in d.velop documents. In the generated document, you can also find the extended properties that you previously set up in the template. In this example, the subject and the date. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/calling-dox42-template-customoutputd3rest-output-image-3hynckfu.png) Generated document with Custom Output Action