CustomVisualViewTReadCore Method

Spotfire 14.2 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: 64.0.19329.3263 (64.0.19329.3263)
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 CustomVisual 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: 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8, 11.7, 11.6, 11.5, 11.4
See Also

Reference