Codeunit 18121980 EOS069.01 FS Management

Codeunit 18121980 EOS069.01 FS Management

Methods

FromIdentToRecRef

procedure FromIdentToRecRef(var RecRef: RecordRef; SourceType: Integer; SourceSubtype: Option; SourceID: guid)

Parameters / Return Value

  • RecRef RecordRef

  • SourceType Integer

  • SourceSubtype Option

  • SourceID guid


CheckPattern

procedure CheckPattern(PatternCode: Code[20])

Parameters / Return Value

  • PatternCode Code[20]

CombinePath2

procedure CombinePath2(Path1: Text; Path2: Text) result: Text

Parameters / Return Value

  • Path1 Text

  • Path2 Text

  • Returns Text


GetFileNameWithoutExtension

procedure GetFileNameWithoutExtension(FileName: Text): Text

Parameters / Return Value

  • FileName Text

  • Returns Text


GetFileExtension

procedure GetFileExtension(FileName: Text): Text

Parameters / Return Value

  • FileName Text

  • Returns Text


GetFileName

procedure GetFileName(FileName: Text): Text

Parameters / Return Value

  • FileName Text

  • Returns Text


ReplaceInvalidFileChars

procedure ReplaceInvalidFileChars(Text: Text; ReplacementChar: Text[1]): Text

Parameters / Return Value

  • Text Text

  • ReplacementChar Text[1]

  • Returns Text


GetDirectoryName

procedure GetDirectoryName(Filename: Text): Text

Parameters / Return Value

  • Filename Text

  • Returns Text


CreateFolder

procedure CreateFolder(NewFolderName: Text; ServerSide: Boolean): Boolean

Parameters / Return Value

  • NewFolderName Text

  • ServerSide Boolean

  • Returns Boolean


FolderExists

procedure FolderExists(FolderName: Text; ServerSide: Boolean): Boolean

Parameters / Return Value

  • FolderName Text

  • ServerSide Boolean

  • Returns Boolean


TestReadWrite

procedure TestReadWrite(filename: Text): Boolean

Parameters / Return Value

  • filename Text

  • Returns Boolean


ReadAttribute

procedure ReadAttribute(filePath: Text; var values: Dictionary of [Text, Text]; DocLibrary: Record "EOS069 DocLibrary")

Parameters / Return Value

  • filePath Text

  • values Dictionary[Text,Text]

  • DocLibrary Record "EOS069 DocLibrary"


CopyFile

procedure CopyFile(fromPath: Text; toPath: Text; DocLibrary: Record "EOS069 DocLibrary")

Parameters / Return Value

  • fromPath Text

  • toPath Text

  • DocLibrary Record "EOS069 DocLibrary"


MoveFile

procedure MoveFile(fromPath: Text; toPath: Text; DocLibrary: Record "EOS069 DocLibrary")

Parameters / Return Value

  • fromPath Text

  • toPath Text

  • DocLibrary Record "EOS069 DocLibrary"


UploadFile

procedure UploadFile(Path: Text; var content: Codeunit "Temp Blob"; DocLibrary: Record "EOS069 DocLibrary")

Parameters / Return Value

  • Path Text

  • content Codeunit "Temp Blob"

  • DocLibrary Record "EOS069 DocLibrary"


DeleteFile

procedure DeleteFile(Path: Text; DocLibrary: Record "EOS069 DocLibrary")

Parameters / Return Value

  • Path Text

  • DocLibrary Record "EOS069 DocLibrary"


GetFileList

procedure GetFileList(path: text; DocSolutionsDocLibrary: Record "EOS069 DocLibrary"; var FileList: Record "Name/Value Buffer" temporary)

Parameters / Return Value

  • path text

  • DocSolutionsDocLibrary Record "EOS069 DocLibrary"

  • FileList Record "Name/Value Buffer"


GetFileContent

procedure GetFileContent(var is: InStream; Path: Text; DocLibrary: Record "EOS069 DocLibrary")

Parameters / Return Value

  • is InStream

  • Path Text

  • DocLibrary Record "EOS069 DocLibrary"


GetFileContent

procedure GetFileContent(var Content: Codeunit "Temp Blob"; Path: Text; DocLibrary: Record "EOS069 DocLibrary"): Boolean

Parameters / Return Value

  • Content Codeunit "Temp Blob"

  • Path Text

  • DocLibrary Record "EOS069 DocLibrary"

  • Returns Boolean


FileExists

procedure FileExists(filename: Text; DocLibrary: Record "EOS069 DocLibrary"): Boolean

Parameters / Return Value

  • filename Text

  • DocLibrary Record "EOS069 DocLibrary"

  • Returns Boolean



EOS Labs -