Versions Compared

Key

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

Project settings object is used to define project specific features. It references only datasets. Also, apart from other metadata objects, there can be only one project settings object in a project.

...

Key

Type

Optionality

Description

Constraints

geoSearchCountries

array

Status
colourRed
titlerequired

array of ISO 3166 alpha-2 country codes, to which the geographic search will be limited

(A-Z)

geoSearchProviders

array

Status
colourRed
titlerequired

list of geosearch providers

default = [Mapbox]

[Mapbox]

projectTemplate

object

Status
colourGreen
titleoptional

object containing settings related to project templates


trustedOrigins

array

Status
colourGreen
titleoptional

list of whitelisted URL for iFrame postMessage API. Add a URL if you want to communicate with iFrame from your page.

protocol://host.name.domain(:PORT)?

allowUnsecuredOrigins

boolean

Status
colourGreen
titleoptional

allows embedding of current project to any URL and communicate via postMessage API. Enabling this option could have a security impact, please consider security risk of this setting.

Values in trustedOrgins are ignored once allowUnsecuredOrigins is set to true.

default = false


defaultViews

array

Status
colourGreen
titleoptional

list of views (URLs corresponding to views) to be displayed in UI/dumped into project dump for all project members

An order of views in defaultViews array defines the order in which views are displayed in project page in UI.

Views that are not listed in defaultViews (i.e. personal saved views) are visible only to creator and are displayed in alphabetical order at the end of view list in project page in UI.

Personal saved views are marked in UI with an icon in the corner of view tile as follows:

Image Added

"^/rest/projects/(\\$projectId|[a-z0-9]{16})/md/views(\\?name=[a-z0-9_-]+|/[a-z0-9]+)$"

...

Key

Type

Optionality

Description

Constraints

dataset

string

Status
colourGreen
titleoptional

URL link to the dataset, which will be loadable with data during custom create project

/rest/projects/$projectId/md/datasets?name={datasetName}

...