OpenAdHoc

Syntax

OpenAdHocResult OpenAdHoc(OdId tObject, AdHocOpenArg tOpenArg)

Parameters

tObject. Moniker of the object that is a dashboard.

tOpenArg. Dashboard opening parameters.

Description

The OpenAdHoc operation opens a dashboard and returns the context to work with dashboard contents.

Comments

The operation gets access to dashboard data and metadata. To execute the operation, in the tObject field specify dashboard moniker, and in the tOpenArg field specify opening parameters. The moniker can be obtained on executing the GetObjects operation. The tOpenArg opening parameters enable the user to determine the opening mode (tOpenArg.openForEdit), the pattern to get data and metadata (tOpenArg.getMd), and also pass values of the parameters that will be used to open parametric objects used in the dashboard. The operation results in the moniker of opened dashboard instance and metadata if the tOpenArg.GetMd field is determined. Use the GetAdHoc, SetAdHoc operations to further work with the dashboard. Use the CloseAdHoc operation to close the opened dashboard instance and check in resources.

Example

The example of opening a dashboard for edit. The request contains a dashboard moniker and a common metadata getting pattern. The response contains the opened dashboard instance moniker and the requested metadata.

SOAP

JSON

C#

See also:

Working with Dashboard