publications

Available for:Map PanelBI Map PanelRecipe PanelCustom Panel

The Publications interface allows to publish and manage published assets which are stored in Smart M.App Platform.

Methods

Name Summary
get

Get published dataset

publish

Publish dataset

Methods • Details

get(id, callback, errback) → {void}(async, static)

async
Available for:Map PanelBI Map PanelRecipe PanelCustom Panel

Get published dataset

Parameters

Name Type Description
id string

An id of the dataset

callback optional

Callback executed on a success

errback optional

Callback executed on a failure

Returns

TypeDescription
void

publish(config, callback, errback) → {void}(async, static)

async
Available for:Map PanelBI Map PanelRecipe PanelCustom Panel

Publish dataset

Parameters

Name Type Description
config Object
{
 "id": Object,
 "title": Object
}

A configuration object

id

An id of the dataset

title

A title of the published dataset

callback optional

Callback executed on a success

errback optional

Callback executed on a failure

Returns

TypeDescription
void