Codeunit 18091284 EOS028 CFG Graph Integration

Codeunit 18091284 EOS028 CFG Graph Integration

Methods

Init

procedure Init(CurrLib: Record "EOS028 CFG Configurator Setup")

This procedure inits the graph integration.

Parameters / Return Value

  • CurrLib Record "EOS028 CFG Configurator Setup"

    “CurrLib” contains setup.


GetAvailableSites

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

This procedure gets available sites.

Parameters / Return Value

  • Sites Record "Name/Value Buffer"

    Available sites


GetSiteName

procedure GetSiteName(siteID: guid; Set_Token: Boolean): Text

Parameters / Return Value

  • siteID guid

  • Set_Token Boolean

  • Returns Text[]


GetSiteName

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

This procedure gets site name.

Parameters / Return Value

  • SiteId text[2048]

    Site ID

  • Returns Text[]


GetAvailableSiteCollections

procedure GetAvailableSiteCollections(siteID: guid; var Collections: Record "Name/Value Buffer" temporary)

Parameters / Return Value

  • siteID guid

  • Collections Record "Name/Value Buffer"


GetAvailableSiteCollections

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

This procedure gets available site collections.

Parameters / Return Value

  • siteID text[2048]

    Site ID

  • Collections Record "Name/Value Buffer"

    Collections


GetDocLibName

procedure GetDocLibName(siteID: guid; CollectionID: guid; SetToken: Boolean): Text

Parameters / Return Value

  • siteID guid

  • CollectionID guid

  • SetToken Boolean

  • Returns Text[]


GetDocLibName

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

This procedure gets document library name.

Parameters / Return Value

  • SiteID text[]

    Site ID

  • LibID text[]

    Collection ID

  • Returns Text[]

    Document library name


DeleteFile

procedure DeleteFile(FilePath: Text)

Parameters / Return Value

  • FilePath Text[]

UploadFileIn

procedure UploadFileIn(Path: Text; var TempBlob: Codeunit "Temp Blob"; var ErrorMessage: Text) Filename: Text

This procedure uploads file with graph integration.

Parameters / Return Value

  • Path Text[]

    Path

  • TempBlob Codeunit "Temp Blob"

    TempBlob contains file

  • ErrorMessage Text[]

    Error message

  • Returns Text[]


WriteExcel

procedure WriteExcel(var TempBlob: Codeunit "Temp Blob"; fileID: Text; sheetName: Text; rangeFrom: Text; rangeTo: Text; var ErrorMessage: Text)

This procedure writes in a file excel.

Parameters / Return Value

  • TempBlob Codeunit "Temp Blob"

    Contains file excel

  • fileID Text[]

    File ID

  • sheetName Text[]

    Sheet name

  • rangeFrom Text[]

    Range from

  • rangeTo Text[]

    Range to

  • ErrorMessage Text[]

    Error message


ReadExcel

procedure ReadExcel(fileID: Text; sheetName: Text; rangeFrom: Text; rangeTo: Text; var response: text; var ErrorMessage: Text)

This procedure reads from a file excel.

Parameters / Return Value

  • fileID Text[]

    File ID

  • sheetName Text[]

    Sheet name

  • rangeFrom Text[]

    Range from

  • rangeTo Text[]

    Range to

  • response text[]

    Response

  • ErrorMessage Text[]

    Error message


SetToken

procedure SetToken()


EOS Labs -