CustomPanelViewTReadCore Method TIBCO Spotfire 7.9 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: 30.0.10915.3380 (30.0.10915.3380)
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: 7.9, 7.8, 7.7
See Also

Reference