CheckExcludeGridElem

Syntax

CheckSelectResult CheckExcludeGridElem(string mon)

Parameters

mon. Moniker of the Table visualizer.

Description

The CheckExcludeGridElem operation checks if element(s) can be excluded from table.

Comments

The operation checks if selected heading/sidehead dimension element(s) can be excluded. To execute the operation, in the mon field specify moniker of regular report instance with the !DataArea!DataSources!source key!DataSourceSlices!slice key!Views!table key postfix to work with the visualizer. The moniker can be obtained on executing the OpenPrxMeta operation.

The operation returns whether the selected element(s) can be excluded and all element(s), except for the selected one, can be excluded.

Example

Below is the example of checking if element(s) can be excluded from table. It is assumed that a table heading/sidehead element is selected. The request contains table moniker. The response returns whether the selected element can be excluded or all elements, except for the selected one, can be excluded.

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">
<CheckExcludeGridElem xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">AINBKOKJPMHFGOAECGKFDNLHBIFAAFAEMLOAJECGJHELACKJ!M!S!PNBCFPBLJPMHFGOAEKFMFNOCEOKJPPMMEAIMHDCCOFINHDFJM!DataArea!DataSources!1!DataSourceSlices!1!Views!1</mon>
  </CheckExcludeGridElem>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<CheckExcludeGridElemResult 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">
  <excludeOther xmlns="">1</excludeOther>
  <exclude xmlns="">1</exclude>
  </CheckExcludeGridElemResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"CheckExcludeGridElem" :
{
"mon" : "AINBKOKJPMHFGOAECGKFDNLHBIFAAFAEMLOAJECGJHELACKJ!M!S!PNBCFPBLJPMHFGOAEKFMFNOCEOKJPPMMEAIMHDCCOFINHDFJM!DataArea!DataSources!1!DataSourceSlices!1!Views!1"
}
}

JSON response:

{
"CheckExcludeGridElemResult" :
{
"excludeOther" : "1",
"exclude" : "1"
}
}
public static CheckSelectResult CheckExcludeGridElem(string moniker, uint sourceKey, uint sliceKey, uint viewKey)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tRef = new CheckExcludeGridElem()
{
mon = moniker + "!DataArea!DataSources!" + sourceKey + "!DataSourceSlices!" + sliceKey + "!Views!" + viewKey
};
// Check if selected heading/sidehead element(s) can be excluded
var result = somClient.CheckExcludeGridElem(tRef);
return result;
}

See also:

Working with Regular Reports