HieService.getSetMetadataSettings

Syntax

getSetMetadataSettings (hie);

Parameters

hie. Sets a hierarchy object.

Description

The getSetMetadataSettings method returns body of the request to save series hierarchy metadata.

Example

To execute the example, the user must create a service for working with time series hieSrv (see HieService.getChildEls) and add the following code to the handler that processes document opening:

console.log("Get body of request to save series hierarchy metadata");
hie = res.Args.Hier;
var bodySetMdSettings = hieSrv.getSetMetadataSettings(hie);
console.log(bodySetMdSettings);

After executing the example the browser console displays body of the request to save series hierarchy metadata:

Get body of the request to save series hierarchy metadata

Object {SetHieMd: Object}

See also:

HieService