Cloning makes a copy of an existing project, for demos and training. You choose which parts come with it. This page shows what can and can't be copied, which choices fit together, and what is different about the copy.
The copy is a separate project. Once it is made, editing or deleting either the original or the copy never touches the other. Nothing in the copy points back at the original.
Only projects held in OpenDLP can be cloned. A project whose data source is Google Sheets is refused.
An admin does it, for now. Cloning is a command an admin runs on the server; there is no button for it in the app yet. If you want a project cloned, ask an admin and tell them which parts you want — see asking for a clone.
A clone either happens completely or not at all: if any check fails, nothing is created.
flowchart LR
classDef check fill:#ffffff,stroke:#505a5f,color:#0b0c0c
classDef always fill:#cce2f7,stroke:#1d70b8,color:#0b0c0c
classDef blocked fill:#f6c6c0,stroke:#d4351c,color:#0b0c0c
A["Pick the project<br/>to clone"]:::check
B["Choose which<br/>parts to copy"]:::check
C{"Checks pass?"}:::check
D["Choose the<br/>copy's title"]:::check
E["Copy the parts,<br/>with the changes<br/>a copy needs"]:::always
F(["New project, ready to use.<br/>The admin who cloned it<br/>is its Project Manager."]):::always
X(["Nothing is created"]):::blocked
A --> B --> C
C -- yes --> D --> E --> F
C -- no --> X
D -- no free title --> X
click A "#checks" "Which projects can be cloned"
click B "#parts" "What can be copied"
click C "#checks" "The checks"
click D "#title" "Choosing the title"
click E "#changes" "What changes in the copy"
click X "#checks" "The checks"
Click any box to jump to the chart that expands it.
A project is made of several parts. Some always come with the copy, some are your choice, and some never come.
flowchart LR
classDef always fill:#cce2f7,stroke:#1d70b8,color:#0b0c0c
classDef on fill:#c8e6c9,stroke:#2e7d32,color:#0b0c0c
classDef off fill:#fad7a8,stroke:#b58840,color:#0b0c0c
classDef never fill:#d7ccc8,stroke:#5d4037,color:#0b0c0c,stroke-dasharray:5 5
P(["The original project"])
subgraph ALWAYS["Always copied"]
direction TB
A1["Framing question,<br/>first event date"]:::always
A2["Number of people<br/>to select"]:::always
A3["Selection settings"]:::always
end
subgraph ON["Copied unless you say not"]
direction TB
O1["Targets,<br/>with their computed questions"]:::on
O2["Registration questions,<br/>headings and text"]:::on
O3["Registration pages,<br/>with their images, documents<br/>and emails"]:::on
end
subgraph OFF["Only copied if you ask"]
direction TB
F1["Respondents"]:::off
F2["Team members<br/>and their roles"]:::off
end
subgraph NEVER["Never copied"]
direction TB
N1["Selection history"]:::never
N2["Record of emails<br/>sent to respondents"]:::never
N3["Google Sheets<br/>export settings"]:::never
N4["Reply-to name<br/>and email"]:::never
N5["Comments on<br/>respondents"]:::never
N6["Deleted respondents"]:::never
end
P --> ALWAYS
P --> ON
P --> OFF
P -.-x NEVER
click O1 "#combinations" "Which choices fit together"
click O2 "#combinations" "Which choices fit together"
click O3 "#combinations" "Which choices fit together"
click F1 "#respondents" "Copying respondents"
click F2 "#team" "Team members"
click N1 "#never" "Why some parts are never copied"
click N2 "#never" "Why some parts are never copied"
click N3 "#never" "Why some parts are never copied"
click N4 "#never" "Why some parts are never copied"
click N5 "#never" "Why some parts are never copied"
click N6 "#never" "Why some parts are never copied"
The title is not in the chart: the copy always gets a title of its own, see choosing the title.
Some parts only work alongside others, so some choices are refused. The rules come from how the parts depend on each other:
flowchart TD
classDef check fill:#ffffff,stroke:#505a5f,color:#0b0c0c
classDef ok fill:#c8e6c9,stroke:#2e7d32,color:#0b0c0c
classDef blocked fill:#f6c6c0,stroke:#d4351c,color:#0b0c0c
Q{"Copy the<br/>registration questions?"}:::check
Q -- no --> NQR{"Copy the<br/>registration pages?"}:::check
NQR -- yes --> B1(["Refused:<br/>a registration page<br/>needs its questions"]):::blocked
NQR -- no --> NQP{"Copy the<br/>respondents?"}:::check
NQP -- yes --> B2(["Refused:<br/>respondents need<br/>the questions"]):::blocked
NQP -- no --> NQT{"Copy the<br/>targets?"}:::check
NQT -- yes --> OK1(["Allowed: targets with<br/>no question linked to them,<br/>no computed questions"]):::ok
NQT -- no --> OK2(["Allowed: just the<br/>project details and<br/>selection settings"]):::ok
Q -- yes --> YQT{"Copy the<br/>targets?"}:::check
YQT -- yes --> T1["Questions stay linked<br/>to their targets;<br/>computed questions copied"]:::ok
YQT -- no --> T2["Questions linked to targets<br/>become ordinary questions;<br/>computed questions dropped"]:::ok
T1 --> YQR{"Registration pages<br/>and respondents"}:::check
T2 --> YQR
YQR --> OK3(["Allowed: copy either,<br/>both or neither"]):::ok
OK3 -. "respondents have<br/>their own checks" .-> RS["Copying respondents"]:::check
click RS "#respondents" "Copying respondents"
click OK3 "#respondents" "Copying respondents"
The targets, registration questions and registration pages are all copied unless you say not. So asking to leave out only the registration questions is refused: you have to say you want the registration pages left out too. That is on purpose — it stops the pages disappearing from the copy without anyone noticing.
| Targets | Registration questions | Registration pages | Result | What the copy has | Respondents can come too? |
|---|---|---|---|---|---|
| Copied | Copied | Copied | Allowed (the default) | Everything set up as in the original, computed questions included. | Yes |
| Copied | Copied | Left out | Allowed | As above, with no registration page. You can build a new one. | Yes |
| Left out | Copied | Copied | Allowed | No targets. Questions that answered a target become ordinary questions. Computed questions are dropped. | Yes, without their computed answers |
| Left out | Copied | Left out | Allowed | As above, with no registration page. | Yes, without their computed answers |
| Copied | Left out | Left out | Allowed | Targets with no question linked to them yet — how a project looks before its registration page is built. No computed questions. | No |
| Left out | Left out | Left out | Allowed | Just the project details and selection settings: an empty project to fill from scratch. | No |
| Copied | Left out | Copied | Refused | A registration page needs its questions. | — |
| Left out | Left out | Copied | Refused | A registration page needs its questions. | — |
Team members can be added to any allowed combination; they don't depend on anything else.
These run in this order. The first one that fails stops the clone, and nothing is created.
flowchart TD
classDef check fill:#ffffff,stroke:#505a5f,color:#0b0c0c
classDef ok fill:#c8e6c9,stroke:#2e7d32,color:#0b0c0c
classDef blocked fill:#f6c6c0,stroke:#d4351c,color:#0b0c0c
S(["Admin runs the clone"])
C1{"Respondents asked for?<br/>Then: stated they hold<br/>no real personal data?"}:::check
C2{"Do the chosen parts<br/>fit together?"}:::check
C3{"Is the person named<br/>an active admin?"}:::check
C4{"Does the project exist,<br/>and is it held in OpenDLP<br/>rather than Google Sheets?"}:::check
C5{"Respondents asked for?<br/>Then: confirm the count<br/>on screen"}:::check
C6{"Is there a free title?"}:::check
OK(["Clone goes ahead"]):::ok
X1(["Refused"]):::blocked
X2(["Refused"]):::blocked
X3(["Refused"]):::blocked
X4(["Refused"]):::blocked
X5(["Cancelled"]):::blocked
X6(["Refused"]):::blocked
S --> C1
C1 -- "not asked, or stated" --> C2
C1 -- "asked, not stated" --> X1
C2 -- yes --> C3
C2 -- no --> X2
C3 -- yes --> C4
C3 -- no --> X3
C4 -- yes --> C5
C4 -- no --> X4
C5 -- "not asked, or confirmed" --> C6
C5 -- "answered no" --> X5
C6 -- yes --> OK
C6 -- no --> X6
click C1 "#respondents" "Copying respondents"
click X1 "#respondents" "Copying respondents"
click C2 "#combinations" "Which choices fit together"
click X2 "#combinations" "Which choices fit together"
click C5 "#respondents" "Copying respondents"
click C6 "#title" "Choosing the title"
click X6 "#title" "Choosing the title"
A new project's title may not be the same as the title of another project you can see that is not archived. Capital letters and spaces at either end don't count, so “Climate Assembly” and “climate assembly ” are the same title. This rule applies when creating or renaming a project too, not just when cloning.
flowchart TD
classDef check fill:#ffffff,stroke:#505a5f,color:#0b0c0c
classDef ok fill:#c8e6c9,stroke:#2e7d32,color:#0b0c0c
classDef blocked fill:#f6c6c0,stroke:#d4351c,color:#0b0c0c
G{"Title given?"}:::check
G -- yes --> GF{"Already used by a<br/>project you can see?"}:::check
GF -- no --> UG(["Use the given title"]):::ok
GF -- yes --> XG(["Refused:<br/>choose another title"]):::blocked
G -- no --> T1{"#quot;Original title (copy)#quot;<br/>free?"}:::check
T1 -- yes --> U1(["Use it"]):::ok
T1 -- no --> T2{"#quot;Original title (copy 2)#quot;<br/>free?"}:::check
T2 -- yes --> U2(["Use it"]):::ok
T2 -- no --> TN["... try (copy 3)<br/>up to (copy 9)"]:::check
TN -- "one is free" --> UN(["Use the first free one"]):::ok
TN -- "none free" --> XN(["Refused:<br/>give a title"]):::blocked
The admin running the clone can see every project, so in practice the title is checked against every project that isn't archived. The “(copy)” ending is always in English.
Respondents are the one part of a project that can hold real people's details. Copying them makes a second copy that would have to be found and blanked if someone asked for their details to be deleted. So it is never the default, and it takes two deliberate steps:
Each respondent copied:
By default everyone goes back into the pool, as if nothing had happened to them yet. The copy is a starting point for a demo, and has no selection history to explain why anyone would be selected or confirmed. If the demo needs to start part way through — to show replacements or confirmation calls, say — you can ask to keep the respondents' statuses instead. Asking to keep statuses without copying respondents is refused.
flowchart LR
classDef check fill:#ffffff,stroke:#505a5f,color:#0b0c0c
classDef pool fill:#c8e6c9,stroke:#2e7d32,color:#0b0c0c
classDef keep fill:#cce2f7,stroke:#1d70b8,color:#0b0c0c
classDef never fill:#d7ccc8,stroke:#5d4037,color:#0b0c0c,stroke-dasharray:5 5
S{"Status in<br/>the original"}:::check
S -- "Pool, Selected,<br/>Confirmed, Withdrawn" --> K{"Keep statuses?"}:::check
K -- "no (default)" --> P(["Pool"]):::pool
K -- yes --> SAME(["Same status<br/>as the original"]):::keep
S -- "Test submission" --> TS(["Test submission<br/>(either way)"]):::keep
S -- "Deleted" --> D(["Not copied<br/>(either way)"]):::never
| Status in the original | In the copy, by default | In the copy, keeping statuses |
|---|---|---|
| Pool | Pool | Pool |
| Selected | Pool | Selected |
| Confirmed | Pool | Confirmed |
| Withdrawn | Pool | Withdrawn |
| Test submission | Test submission | Test submission |
| Deleted | Not copied | Not copied |
Only copied if you ask. Everyone on the original's team gets the same role on the copy. The admin who runs the clone is always the copy's Project Manager, even if they had a different role on the original.
Even the parts that are copied can't all be copied exactly. These things change:
flowchart LR
classDef always fill:#cce2f7,stroke:#1d70b8,color:#0b0c0c
classDef on fill:#c8e6c9,stroke:#2e7d32,color:#0b0c0c
subgraph PROJ["The project"]
direction TB
P1["New title"]:::always
P2["Active, even if the<br/>original is archived"]:::always
P3["Created by, and managed by,<br/>the admin who cloned it"]:::always
P4["Reply-to name and<br/>email left blank"]:::always
end
subgraph PAGES["Registration pages"]
direction TB
R1["Always in test,<br/>never published"]:::on
R2["New web addresses<br/>and short codes"]:::on
R3["Images and documents<br/>point at the copy's own"]:::on
R4["Activity log starts afresh:<br/>#quot;cloned from ...#quot;"]:::on
R5["Emails keep their wording,<br/>reply-to left blank"]:::on
end
When you ask an admin for a clone, tell them:
opendlp projects list finds the project's ID. Then:
opendlp projects clone PROJECT_ID --user-email admin@example.com [--title "..."] [--no-targets] [--no-questions] [--no-registration] [--respondents --for-training-or-demo] [--preserve-respondent-status] [--team] [--yes]
See docs/cli.md for the details.