Codeunit 18122001 EOS069.03 Graph integration

Codeunit 18122001 EOS069.03 Graph integration

Methods

Init

procedure Init(CurrLib: Record "EOS069 DocLibrary")

Parameters / Return Value

  • CurrLib Record "EOS069 DocLibrary"

GetAvailableSites

procedure GetAvailableSites(var Sites: Record "Name/Value Buffer" temporary)

Parameters / Return Value

  • Sites Record "Name/Value Buffer"

GetAvailableSiteCollections

procedure GetAvailableSiteCollections(siteID: text[2048]; var Collections: Record "Name/Value Buffer" temporary)

Parameters / Return Value

  • siteID text[2048]

  • Collections Record "Name/Value Buffer"


getFilesFrom

procedure getFilesFrom(path: Text; var Collections: Record "Name/Value Buffer" temporary; downloadFile: Boolean)

Parameters / Return Value

  • path Text

  • Collections Record "Name/Value Buffer"

  • downloadFile Boolean


DownloadFile

procedure DownloadFile(path: Text; filename: Text)

Parameters / Return Value

  • path Text

  • filename Text


GetMetadataForFile

procedure GetMetadataForFile(ID: Text; var data: JsonObject)

Parameters / Return Value

  • ID Text

  • data JsonObject


GetMetadataForFile

procedure GetMetadataForFile(ID: Text; var VisibleAttributes: Record "EOS069 Library Visible Attr."; var data: JsonObject)

Parameters / Return Value

  • ID Text

  • VisibleAttributes Record "EOS069 Library Visible Attr."

  • data JsonObject


GetMetadataForFileFromPath

procedure GetMetadataForFileFromPath(path: Text; var data: JsonObject)

Parameters / Return Value

  • path Text

  • data JsonObject


GetMetadataForFileFromPath

procedure GetMetadataForFileFromPath(path: Text; var VisibleAttributes: Record "EOS069 Library Visible Attr."; var data: JsonObject)

Parameters / Return Value

  • path Text

  • VisibleAttributes Record "EOS069 Library Visible Attr."

  • data JsonObject


DeleteFile

procedure DeleteFile(FilePath: Text)

Parameters / Return Value

  • FilePath Text

UploadFileIn

procedure UploadFileIn(Path: Text; ConflictBehavior: Enum "EOS069.03 Conflict Behavior"; var TempBlob: Codeunit "Temp Blob") Filename: Text

Parameters / Return Value

  • Path Text

  • ConflictBehavior Enum "EOS069.03 Conflict Behavior"

  • TempBlob Codeunit "Temp Blob"

  • Returns Text


AddMetadata

procedure AddMetadata(Path: Text; var TempBlob: Codeunit "Temp Blob"): Text

Parameters / Return Value

  • Path Text

  • TempBlob Codeunit "Temp Blob"

  • Returns Text


GetFileLocation

procedure GetFileLocation(path: Text): Text

Parameters / Return Value

  • path Text

  • Returns Text


GetEditableFields

procedure GetEditableFields(var TempNameValueBuffer: Record "Name/Value Buffer")

Parameters / Return Value

  • TempNameValueBuffer Record "Name/Value Buffer"

GetAllFields

procedure GetAllFields(var TempNameValueBuffer: Record "Name/Value Buffer")

Parameters / Return Value

  • TempNameValueBuffer Record "Name/Value Buffer"

TestReadWrite

procedure TestReadWrite(path: Text): Boolean

Parameters / Return Value

  • path Text

  • Returns Boolean


getSiteName

procedure getSiteName(SiteId: text[2048]): Text

Parameters / Return Value

  • SiteId text[2048]

  • Returns Text


getSiteId

procedure getSiteId(SiteId: text[2048]): Text

Parameters / Return Value

  • SiteId text[2048]

  • Returns Text


getSiteName

procedure getSiteName(SiteId: guid): Text

Parameters / Return Value

  • SiteId guid

  • Returns Text


getDocLibName

procedure getDocLibName(SiteID: text; LibID: text): Text

Parameters / Return Value

  • SiteID text

  • LibID text

  • Returns Text


enumerateFoldersFrom

procedure enumerateFoldersFrom(filePath: Text; var results: record "Name/Value Buffer" temporary)

Parameters / Return Value

  • filePath Text

  • results record "Name/Value Buffer"


FolderExists

procedure FolderExists(Directory: Text): Boolean

Parameters / Return Value

  • Directory Text

  • Returns Boolean



EOS Labs -