SharePoint

  • 2 minutes to read

coduenit CFL SharePoint Mgt.

procedure CFLSharePointGetFile

procedure CFLSharePointGetFile(DriveID: text; FilePath: text; var CFLFiles: record "CFL Files")

Gebruik deze functie om een bestand op te halen uit SharePoint. Het bestand wordt doorgegeven via de CFLFiles-parameter.

procedure CFLSharePointExistFile

procedure CFLSharePointExistFile(DriveID: text; FilePath: text): Boolean;

Gebruik deze functie om na te gaan of een bestand bestaat in SharePoint.

procedure CFLSharePointDeleteFile

procedure CFLSharePointDeleteFile(DriveID: text; FilePath: text): Boolean;

Gebruik deze functie om een bestand op te verwijderen uit SharePoint.

procedure CFLSharePointCopyFile

procedure CFLSharePointCopyFile(DriveID: text; sourcefilename: text; destiantionfilename: text; DeleteSource: boolean): Boolean;

Gebruik deze functie om een bestand op te kopiƫren in SharePoint.

procedure CFLSharePointPutFiles

procedure CFLSharePointPutFiles(DriveID: text; var CFLFiles: record "CFL Files")

Gebruik deze functie om een bestanden op te slaan in SharePoint. De bestanden worden doorgegeven via de CFLFiles-parameter.
Het veld "CFL Blob" bevat het bestand.
Het veld "CFL Name" bevat pad+naam van het bestand.

procedure CFLSharePointExistFolder

procedure CFLSharePointExistFolder(DriveID: text; Path: text): Boolean;

Gebruik deze functie om na te gaan of een map bestaat in SharePoint.

procedure CFLSharePointFolderDelete

procedure CFLSharePointFolderDelete(DriveID: text; path: text): Boolean

Gebruik deze functie om een map op te verwijderen uit SharePoint.

procedure CFLSharePointFolderNew

procedure CFLSharePointFolderNew(DriveID: text; path: text): Boolean

Gebruik deze functie om een nieuwe map te maken in SharePoint.

procedure CFLSharePointFolderListFolder

procedure CFLSharePointFolderListFolder(DriveID: text; path: text; Recurse: boolean) Folders: List of [Text]

Gebruik deze functie om de mappen in een SharePoint-map op te lijsten.

procedure CFLSharePointFolderListFile

procedure procedure CFLSharePointFolderListFile(DriveID: text; path: text; Recurse: boolean) Files: dictionary of [Text, Text]

Gebruik deze functie om de bestanden in een SharePoint-map op te lijsten.

procedure CFLSharePointEditFile

procedure CFLSharePointEditFile(DriveID: text; FilePath: text): Boolean

Gebruik deze functie om een bestand op SharePoint te openen in bewerkmodus.

procedure CFLConvertToPDF

procedure CFLConvertToPDF(BearerToken: text; DriveID: text; FilePath: text; var CFLFiles: record "CFL Files"): Boolean

Gebruik deze functie om een bestand op SharePoint te converteren naar pdf-formaat.

procedure CFLSharePointGetFileColumns

procedure CFLSharePointGetFileColumns(CFLRootSybFolderType: enum "CFL Root Sub Folder Type"; path: text; var SharePointListColumns: record "CFL SharePoint Column")

Gebruik deze functie om een de metadata van een bestand in SharePoint op te vragen.