Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

_create

_

Started state

Anchor
loginAnchor
loginAnchor

...

...

string
Parameter nameTypeOptionalityDescriptionConstraints
serverprojectstring
Status
colourGreenYellow
titleOPTIONALVARIES

Hostname Project ID of the server project from which the project files will be imported

default = https://secure.clevermaps.io

project

(info) either project or dump must be specified


dumpstring
Status
colourYellow
titleVARIES

Project ID of the project from which files will a project dump to be imported

(info) either project or dump must be specified

dump

serverOnlyboolean
Status
colourYellow
titleVARIES

ID performs import of a project dump to be importedspecified project on server

(info) either project or dump must be specified


cascadeFromstring
Status
colourGreen
titleOPTIONAL

cascade import object and all objects it references

see usage examples below


prefixstring
Status
colourGreen
titleOPTIONAL
specify a prefix for the metadata objects and data files
dashboardsboolean
Status
colourGreen
titleOPTIONAL
import dashboards only
dataPermissionsboolean
Status
colourGreen
titleOPTIONAL
import data permission only
datasetsboolean
Status
colourGreen
titleOPTIONAL
import datasets only
exportsboolean
Status
colourGreen
titleOPTIONAL
import exports only
indicatorsboolean
Status
colourGreen
titleOPTIONAL
import indicators only
indicatorDrills
boolean
Status
colourGreen
titleOPTIONAL
import indicator drills only
markersboolean
Status
colourGreen
titleOPTIONAL
import markers only
markerSelectorsboolean
Status
colourGreen
titleOPTIONAL
import marker selectors only
metricsboolean
Status
colourGreen
titleOPTIONAL
import metrics only
projectSettingsboolean
Status
colourGreen
titleOPTIONAL
import project settings only
sharesboolean
Status
colourGreen
titleOPTIONAL

import shares only


viewsboolean
Status
colourGreen
titleOPTIONAL

import views only


forceboolean
Status
colourGreen
titleOPTIONAL

ignore source project validate errors and proceed with import anyway

skip failed dataset dumps (for projects with incomplete data)

default = false


skipDataboolean
Status
colourGreen
titleOPTIONAL

skip data import

default = false


...

Code Block
themeMidnight
titleCascade import examples
// import all objects referenced from catchment_area_view including datasets & data
importProject --project djrt22megphul1a5 --server --cascadeFrom catchment_area_view

// import all objects referenced from catchment_area_view except including datasets & data
importProject --project djrt22megphul1a5 --server --cascadeFrom catchment_area_view --dashboards --exports --indicatorDrills --indicators --markerSelectors --markers --metrics --views

// import all objects referenced from catchment_area_dashboard
importProject --project djrt22megphul1a5 --serverdjrt22megphul1a --cascadeFrom catchment_area_dashboard

// import all objects (datasets) referenced from baskets dataset - data model subset
importProject --project djrt22megphul1a5 --server --force --cascadeFrom baskets

...

Info
titleUpdating existing metadata objects

When modifying already added (uploaded) metadata objects use pushProject 7537217 command for uploading modified objects to the project.

...