KVSDMSDocStorageELO#
Implements KVSDMSDocumentStorageInterface. Summary: This interface implementation is using the ELO High Level REST API Service that is deprecated by ELO. It is recommended to use the ELO Indexserver REST interface instead. See implementation in file "DocStorageELOIndexserver.Codeunit.al" This Codeunit requires the following Permissions:
Procedures#
TestConnectivity(Text) : Boolean#
Summary: Checks whether the connectivity to the host is given.
procedure TestConnectivity(var message: Text): Boolean
Parameters:
message
: Specifies the message to show returned by the check procedure.
Returns: Return variable success of type Boolean that states if connection is possible.
UploadFile(Variant, Record KVSDMSDocumentDrive, Text, Text, Dictionary, InStream) : Text#
procedure UploadFile(sourceRecord: Variant; documentDrive: Record "KVSDMSDocumentDrive"; directoryPath: Text; fileName: Text; tags: Dictionary; fileContentAsStream: InStream): Text
UpdateFileTags(Record KVSDMSFileBuffer, Dictionary) :#
procedure UpdateFileTags(var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; updatedtags: Dictionary):
MoveAllFilesFromDirectoryToAnotherDirectory(Text, Text, Text, Text, Text, Text) :#
Summary: Move all files from an directory to another directory.
procedure MoveAllFilesFromDirectoryToAnotherDirectory(fromSiteID: Text; fromDriveID: Text; fromDirectoryPath: Text; toSiteID: Text; toDriveID: Text; toDirectoryPath: Text):
Parameters:
fromSiteID
: Site ID of the source site.fromDriveID
: Drive ID of the source drive.fromDirectoryPath
: Directory path of the source directory.toSiteID
: Site ID of the target site.toDriveID
: Drive ID of the target drive.toDirectoryPath
: Directory path of the target directory.
GetFileTags(Record KVSDMSFileBuffer, List, Dictionary, Text) : Boolean#
procedure GetFileTags(var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; filteredTagCodeList: List; var tags: Dictionary; var errorMessage: Text): Boolean
GetFileListFromDirectory(Text, Text, Text, Text, Enum KVSDMSRetrieveFileMode, Record KVSDMSFileBuffer, Text) : Boolean#
Summary: Get list of all files within a Directory.
procedure GetFileListFromDirectory(siteID: Text; driveID: Text; directoryPath: Text; fileTagsToRetrieveArray: Text; retrieveFileMode: Enum "KVSDMSRetrieveFileMode"; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var errorMessage: Text): Boolean
Parameters:
siteID
: Site Id of the site to list files from.driveID
: Drive Id of the drive to list files from.directoryPath
: Directory path to list files from.fileTagsToRetrieveArray
: Array[20] of Text specifies the list of tag codes to retrieve.retrieveFileMode
: Specifes the Enum KVSDMSRetrieveFileMode which defines which entries to retrieve.TempFileBuffer
: Temporary VAR Record KVSDMSFileBuffer specifies the returnable list of files and tags.errorMessage
: VAR Text specifies the Error Message that possibly occurs.
Returns: Return value of type Boolean specifies if procedure was successfull.
SearchFilesByTags(Dictionary, Record KVSDMSDocumentDrive, Boolean, Text, Record KVSDMSFileBuffer, Text) : Boolean#
procedure SearchFilesByTags(searchTags: Dictionary; var filteredSearchDrives: Record "KVSDMSDocumentDrive"; findDocsWithSingleTagMatch: Boolean; fileTagsToRetrieveArray: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var errorMessage: Text): Boolean
SearchFilesByText(Text, Record KVSDMSDocumentDrive, Text, Record KVSDMSFileBuffer, Text) : Boolean#
Summary: Search Files by given searchtext.
procedure SearchFilesByText(searchText: Text; var filteredSearchDrives: Record "KVSDMSDocumentDrive"; fileTagsToRetrieveArray: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var errorMessage: Text): Boolean
Parameters:
searchText
: Text defining the searchterm to search for.filteredSearchDrives
: VAR Record KVSDMSDocumentDrive specifies the document drives to search within.fileTagsToRetrieveArray
: Array[20] of Text specifies the list of tag codes to retrieve.TempFileBuffer
: Temporary VAR Record KVSDMSFileBuffer specifies the returnable list of files and tags.errorMessage
: VAR Text specifies the Error Message that possibly occurs.
Returns: Return value of type Boolean specifies if procedure was successfull.
GetURLFromDirectory(Text, Text, Text) : Text#
Summary: Get URL from directory.
procedure GetURLFromDirectory(siteID: Text; driveID: Text; directoryPath: Text): Text
Parameters:
siteID
: Site Id of the site to get the directory url from.driveID
: Drive Id of the drive to get the directory url from.directoryPath
: Directory path to get the directory url from.
Returns: Return value of type Text defines the url of the given directory path.
GetURLFromFile(Record KVSDMSFileBuffer) : Text#
Summary: Get URL from file.
procedure GetURLFromFile(var TempFileBuffer: Record "KVSDMSFileBuffer" temporary): Text
Parameters:
TempFileBuffer
: Temporary VAR Record KVSDMSFileBuffer specifies the file informations to return the url for.
Returns: Return value of type Text defines the url of the given file.
GetBase64DataStreamFromFile(Record KVSDMSFileBuffer, Text) : Boolean#
Summary: Get Base64 encoded data stream from file.
procedure GetBase64DataStreamFromFile(var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var b64FileContent: Text): Boolean
Parameters:
TempFileBuffer
: Temporary VAR Record KVSDMSFileBuffer specifies the file informations to return the Base64 encoded stream for.b64FileContent
: VAR Text specifies the base64 encoded file stream value.
Returns: Return value of type Boolean specifies if procedure was successfull.
GetBase64DataStreamFromFile(Record KVSDMSFileBuffer, Dictionary) : Boolean#
procedure GetBase64DataStreamFromFile(var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var b64FileContents: Dictionary): Boolean
DeleteEntry(Record KVSDMSFileBuffer, Text) : Boolean#
Summary: Try to delete an Entry of the DMS or ECM. Success depends on the assigned compliance rules.
procedure DeleteEntry(var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var errorMessage: Text): Boolean
Parameters:
TempFileBuffer
: Temporary VAR Record KVSDMSFileBuffer specifies the file informations to delete.errorMessage
: VAR Text specifies the Error Message that possibly occurs.
Returns: Return value of type Boolean specifies if procedure was successfull.
RetrieveAllAvailableSites(Record KVSDMSSiteBuffer) :#
Summary: Retrieve all available sites.
procedure RetrieveAllAvailableSites(var siteBuffer: Record "KVSDMSSiteBuffer"):
Parameters:
siteBuffer
: VAR Record KVSDMSSiteBuffer specifies the available sites within the DMS or ECM.
RetrieveAllAvailableDrivesForSite(Text, Record KVSDMSDriveBuffer) :#
Summary: Retrieve all available drives for given site.
procedure RetrieveAllAvailableDrivesForSite(siteID: Text; var driveBuffer: Record "KVSDMSDriveBuffer"):
Parameters:
siteID
: Site Id of the site to get the all drives from.driveBuffer
: VAR Record KVSDMSDriveBuffer specifies the available drives within the DMS or ECM for the given site.
GetSiteIDBySiteName(Text) : Text#
Summary: Get Site-ID by Site-Name.
procedure GetSiteIDBySiteName(siteName: Text): Text
Parameters:
siteName
: Specifies the name of the site to return the id for.
Returns: Return value of type Text specifies the Site-ID assigned to the site with the given name.
GetDriveIDByDriveName(Text, Text) : Text#
Summary: Get Drive-ID by Drive-Name.
procedure GetDriveIDByDriveName(siteID: Text; driveName: Text): Text
Parameters:
siteID
: Specifies the Site-Id of the site to look for a drive with the given name.driveName
: Specifies the name of the drive to return the id for.
Returns: Return value of type Text specifies the Drive-ID assigned to the drive with the given name.
LookupDirectoryPathForStorageDefinition(Text, Text, Text) : Boolean#
Summary: Lookup Directory-Path and returns a selected directory path for storage definition.
procedure LookupDirectoryPathForStorageDefinition(siteID: Text; driveID: Text; var directoryPath: Text): Boolean
Parameters:
siteID
: Specifies the Site-Id of the site to look for directories.driveID
: Specifies the Drive-Id to look for directories. A Lookup page will be opened to select the according directory path.directoryPath
: VAR Text specifies the directory path that has been choosen by the user using the lookup page.
Returns: Return value of type Boolean specifies if procedure was successfull.
GetAllArchivingSystemFieldCodes(Text, Text, Record KVSDMSTagBuffer) :#
Summary: Get all archiving system field codes (tags).
procedure GetAllArchivingSystemFieldCodes(siteID: Text; driveID: Text; var tagBuffer: Record "KVSDMSTagBuffer"):
Parameters:
siteID
: Specifies the Site-Id of the site to look for tags.driveID
: Specifies the Drive-Id to look for tags.tagBuffer
: VAR Record KVSDMSTagBuffer specifies the list of found tags .
CheckDocumentFactboxDisplayTypeAvailable(Enum KVSDMSDocumentFactbDisplayType) : Boolean#
Summary: Check if given Display Type for the Document Factbox is available.
procedure CheckDocumentFactboxDisplayTypeAvailable(docFactboxDisplayType: Enum "KVSDMSDocumentFactbDisplayType"): Boolean
Parameters:
docFactboxDisplayType
: Enum KVSDMSDocumentFactbDisplayType specifies the given display type to check the availability for.
Returns: Return value of type Boolean specifies if the given display type for the document factbox is available for the according DMS or ECM.
CheckDocumentLinkDisplayTypeAvailable(Enum KVSDMSDocumentLinkDisplayType) : Boolean#
Summary: Check if given Display Type for the Document Link is available.
procedure CheckDocumentLinkDisplayTypeAvailable(docLinkDisplayType: Enum "KVSDMSDocumentLinkDisplayType"): Boolean
Parameters:
docLinkDisplayType
: Enum KVSDMSDocumentLinkDisplayType specifies the given display type to check the availability for.
Returns: Return value of type Boolean specifies if the given display type for the document link is available for the according DMS or ECM.
GetDocumentsFactboxWebLink(Text, Codeunit KVSDMSDocumentsFactboxMgt) : Boolean#
procedure GetDocumentsFactboxWebLink(var webLinkUrl: Text; var docFactboxMgt: Codeunit "KVSDMSDocumentsFactboxMgt"): Boolean
Events#
OnBeforeSendRequestUpdateFileTags(Codeunit KVSDMSOperationPayload, Record KVSDMSFileBuffer, Dictionary) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestUpdateFileTags(var operationPayload: Codeunit "KVSDMSOperationPayload"; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; updatedTags: Dictionary):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestUpdateFileTags', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestUpdateFileTags(var operationPayload: Codeunit "KVSDMSOperationPayload"; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; updatedTags: Dictionary)
begin
end;
OnBeforeSendRequestGetFileTags(Codeunit KVSDMSOperationPayload, Text, Record KVSDMSFileBuffer, List) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestGetFileTags(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; filteredTagCodeList: List):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestGetFileTags', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestGetFileTags(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; filteredTagCodeList: List)
begin
end;
OnCheckDocumentFactboxDisplayTypeAvailableCaseElse(Enum KVSDMSDocumentFactbDisplayType, Boolean, Boolean) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('This event is obsolete and will be removed in a future version. Please use the event OnCheckDocumentFactboxDisplayTypeAvailableCaseElse23 instead.', '23.5')]
[IntegrationEvent(false, false)]
local procedure OnCheckDocumentFactboxDisplayTypeAvailableCaseElse(docFactboxDisplayType: Enum "KVSDMSDocumentFactbDisplayType"; result: Boolean; isHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnCheckDocumentFactboxDisplayTypeAvailableCaseElse', '', false, false)]
local procedure DoSomethingOnCheckDocumentFactboxDisplayTypeAvailableCaseElse(docFactboxDisplayType: Enum "KVSDMSDocumentFactbDisplayType"; result: Boolean; isHandled: Boolean)
begin
end;
OnCheckDocumentLinkDisplayTypeAvailableCaseElse(Enum KVSDMSDocumentLinkDisplayType, Boolean, Boolean) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('This event is obsolete and will be removed in a future version. Please use the event OnCheckDocumentLinkDisplayTypeAvailableCaseElse in KVSDMSDocumentStorageProcessor in KVSDMSDocumentStorageProcessor instead.', '23.5')]
[IntegrationEvent(false, false)]
local procedure OnCheckDocumentLinkDisplayTypeAvailableCaseElse(docLinkDisplayType: Enum "KVSDMSDocumentLinkDisplayType"; result: Boolean; isHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnCheckDocumentLinkDisplayTypeAvailableCaseElse', '', false, false)]
local procedure DoSomethingOnCheckDocumentLinkDisplayTypeAvailableCaseElse(docLinkDisplayType: Enum "KVSDMSDocumentLinkDisplayType"; result: Boolean; isHandled: Boolean)
begin
end;
OnBeforeGetDocumentsFactboxWebLink(Codeunit KVSDMSDocumentsFactboxMgt, Text, Boolean) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('This event is obsolete and will be removed in a future version. Please use the event OnBeforeGetDocumentsFactboxWebLink23 instead.', '23.5')]
[IntegrationEvent(false, false)]
local procedure OnBeforeGetDocumentsFactboxWebLink(var docFactboxMgt: Codeunit "KVSDMSDocumentsFactboxMgt"; var webLinkUrl: Text; isHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeGetDocumentsFactboxWebLink', '', false, false)]
local procedure DoSomethingOnBeforeGetDocumentsFactboxWebLink(var docFactboxMgt: Codeunit "KVSDMSDocumentsFactboxMgt"; var webLinkUrl: Text; isHandled: Boolean)
begin
end;
OnBeforeSendRequestGetBase64DataStreamFromFiles(Codeunit KVSDMSOperationPayload, Text, Record KVSDMSFileBuffer, Dictionary) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestGetBase64DataStreamFromFiles(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var b64FileContents: Dictionary):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestGetBase64DataStreamFromFiles', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestGetBase64DataStreamFromFiles(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var b64FileContents: Dictionary)
begin
end;
OnBeforeSendRequestDeleteEntry(Codeunit KVSDMSOperationPayload, Text, Record KVSDMSFileBuffer) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestDeleteEntry(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestDeleteEntry', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestDeleteEntry(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary)
begin
end;
OnBeforeSendRequestDeleteFileOrFolder(Codeunit KVSDMSOperationPayload, Text, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestDeleteFileOrFolder(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; fileID: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestDeleteFileOrFolder', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestDeleteFileOrFolder(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; fileID: Integer)
begin
end;
OnBeforeSendRequestRetrieveAllAvailableDrivesForSite(Codeunit KVSDMSOperationPayload, Text) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestRetrieveAllAvailableDrivesForSite(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestRetrieveAllAvailableDrivesForSite', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestRetrieveAllAvailableDrivesForSite(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text)
begin
end;
OnBeforeSendRequestGetDriveIDByDriveName(Codeunit KVSDMSOperationPayload, Text, Text) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestGetDriveIDByDriveName(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; driveName: Text):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestGetDriveIDByDriveName', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestGetDriveIDByDriveName(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; driveName: Text)
begin
end;
OnBeforeSendRequestGetAllArchivingSystemFieldCodes(Codeunit KVSDMSOperationPayload, Text, Text, Text, Record KVSDMSTagBuffer) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestGetAllArchivingSystemFieldCodes(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteID: Text; driveID: Text; var tagBuffer: Record "KVSDMSTagBuffer"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestGetAllArchivingSystemFieldCodes', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestGetAllArchivingSystemFieldCodes(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteID: Text; driveID: Text; var tagBuffer: Record "KVSDMSTagBuffer")
begin
end;
OnBeforeSendRequestCreateFileTags(Codeunit KVSDMSOperationPayload, Dictionary) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestCreateFileTags(var operationPayload: Codeunit "KVSDMSOperationPayload"; tags: Dictionary):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestCreateFileTags', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestCreateFileTags(var operationPayload: Codeunit "KVSDMSOperationPayload"; tags: Dictionary)
begin
end;
OnBeforeSendRequestUploadFile(Codeunit KVSDMSOperationPayload, Text, Record KVSDMSDocumentDrive, Text, InStream) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestUploadFile(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; documentDrive: Record "KVSDMSDocumentDrive"; fileName: Text; fileContentAsStream: InStream):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestUploadFile', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestUploadFile(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; documentDrive: Record "KVSDMSDocumentDrive"; fileName: Text; fileContentAsStream: InStream)
begin
end;
OnAfterConvertTagsToSearchFilter(Dictionary, Boolean, JsonObject) :#
[IntegrationEvent(false, false)]
local procedure OnAfterConvertTagsToSearchFilter(tags: Dictionary; findDocsWithSingleMatch: Boolean; var jObjFilter: JsonObject):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnAfterConvertTagsToSearchFilter', '', false, false)]
local procedure DoSomethingOnAfterConvertTagsToSearchFilter(tags: Dictionary; findDocsWithSingleMatch: Boolean; var jObjFilter: JsonObject)
begin
end;
OnBeforeGetFulltextSearchFilter(Text, Text, Text, Boolean) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('This event is obsolete and will be removed in a future version. Event has never been raised.', '23.5')]
[IntegrationEvent(false, false)]
local procedure OnBeforeGetFulltextSearchFilter(driveID: Text; searchText: Text; var searchFilter: Text; var isHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeGetFulltextSearchFilter', '', false, false)]
local procedure DoSomethingOnBeforeGetFulltextSearchFilter(driveID: Text; searchText: Text; var searchFilter: Text; var isHandled: Boolean)
begin
end;
OnBeforeSendRequestSearchFilesByText(Codeunit KVSDMSOperationPayload, Text, Text, Record KVSDMSDocumentDrive, Record KVSDMSFileBuffer, Text) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestSearchFilesByText(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; searchText: Text; var filteredSearchDrives: Record "KVSDMSDocumentDrive"; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var errorMessage: Text):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestSearchFilesByText', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestSearchFilesByText(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; searchText: Text; var filteredSearchDrives: Record "KVSDMSDocumentDrive"; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var errorMessage: Text)
begin
end;
OnBeforeSendRequestSearchFilesByTags(Codeunit KVSDMSOperationPayload, Text, Dictionary, Record KVSDMSDocumentDrive, Boolean, Record KVSDMSFileBuffer, Text) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestSearchFilesByTags(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; searchTags: Dictionary; var filteredSearchDrives: Record "KVSDMSDocumentDrive"; findDocsWithSingleTagMatch: Boolean; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var errorMessage: Text):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestSearchFilesByTags', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestSearchFilesByTags(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; searchTags: Dictionary; var filteredSearchDrives: Record "KVSDMSDocumentDrive"; findDocsWithSingleTagMatch: Boolean; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var errorMessage: Text)
begin
end;
OnAfterCreateTempFileBufferFromJSONObject(Record KVSDMSFileBuffer, JsonObject, Text, Text, Text) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCreateTempFileBufferFromJSONObject(var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; jObjectFile: JsonObject; siteID: Text; driveID: Text; fileTagsToRetrieveArray: Text):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnAfterCreateTempFileBufferFromJSONObject', '', false, false)]
local procedure DoSomethingOnAfterCreateTempFileBufferFromJSONObject(var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; jObjectFile: JsonObject; siteID: Text; driveID: Text; fileTagsToRetrieveArray: Text)
begin
end;
OnBeforeSendRequestGetFileListFromDirectory(Codeunit KVSDMSOperationPayload, Text, Text, Text, Text, Record KVSDMSFileBuffer, Text) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestGetFileListFromDirectory(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteID: Text; driveID: Text; directoryPath: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var errorMessage: Text):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestGetFileListFromDirectory', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestGetFileListFromDirectory(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteID: Text; driveID: Text; directoryPath: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var errorMessage: Text)
begin
end;
OnBeforeSendRequestCreateFolder(Codeunit KVSDMSOperationPayload, Text, Text, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestCreateFolder(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; folderName: Text; parentFolderId: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestCreateFolder', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestCreateFolder(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; folderName: Text; parentFolderId: Integer)
begin
end;
OnBeforeSendRequestMoveFile(Codeunit KVSDMSOperationPayload, Text, Record KVSDMSFileBuffer, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestMoveFile(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; fileBuffer: Record "KVSDMSFileBuffer"; toDirectoryID: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestMoveFile', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestMoveFile(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; fileBuffer: Record "KVSDMSFileBuffer"; toDirectoryID: Integer)
begin
end;
OnBeforeSendRequestGetURLFromDirectory(Codeunit KVSDMSOperationPayload, Text, Text, Text, Text) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestGetURLFromDirectory(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteID: Text; driveID: Text; directoryPath: Text):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestGetURLFromDirectory', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestGetURLFromDirectory(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteID: Text; driveID: Text; directoryPath: Text)
begin
end;
OnBeforeSendRequestGetURLFromFile(Codeunit KVSDMSOperationPayload, Text, Record KVSDMSFileBuffer) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestGetURLFromFile(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestGetURLFromFile', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestGetURLFromFile(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary)
begin
end;
OnBeforeSendRequestLookupDirectoryPathForStorageDefinition(Codeunit KVSDMSOperationPayload, Text, Text, Text, Text) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestLookupDirectoryPathForStorageDefinition(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteID: Text; driveID: Text; var directoryPath: Text):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeSendRequestLookupDirectoryPathForStorageDefinition', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestLookupDirectoryPathForStorageDefinition(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteID: Text; driveID: Text; var directoryPath: Text)
begin
end;
OnCheckDocumentFactboxDisplayTypeAvailableCaseElse23(Enum KVSDMSDocumentFactbDisplayType, Boolean, Boolean) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('This event is obsolete and will be removed in a future version. Please use the event OnCheckDocumentFactboxDisplayTypeAvailableCaseElse in KVSDMSDocumentStorageProcessor instead.', '24.2')]
[IntegrationEvent(false, false)]
local procedure OnCheckDocumentFactboxDisplayTypeAvailableCaseElse23(docFactboxDisplayType: Enum "KVSDMSDocumentFactbDisplayType"; var result: Boolean; var isHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnCheckDocumentFactboxDisplayTypeAvailableCaseElse23', '', false, false)]
local procedure DoSomethingOnCheckDocumentFactboxDisplayTypeAvailableCaseElse23(docFactboxDisplayType: Enum "KVSDMSDocumentFactbDisplayType"; var result: Boolean; var isHandled: Boolean)
begin
end;
OnCheckDocumentLinkDisplayTypeAvailableCaseElse23(Enum KVSDMSDocumentLinkDisplayType, Boolean, Boolean) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('This event is obsolete and will be removed in a future version. Please use the event OnCheckDocumentLinkDisplayTypeAvailableCaseElse in KVSDMSDocumentStorageProcessor instead.', '24.2')]
[IntegrationEvent(false, false)]
local procedure OnCheckDocumentLinkDisplayTypeAvailableCaseElse23(docLinkDisplayType: Enum "KVSDMSDocumentLinkDisplayType"; var result: Boolean; var isHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnCheckDocumentLinkDisplayTypeAvailableCaseElse23', '', false, false)]
local procedure DoSomethingOnCheckDocumentLinkDisplayTypeAvailableCaseElse23(docLinkDisplayType: Enum "KVSDMSDocumentLinkDisplayType"; var result: Boolean; var isHandled: Boolean)
begin
end;
OnBeforeGetDocumentsFactboxWebLink23(Codeunit KVSDMSDocumentsFactboxMgt, Text, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeGetDocumentsFactboxWebLink23(var docFactboxMgt: Codeunit "KVSDMSDocumentsFactboxMgt"; var webLinkUrl: Text; var isHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageELO", 'OnBeforeGetDocumentsFactboxWebLink23', '', false, false)]
local procedure DoSomethingOnBeforeGetDocumentsFactboxWebLink23(var docFactboxMgt: Codeunit "KVSDMSDocumentsFactboxMgt"; var webLinkUrl: Text; var isHandled: Boolean)
begin
end;