Interface WSB_IDCAFileHandler
Obsolete
Will be replaced by WSB_IDCAFileHandlerV2
Properties
Name |
Value |
Access |
Public |
ObsoleteReason |
Will be replaced by WSB_IDCAFileHandlerV2 |
ObsoleteState |
Pending |
ObsoleteTag |
1.58.0 |
Methods
wgFncDeleteFile
Deletes a file from the Document Archive.
Parameters
Type |
Name |
Description |
Record "WSB_DCAFile" |
pRecWSB_DCAFile |
A Document Archive file record containing the details on the file. |
Returns
Type |
Description |
Boolean |
true iff successful |
wgFncDownloadFile
Downloads a file from the Document Archive.
Parameters
Type |
Name |
Description |
Record "WSB_DCAFile" |
pRecWSB_DCAFile |
A Document Archive file record containing the details on the file. |
Codeunit "Temp Blob" |
vCduTempBlob |
A TempBlob containing the downloaded file contents. |
Returns
Type |
Description |
Boolean |
true iff successful |
wgFncGetRequiredOAuth2Scopes
Gets the list of scopes that this file handler requires access to.
Parameters
Type |
Name |
Description |
List |
vScopes |
The list of scopes that this file handler requires access to. |
wgFncGetSetupPage
Gets the setup page for this file handler where users can configure settings.
Returns
Type |
Description |
Integer |
The ID of the file handler's setup page. |
wgFncInitFileRecord
Performs initializations for Document Archive file records specific to this file handler.
Parameters
Type |
Name |
Description |
Record "WSB_DCAFile" |
vRecWSB_DCAFile |
A Document Archive file record. |
wgFncUploadFile
Uploads a file to the Document Archive.
Parameters
Type |
Name |
Description |
Record "WSB_DCAFile" |
pRecWSB_DCAFile |
A Document Archive file record containing the details on the file. |
Codeunit "Temp Blob" |
pCduTempBlob |
The TempBlob containing the file contents to upload. |
Returns
Type |
Description |
Boolean |
true iff successful |