Click or drag to resize
FileHandlerExtensionImportSavedFile Method
Notification given on file save and at Import. Allow performing extra work to outside system for those file, and to prevent CT from importing files to its DB.

Namespace: CTExtensions.Interfaces
Assembly: CTInterface (in CTInterface.dll)
Syntax
public virtual bool ImportSavedFile(
	string bsFilename,
	ref bool pbAllowCTImport
)

Parameters

bsFilename
Type: SystemString
File that's about to be imported
pbAllowCTImport
Type: SystemBoolean
Set to false and return true if you wish to prevent CT from importing the file.

Return Value

Type: Boolean
Return true if core should handle pbAllowCTImport argument
Availability

CUSTOMTOOLS 2019 SP0


See Also