ResetPrxStyleSheet

Syntax

bool ResetPrxStyleSheet(string mon)

Parameters

mon. Moniker of opened regular report instance.

Description

The ResetPrxStyleSheet operation disables the repository styles table used in regular report.

Comments

To execute the operation, in the mon field specify moniker of opened regular report instance, in which a styles table is connected.

The operation results in the logical True if the styles table was disconnected successfully.

Example

Below is the example of disconnecting the styles table used in regular report. The request contains moniker of opened regular report instance. The response contains whether the styles table was disconnected successfully.

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">
<ResetPrxStyleSheet xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">BHGFKLHCBNDPFOAEABNELEOBLJJGGNLEBKOPJFEJDMKMADKA!M!S!PDBPIEBICBNDPFOAELDHONAGEJFGJIEMEGINMKELIDHFLHMIB</mon>
  </ResetPrxStyleSheet>
  </s:Body>
  </s:Envelope>

SOAP response:

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

JSON request:

{
"ResetPrxStyleSheet" :
{
"mon" : "BHGFKLHCBNDPFOAEABNELEOBLJJGGNLEBKOPJFEJDMKMADKA!M!S!PDBPIEBICBNDPFOAELDHONAGEJFGJIEMEGINMKELIDHFLHMIB"
}
}

JSON response:

{
"ResetPrxStyleSheetResult" : "1"
}
public static bool ResetPrxStyleSheet(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tDel = new ResetPrxStyleSheet()
{
mon = moniker
};
// Disconnect styles table
var result = somClient.ResetPrxStyleSheet(tDel);
return result;
}

See also:

Working with Regular Reports