Below is the example of using the GetEaxMd operation to get information about express report table, chart, map, and bubble chart. The request contains moniker of opened express report instance and the pattern indicating whether information about the specified objects must be obtained. The response contains the obtained information.
{ "GetEaxMd" : { "tEax" : { "id" : "S1!M!S!E1" }, "tArg" : { "pattern" : { "obInst" : "false", "grid" : "true", "chart" : "true", "map" : "true", "bubbleChart" : "true" } } } }
{ "GetEaxMdResult" : { "id" : { "id" : "S1!M!S!E1" }, "meta" : { "grid" : { "visible" : "1", "active" : "1", "enabled" : "1", "viewScale" : "1.000000", "viewSize" : { "width" : "-1", "height" : "-1", "units" : "DLU96" }, "viewOrder" : "0", "available" : "1", "transposed" : "0", "displayLegend" : "0", "displayNumbers" : "0", "displayGrid" : "0", "fixHeaders" : "1", "fixHeadersOnPrint" : "1", "rowsHierarchical" : "1", "columnsHierarchical" : "1", "rowsHierarchyIndent" : "3.000000", "columnsHierarchyIndent" : "0", "headerTitleType" : "None", "adjust" : { "mode" : "Auto", "minVisibleDataColumns" : "3", "maxRowsInCell" : "8" }, "isEnabledRowsGrowth" : "0", "isEnabledColsGrowth" : "0", "canEnableRowsGrowth" : "1", "canEnableColsGrowth" : "1", "dataDisplayMode" : "Interactive" }, "chart" : { "visible" : "0", "active" : "0", "enabled" : "1", "viewScale" : "1.000000", "viewSize" : { "width" : "-1", "height" : "-1", "units" : "DLU96" }, "viewOrder" : "1", "available" : "1", "range" : { "left" : "1", "top" : "1", "width" : "3", "height" : "4" }, "dataRange" : { "left" : "0", "top" : "0", "width" : "0", "height" : "0", "type" : "None" }, "displayTotals" : "0", "useNormalization" : "0", "displayHidden" : "1", "buildPointNameHierarchy" : "0", "seriesInRows" : "1", "seriesLimit" : "100", "pointChartMode" : "XYY", "singleCellRangeMode" : "EntireGrid" }, "map" : { "visible" : "0", "active" : "0", "enabled" : "0", "viewScale" : "1.000000", "viewSize" : { "width" : "-1", "height" : "-1", "units" : "DLU96" }, "viewOrder" : "5", "available" : "0", "dataIndex" : "-1", "pointsCount" : "4", "beginColor" : "#CA423E", "endColor" : "#6EA45A", "enable3D" : "0" }, "windowsPosition" : "Maximized", "bubbleChart" : { "visible" : "0", "active" : "0", "enabled" : "1", "viewScale" : "1.000000", "viewSize" : { "width" : "-1", "height" : "-1", "units" : "DLU96" }, "viewOrder" : "4", "available" : "0" }, "hasPivot" : "1" } } }
The specified GetEaxObjectInfo function extracts information about express report objects. The express report instance moniker is sent as an input parameter. The function body must contain a pattern with the list of express report objects. The result of the function is the result of the operation.
public static GetEaxMdResult GetEaxObjectInfo(EaxId moniker) { var somClient = new SomPortTypeClient(); //Proxy object for operation execution //Operation execution parameters var tEaxMd = new GetEaxMd() { tArg = new GetEaxMdArg() { //The pattern, according to which the metadata will be extracted pattern = new EaxMdPattern() { obInst = false, bubbleChart = true, grid = true, chart = true, map = true } }, tEax = moniker }; //Get information on express report objects var result = somClient.GetEaxMd(tEaxMd); return result; }
See also: