Getting Information about Express Report Objects

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.

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GetEaxMd xmlns="http://www.fsight.ru/PP.SOM.Som">
<tEax xmlns=" ">
  <id>S1!M!S!E1</id>
  </tEax>
<tArg xmlns=" ">
<pattern>
  <obInst>false</obInst>
  <grid>true</grid>
  <chart>true</chart>
  <map>true</map>
  <bubbleChart>true</bubbleChart>
  </pattern>
  </tArg>
  </GetEaxMd>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetEaxMdResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<id xmlns=" ">
  <id>S1!M!S!E1</id>
  </id>
<meta xmlns=" ">
<grid>
  <visible>1</visible>
  <active>1</active>
  <enabled>1</enabled>
  <viewScale>1.000000</viewScale>
<viewSize>
  <width>-1000</width>
  <height>-1000</height>
  <units>Mkm</units>
  </viewSize>
  <viewOrder>0</viewOrder>
  <available>1</available>
  <transposed>0</transposed>
  <displayLegend>0</displayLegend>
  <displayNumbers>0</displayNumbers>
  <displayGrid>0</displayGrid>
  <fixHeaders>1</fixHeaders>
  <fixHeadersOnPrint>1</fixHeadersOnPrint>
  <rowsHierarchical>1</rowsHierarchical>
  <columnsHierarchical>1</columnsHierarchical>
  <rowsHierarchyIndent>3.000000</rowsHierarchyIndent>
  <columnsHierarchyIndent>0</columnsHierarchyIndent>
  <headerTitleType>None</headerTitleType>
<adjust>
  <mode>Auto</mode>
  <minVisibleDataColumns>3</minVisibleDataColumns>
  <maxRowsInCell>8</maxRowsInCell>
  </adjust>
  </grid>
<chart>
  <visible>0</visible>
  <active>0</active>
  <enabled>1</enabled>
  <viewScale>1.000000</viewScale>
<viewSize>
  <width>-1000</width>
  <height>-1000</height>
  <units>Mkm</units>
  </viewSize>
  <viewOrder>1</viewOrder>
  <available>1</available>
<range>
  <left>1</left>
  <top>1</top>
  <width>3</width>
  <height>4</height>
  </range>
  <displayTotals>0</displayTotals>
  <useNormalization>0</useNormalization>
  <displayHidden>1</displayHidden>
  <buildPointNameHierarchy>0</buildPointNameHierarchy>
  <seriesInRows>1</seriesInRows>
  <seriesLimit>100</seriesLimit>
  <pointChartMode>XYY</pointChartMode>
  <singleCellRangeMode>EntireGrid</singleCellRangeMode>
  </chart>
<map>
  <visible>0</visible>
  <active>0</active>
  <enabled>0</enabled>
  <viewScale>1.000000</viewScale>
<viewSize>
  <width>-1000</width>
  <height>-1000</height>
  <units>Mkm</units>
  </viewSize>
  <viewOrder>2</viewOrder>
  <available>0</available>
  <dataIndex>-1</dataIndex>
  <pointsCount>4</pointsCount>
  <beginColor>#CA423E</beginColor>
  <endColor>#6EA45A</endColor>
<indicatorsDimension>
  <k>116</k>
  <id>DIM_1</id>
  <n>Dim_1</n>
  <vis>1</vis>
  </indicatorsDimension>
<indicatorElements>
<it>
  <Key>Color</Key>
<Value>
  <key>1</key>
  <n>First element</n>
  </Value>
  </it>
<it>
  <Key>Depth</Key>
<Value>
  <key>2</key>
  <n>Second element</n>
  </Value>
  </it>
  </indicatorElements>
<timelineDim>
  <k>112</k>
  <id>CALENDAR</id>
  <n>Calendar</n>
  <vis>1</vis>
  </timelineDim>
  </map>
  <windowsPosition>Maximized</windowsPosition>
<bubbleChart>
  <visible>0</visible>
  <active>0</active>
  <enabled>1</enabled>
  <viewScale>1.000000</viewScale>
<viewSize>
  <width>-1000</width>
  <height>-1000</height>
  <units>Mkm</units>
  </viewSize>
  <viewOrder>3</viewOrder>
  <available>1</available>
<timeLineDimension>
  <k>112</k>
  <id>CALENDAR</id>
  <n>Calendar</n>
  <vis>1</vis>
  </timeLineDimension>
<objectivesDimension>
  <k>116</k>
  <id>DIM_1</id>
  <n>Dim_1</n>
  <vis>1</vis>
  </objectivesDimension>
<indicatorsDimension>
  <k>116</k>
  <id>DIM_1</id>
  <n>Dim_1</n>
  <vis>1</vis>
  </indicatorsDimension>
<indicatorElements>
<it>
  <Key>X</Key>
<Value>
  <key>1</key>
  <n>First element</n>
  </Value>
  </it>
<it>
  <Key>Y</Key>
<Value>
  <key>2</key>
  <n>Second element</n>
  </Value>
  </it>
<it>
  <Key>Radial</Key>
<Value>
  <key>3</key>
  <n>Third element</n>
  </Value>
  </it>
<it>
  <Key>Color</Key>
<Value>
  <key>4</key>
  <n>Fourth element</n>
  </Value>
  </it>
  </indicatorElements>
  </bubbleChart>
  </meta>
  </GetEaxMdResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
 "GetEaxMd" : 
  {
   "tEax" : 
    {
     "id" : "S1!M!S!E1"
    },
   "tArg" : 
    {
     "pattern" : 
      {
       "obInst" : "false",
       "grid" : "true",
       "chart" : "true",
       "map" : "true",
       "bubbleChart" : "true"
      }
    }
  }
}

JSON response:

{
 "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"
    }
  }
}
    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()
{
//Pattern that will be used to get metadata
pattern = new EaxMdPattern()
{
obInst = false,
bubbleChart = true,
grid = true,
chart = true,
map = true
}
},
tEax = moniker
};
//Get information about express report objects
var result = somClient.GetEaxMd(tEaxMd);
return result;
}

See also:

GetEaxMd: Operation