Skip to main content

How to clone only specific sections of a template into a new or existing template on Dashpivot Web

Learn how to copy selected sections from one template into another template in Dashpivot Web

Written by Adriana De Souza

Dashpivot Web allows you to clone specific sections from an existing template into either a new template or an existing one. This helps streamline template creation, maintain consistency, and avoid rebuilding repeated sections manually. This article explains how to clone selected sections using the Template Editor.

Prerequisites

Before you begin make sure you have the following:

  • Plan: Standard (or higher)

  • Permission: Org Controller

  • Skills Required: Dashpivot

  • Device Type: computer

  • Subscription: Dashpivot Web

Step-by-Step Instructions

  1. Access the Template Editor, by selecting your template > Edit Template

  2. Add markers to identify the section to copy - these markers make it easier to locate the correct section in the raw code view:

    1. Add a text field before the section you want to copy and label it something like START

    2. Add another text field after the section and label it END

  3. Open the raw code editor for the template, by clicking 'Show Raw Code' in the bottom left corner of the screen.

  4. Use Ctrl + F (or Command + F on Mac) to search for your START marker - this helps you find the beginning of the section.

  5. Do the same to find END

  6. Copy everything between the START and END markers in the raw code

  7. Go to the template where you want to paste the section.

  8. Add a text field to mark the insertion point (e.g. label it PASTE HERE or something easily identifiable).

  9. In the raw code editor, search for PASTE HERE

  10. In the raw code editor, find the PASTE HERE marker, press Enter after the comma as seen on the below screenshot, then paste the copied section.

  11. Exit the raw code editor, selecting 'Hide Raw Code' to confirm the section has been inserted correctly

  12. You should now see the copied tables (or other content) in the new location.

  13. Delete the temporary markers (START, END, PASTE HERE) to clean up the template

To copy a field to a new template, follow these steps:

  1. In the Home Folder or relevant Team folder, select Add Template.

  2. Add a text field to use as your insertion point (START)

  3. Do the same for your end point (END)

  4. Open the raw code editor by clicking 'Show Raw Code' in the bottom left corner, search for the START marker, locate the comma as seen below, press enter and paste your code.

  5. Save and preview - your copied content should now appear in the new template.

    Don't forget to remove your markers.

Note

  • Markers (text fields) are used only to help navigate raw code during copying and pasting. They can be removed once the process is complete, and they do not need to be labelled specifically “START” or “END” — use naming that suits your team.

  • You can duplicate parts of a Dashpivot template (such as tables or fields) by copying and pasting sections of raw code. This is useful for reusing content across templates or inserting content after a page break.

  • It is recommended to have two browser tabs open when performing this process, as it requires copying and pasting data between templates.

Did this answer your question?