SetAdHoc

Syntax

SetAdHocResult SetAdHoc(AdHocId tAdHocId, SetAdHocMdArg tArg)

Parameters

tAdHocId. Opened dashboard instance moniker.

tArg. Operation execution parameters.

Description

The SetAdHoc operation changes metadata of a dashboard.

Comments

This operation enables the user to change dashboard structure (set layout, determine block data sources), set up dimension synchronization parameters, determine slide parameters. To execute the operation, in the tAdHocId field specify the dashboard instance moniker, and in the tArg.pattern field specify the pattern, according to which metadata is changed, and in the tArg.meta field specify updated metadata. The moniker can be obtained on executing the OpenAdhoc operation. If the tArg.metaGet field is defined, the operation results in the updated metadata obtained after it has been changed. After changes have been made, use the SaveObject or SaveObjectAs operation to save the dashboard.

Example

The example of changing a dashboard active slide. The request contains identifier of the slide to be made active, and the pattern that indicates whether slide information must be changed. The response contains updated general information about dashboard slides.

SOAP

JSON

C#

See also:

Working with Dashboard