--- title: "Calling the dox42 template ('ReturnAction')" slug: "calling-the-dox42-template-base-return" tags: ["d.velop", "task"] updated: 2025-07-09T06:26:15Z published: 2025-07-09T08:35:17Z canonical: "help.dox42.com/calling-the-dox42-template-base-return" --- > ## 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 ('ReturnAction') ## Steps 1. Open **d.velop Cloud Start Page > Configuration > Alpin dox42 Service Main Configuration.** 2. At the end of the template list, set up a new configuration: ![Configuration settings for Alpin dox42, highlighting Main Configuration and New Configuration sections.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/calling-the-dox42-template-base-return-image-9n3thjts.png) **New configuration** dialog > [!NOTE] > Note > > A description of the parameters can be found in [Parameter: dox42 template](/v1/docs/parameter-dox42-app-configuration). 3. Select **Save**. 4. Select the **Configure Output Actions** link and configure an Output Action. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/calling-the-dox42-template-base-return-image-0n23ed8p.png) Configured Output Action In our example, we have configured a [ReturnAction](/v1/docs/outputaction-returnaction). > [!NOTE] > Note > > A description of the parameters can be found in [Parameters: dox42 Output Action](/v1/docs/parameter-dox42-app-output-action). 5. Optional: If the format `jpg` is not suitable for your purposes, you can change the value text field to `pdf`. 6. Select **Save**. 7. Use the search and select a document of your choice. 8. Select the dox42 icon in the right sidebar to start the template and test your call: ![Document search results showing details for 'Hello world!' protocol and its attributes.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/calling-the-dox42-template-base-return-image-z238m49o.png) Search results 9. Select the previously configured Output Action. 10. Select the **Generate** button. ![Alpin dox42 Service configuration with highlighted field and generate button.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/calling-the-dox42-template-base-return-image-re9sa8yf.png) ## Result You can now download the generated document as a jpg file. ![File opening prompt in Firefox with options to open or save a JPG file.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/calling-the-dox42-template-base-return-image-psmaacgk.png) Opening dialog for jpg file The generated file can be saved or displayed and is no longer connected to the dox42 Server or d.velop documents. In the generated document, you can find the correct data: ![Document ID UF00000148 and repository identifier displayed in highlighted text.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/calling-the-dox42-template-base-return-image-42ppen2d.png) Generated document with correct data