CustomPanelViewTReadCore Method

TIBCO Spotfire 11.4 API Reference
Override this method to read from the snapshot node using the specified arguments.

Namespace:  Spotfire.Dxp.Application.Extension
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
Syntax

C#
protected virtual string ReadCore(
	string method,
	string args,
	T snapshotNode
)

Parameters

method
Type: SystemString
The method. This string can be used to switch on what the UI needs to perform and how the argument shall be interpreted.
args
Type: SystemString
The arguments. Typically a serialized JSON object passed from the associated UI.
snapshotNode
Type: T
A readonly snapshot of the CustomPanel node in the document that this CustomPanelView implements view for.

Return Value

Type: String
The result, typically a JSON serialized object.
Remarks

This method is called on a background thread and may only read the CustomPanel that is passed as the snapshotNode parameter. To call this method from the HTML/Javascript UI, use Spotfire.read("method", args, callback); The specified callback will then be invoked with the string returned by this method.
Version Information

Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference