EmulateGridHyperlinkClick

Syntax

EmulateGridHyperlinkClickResult EmulateGridHyperlinkClick(string mon, EaxGridEmulateHyperlinkClick tVal)

Parameters

mon. Moniker of the Table visualizer.

tVal. Parameters for emulating hyperlink click in table cell.

Description

The EmulateGridHyperlinkClick operation emulates a hyperlink click in data area table cell.

Comments

To execute the operation, in the mon field specify data area table moniker in the format: Regular report instance moniker!DataArea!Views!table key, and in the tVal field specify hyperlink click emulation parameters.

The operation results in the information about the action executed on hyperlink click.

Example

Below is the example of emulating hyperlink click in data area table cell. The request contains table moniker. The response contains information about the object opened on hyperlink click.

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">
<EmulateGridHyperlinkClick xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">S1!M!S!P1!DataArea!Views!1</mon>
<tVal xmlns="">
  <row>2</row>
  <column>0</column>
  </tVal>
  </EmulateGridHyperlinkClick>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<EmulateGridHyperlinkClickResult 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">
<obj xmlns="">
  <id>S1!M!S!P2</id>
  </obj>
  <classId xmlns="">2562</classId>
  </EmulateGridHyperlinkClickResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"EmulateGridHyperlinkClick" :
{
"mon" : "S1!M!S!P1!DataArea!Views!1",
"tVal" :
{
"row" : "2",
"column" : "0"
}
}
}

JSON response:

{
"EmulateGridHyperlinkClickResult" :
{
"obj" :
{
"id" : "S1!M!S!P2"
},
"classId" : "2562"
}
}
public static EaxGridHyperlinkClickResult EmulateGridHyperlinkClick(string moniker, uint tableKey)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClick = new EmulateGridHyperlinkClick()
{
mon = moniker + "!DataArea!Views!" + tableKey,
tVal = new EaxGridEmulateHyperlinkClick()
{
row = 2,
column = 0
}
};
//Emulate hyperlink click in cell
var result = somClient.EmulateGridHyperlinkClick(tClick);
return result;
}

See also:

Working with Regular Reports