Skip to content

KVSDMSDocStorageSharePointOnli#

Implements KVSDMSDocumentStorageInterface. Summary: This Codeunit requires the following GRAPH API-Permissions: Sites.ReadWrite.All, Files.ReadWrite.All, either as Application or Delegated 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#

procedure GetFileListFromDirectory(siteID: Text; driveID: Text; directoryPath: Text; fileTagsToRetrieveArray: Text; retrieveFileMode: Enum "KVSDMSRetrieveFileMode"; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var errorMessage: Text): Boolean

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#

procedure SearchFilesByText(searchText: Text; var filteredSearchDrives: Record "KVSDMSDocumentDrive"; fileTagsToRetrieveArray: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; var errorMessage: Text): Boolean

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.

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::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestUpdateFileTags', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestUpdateFileTags(var operationPayload: Codeunit "KVSDMSOperationPayload"; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; updatedTags: Dictionary)
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::"KVSDMSDocStorageSharePointOnli", '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;

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::"KVSDMSDocStorageSharePointOnli", '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::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestGetURLFromFile', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestGetURLFromFile(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary)
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::"KVSDMSDocStorageSharePointOnli", '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::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestDeleteEntry', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestDeleteEntry(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary)
begin
end;

OnBeforeSendRequestRetrieveAllAvailableSites(Codeunit KVSDMSOperationPayload, Text) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestRetrieveAllAvailableSites(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestRetrieveAllAvailableSites', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestRetrieveAllAvailableSites(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text)
begin
end;

OnBeforeSendRequestRetrieveAllAvailableDrivesForSite(Codeunit KVSDMSOperationPayload, Text, Text) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestRetrieveAllAvailableDrivesForSite(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteID: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestRetrieveAllAvailableDrivesForSite', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestRetrieveAllAvailableDrivesForSite(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteID: Text)
begin
end;

OnBeforeSendRequestGetSiteIDBySiteName(Codeunit KVSDMSOperationPayload, Text, Text) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestGetSiteIDBySiteName(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteName: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestGetSiteIDBySiteName', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestGetSiteIDBySiteName(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteName: Text)
begin
end;

OnBeforeSendRequestGetDriveIDByDriveName(Codeunit KVSDMSOperationPayload, Text, Text, Text) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestGetDriveIDByDriveName(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteID: Text; driveName: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestGetDriveIDByDriveName', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestGetDriveIDByDriveName(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteID: Text; driveName: Text)
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::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestLookupDirectoryPathForStorageDefinition', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestLookupDirectoryPathForStorageDefinition(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteID: Text; driveID: Text; var directoryPath: 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::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestGetAllArchivingSystemFieldCodes', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestGetAllArchivingSystemFieldCodes(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; siteID: Text; driveID: Text; var tagBuffer: Record "KVSDMSTagBuffer")
begin
end;

OnRetrieveActualSiteIDFromGraphAPIResult(Text, Text) :#

[IntegrationEvent(false, false)]
local procedure OnRetrieveActualSiteIDFromGraphAPIResult(siteID: Text; var result: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnRetrieveActualSiteIDFromGraphAPIResult', '', false, false)]
local procedure DoSomethingOnRetrieveActualSiteIDFromGraphAPIResult(siteID: Text; var result: Text)
begin
end;

OnAfterConvertTagsToSearchFilter(Dictionary, Boolean, TextBuilder) :#

[IntegrationEvent(false, false)]
local procedure OnAfterConvertTagsToSearchFilter(tags: Dictionary; findDocsWithSingleMatch: Boolean; var filterStringBuilder: TextBuilder): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnAfterConvertTagsToSearchFilter', '', false, false)]
local procedure DoSomethingOnAfterConvertTagsToSearchFilter(tags: Dictionary; findDocsWithSingleMatch: Boolean; var filterStringBuilder: TextBuilder)
begin
end;

OnBeforeSendRequestUploadSmallFile(Codeunit KVSDMSOperationPayload, Text, Text, Text, Text, InStream) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestUploadSmallFile(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; driveID: Text; directoryPath: Text; fileName: Text; fileContentAsStream: InStream): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestUploadSmallFile', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestUploadSmallFile(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; driveID: Text; directoryPath: Text; fileName: Text; fileContentAsStream: InStream)
begin
end;

OnBeforeSendRequestUploadLargeFile(Codeunit KVSDMSOperationPayload, Text, InStream, InStream) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestUploadLargeFile(var operationPayload: Codeunit "KVSDMSOperationPayload"; uploadURL: Text; var uploadChunkInStream: InStream; var fileContentAsStream: InStream): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestUploadLargeFile', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestUploadLargeFile(var operationPayload: Codeunit "KVSDMSOperationPayload"; uploadURL: Text; var uploadChunkInStream: InStream; var fileContentAsStream: InStream)
begin
end;

OnBeforeSendRequestAcquireUploadSessionForLargeFile(Codeunit KVSDMSOperationPayload, Text, Text, Text, Text) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestAcquireUploadSessionForLargeFile(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; driveID: Text; directoryPath: Text; fileName: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestAcquireUploadSessionForLargeFile', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestAcquireUploadSessionForLargeFile(var operationPayload: Codeunit "KVSDMSOperationPayload"; var queryText: Text; driveID: Text; directoryPath: Text; fileName: 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::"KVSDMSDocStorageSharePointOnli", '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;

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::"KVSDMSDocStorageSharePointOnli", '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;

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::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestGetFileTags', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestGetFileTags(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; filteredTagCodeList: List)
begin
end;

OnAfterCreateTempFileBufferFromJSONObject(Record KVSDMSFileBuffer, JsonObject, Text, Text, Text, Text, Text, Text, Text, Text, Text) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCreateTempFileBufferFromJSONObject(var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; jObjectFile: JsonObject; siteID: Text; driveID: Text; directoryPath: Text; pathToID: Text; pathToName: Text; pathToMimeType: Text; pathToDirectory: Text; pathToTags: Text; fileTagsToRetrieveArray: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnAfterCreateTempFileBufferFromJSONObject', '', false, false)]
local procedure DoSomethingOnAfterCreateTempFileBufferFromJSONObject(var TempFileBuffer: Record "KVSDMSFileBuffer" temporary; jObjectFile: JsonObject; siteID: Text; driveID: Text; directoryPath: Text; pathToID: Text; pathToName: Text; pathToMimeType: Text; pathToDirectory: Text; pathToTags: Text; fileTagsToRetrieveArray: Text)
begin
end;

OnBeforeSendRequestGetFolderID(Codeunit KVSDMSOperationPayload, Text, Text, Text) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestGetFolderID(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; driveID: Text; directoryPath: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestGetFolderID', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestGetFolderID(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; driveID: Text; directoryPath: Text)
begin
end;

OnBeforeSendRequestMoveFileWithinDrive(Codeunit KVSDMSOperationPayload, Text, Record KVSDMSFileBuffer, Text) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestMoveFileWithinDrive(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; fileBuffer: Record "KVSDMSFileBuffer"; toDirectoryID: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestMoveFileWithinDrive', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestMoveFileWithinDrive(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; fileBuffer: Record "KVSDMSFileBuffer"; toDirectoryID: Text)
begin
end;

OnBeforeSendRequestDeleteFileAfterCopyToOtherDrive(Codeunit KVSDMSOperationPayload, Text, Text, Text) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestDeleteFileAfterCopyToOtherDrive(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; driveID: Text; fileID: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestDeleteFileAfterCopyToOtherDrive', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestDeleteFileAfterCopyToOtherDrive(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; driveID: Text; fileID: Text)
begin
end;

OnBeforeSendRequestCreateFolder(Codeunit KVSDMSOperationPayload, Text, Text, Text) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSendRequestCreateFolder(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; driveID: Text; directoryPath: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnBeforeSendRequestCreateFolder', '', false, false)]
local procedure DoSomethingOnBeforeSendRequestCreateFolder(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; driveID: Text; directoryPath: Text)
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::"KVSDMSDocStorageSharePointOnli", '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 OnCheckDocumentLinkDisplayTypeAvailableCaseElse23 instead.', '23.5')]
[IntegrationEvent(false, false)]
local procedure OnCheckDocumentLinkDisplayTypeAvailableCaseElse(docLinkDisplayType: Enum "KVSDMSDocumentLinkDisplayType"; result: Boolean; isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnCheckDocumentLinkDisplayTypeAvailableCaseElse', '', false, false)]
local procedure DoSomethingOnCheckDocumentLinkDisplayTypeAvailableCaseElse(docLinkDisplayType: Enum "KVSDMSDocumentLinkDisplayType"; result: Boolean; isHandled: Boolean)
begin
end;

OnCheckDocumentFactboxDisplayTypeAvailableCaseElse23(Enum KVSDMSDocumentFactbDisplayType, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnCheckDocumentFactboxDisplayTypeAvailableCaseElse23(docFactboxDisplayType: Enum "KVSDMSDocumentFactbDisplayType"; var result: Boolean; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnCheckDocumentFactboxDisplayTypeAvailableCaseElse23', '', false, false)]
local procedure DoSomethingOnCheckDocumentFactboxDisplayTypeAvailableCaseElse23(docFactboxDisplayType: Enum "KVSDMSDocumentFactbDisplayType"; var result: Boolean; var isHandled: Boolean)
begin
end;

OnCheckDocumentLinkDisplayTypeAvailableCaseElse23(Enum KVSDMSDocumentLinkDisplayType, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnCheckDocumentLinkDisplayTypeAvailableCaseElse23(docLinkDisplayType: Enum "KVSDMSDocumentLinkDisplayType"; var result: Boolean; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnCheckDocumentLinkDisplayTypeAvailableCaseElse23', '', false, false)]
local procedure DoSomethingOnCheckDocumentLinkDisplayTypeAvailableCaseElse23(docLinkDisplayType: Enum "KVSDMSDocumentLinkDisplayType"; var result: Boolean; var isHandled: Boolean)
begin
end;

OnBeforeGetGetContentTypesOfDrive(Codeunit KVSDMSOperationPayload, Text, Text) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeGetGetContentTypesOfDrive(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; driveID: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnBeforeGetGetContentTypesOfDrive', '', false, false)]
local procedure DoSomethingOnBeforeGetGetContentTypesOfDrive(var operationPayload: Codeunit "KVSDMSOperationPayload"; queryText: Text; driveID: Text)
begin
end;
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::"KVSDMSDocStorageSharePointOnli", 'OnBeforeGetDocumentsFactboxWebLink', '', false, false)]
local procedure DoSomethingOnBeforeGetDocumentsFactboxWebLink(var docFactboxMgt: Codeunit "KVSDMSDocumentsFactboxMgt"; var webLinkUrl: Text; 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::"KVSDMSDocStorageSharePointOnli", 'OnBeforeGetDocumentsFactboxWebLink23', '', false, false)]
local procedure DoSomethingOnBeforeGetDocumentsFactboxWebLink23(var docFactboxMgt: Codeunit "KVSDMSDocumentsFactboxMgt"; var webLinkUrl: Text; var isHandled: Boolean)
begin
end;

OnAfterBuildSearchQueryByTags(Dictionary, Boolean, TextBuilder) :#

[IntegrationEvent(false, false)]
local procedure OnAfterBuildSearchQueryByTags(searchTags: Dictionary; findDocsWithSingleTagMatch: Boolean; var queryBuilder: TextBuilder): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocStorageSharePointOnli", 'OnAfterBuildSearchQueryByTags', '', false, false)]
local procedure DoSomethingOnAfterBuildSearchQueryByTags(searchTags: Dictionary; findDocsWithSingleTagMatch: Boolean; var queryBuilder: TextBuilder)
begin
end;