Click or drag to resize

MatrixDataProviderExtensionOverrideMatrixData Method

Allows overriding matrix data (Revisions, CustomScopes) for files when the CT Core is about to read and cache it. Enables custom data sourcing for Revisions and CustomScopes.

Namespace:  CTExtensions.Interfaces
Assembly:  CTInterface (in CTInterface.dll)
Syntax
public virtual bool OverrideMatrixData(
	string bsFilename,
	string bsConfiguration,
	ctPropertyScope eScope,
	string bsData,
	ref string pbsOverriddenData
)

Parameters

bsFilename
Type: SystemString
File name
bsConfiguration
Type: SystemString
Configuration Name, or empty for Document Properties
eScope
Type: ctPropertyScope
Scope of the matrix data. Should be ctPropertyScopeRevision, or one of ctPropertyScopeCustom1 to ctPropertyScopeCustom4.
bsData
Type: SystemString
Original stored data
pbsOverriddenData
Type: SystemString
Overridden data; must return true to use. Use MatrixDataProviderExtensionMatrixData to help with correct data formation.

Return Value

Type: Boolean
Return true to use pbsOverriddenData; false to ignore.
Availability

CUSTOMTOOLS 2022 SP1


See Also