EmulateGridHyperlinkClickResult EmulateGridHyperlinkClick(string mon, EaxGridEmulateHyperlinkClick tVal)
mon. Moniker of the Table visualizer.
tVal. Parameters for emulating hyperlink click in table cell.
The EmulateGridHyperlinkClick operation emulates a hyperlink click in data area table cell.
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.
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.
{
"EmulateGridHyperlinkClick" :
{
"mon" : "S1!M!S!P1!DataArea!Views!1",
"tVal" :
{
"row" : "2",
"column" : "0"
}
}
}
{
"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: