GetTabObjectSettings

Syntax

TabObjectSettings GetTabObjectSettings(TabObjId tTabObject)

Parameters

tTabObject. Table object moniker.

Description

The GetTabObjectSettings operation gets table object settings.

Comments

To execute the operation, in the tTabObject field specify table object moniker. The moniker is created in the in the following format: regular report sheet moniker!Objects!object identifier.

The operation results in the obtained object settings.

Example

Below is the example of getting settings of the chart located on a regular report sheet. The request contains moniker for working with chart settings. The response contains the obtained settings.

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">
<GetTabObjectSettings xmlns="http://www.fsight.ru/PP.SOM.Som">
<tTabObject xmlns="">
  <id>GELCPBJDAHMNFOAEOGANNOOIMCBDPMLEFKAFDIFHOKGGDEFD!M!S!PLBMFNEJDAHMNFOAEKCMNMAJAJPHAFBGEILMEHGGEFPOMHMFJ!Sheets!1!Objects!PrxChart1</id>
  </tTabObject>
  </GetTabObjectSettings>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetTabObjectSettingsResult 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">
  <tot xmlns="" />
  <tomm xmlns="">5</tomm>
  <toam xmlns="">2</toam>
  <prn xmlns="">1</prn>
  <trp xmlns="">0</trp>
  <a xmlns="">0</a>
  </GetTabObjectSettingsResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetTabObjectSettings" :
{
"tTabObject" :
{
"id" : "GELCPBJDAHMNFOAEOGANNOOIMCBDPMLEFKAFDIFHOKGGDEFD!M!S!PLBMFNEJDAHMNFOAEKCMNMAJAJPHAFBGEILMEHGGEFPOMHMFJ!Sheets!1!Objects!PrxChart1"
}
}
}

JSON response:

{
"GetTabObjectSettingsResult" :
{
"tot" : "",
"tomm" : "5",
"toam" : "2",
"prn" : "1",
"trp" : "0",
"a" : "0"
}
}
public static TabObjectSettings GetTabObjectSettings(string reportMoniker, string sheetKey, string objectId)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetTabObjectSettings()
{
tTabObject = new TabObjId() { id = reportMoniker + "!Sheets!" + sheetKey + "!Objects!" + objectId}
};
// Get table object settings
var result = somClient.GetTabObjectSettings(tGet);
return result;
}

See also:

Table: Operations