CustomVisualViewTReadCore Method TIBCO Spotfire 7.6 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: 25.11.10401.3615 (25.11.10401.3615)
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 CustomVisual node in the document that this CustomVisualView 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 Custom Visual 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.6, 7.5
See Also

Reference