Codeunit 5505367 M365 XmlPort Management

Codeunit 5505367 M365 XmlPort Management

Methods

XmlPortXmlFilter

procedure XmlPortXmlFilter(): Text

Returns a XML file filter text for XmlPort import/export operations.

Parameters / Return Value

  • Returns Text

    Text


XmlPortTxtFilter

procedure XmlPortTxtFilter(): Text

Returns a Text file filter text for XmlPort import/export operations.

Parameters / Return Value

  • Returns Text

    Text


AllFilesFilter

procedure AllFilesFilter(): Text

Returns an all files filter text for XmlPort import/export operations.

Parameters / Return Value

  • Returns Text

    Text


XmlPortImport

procedure XmlPortImport(xmlPortId: Integer; fromStream: InStream): Boolean

Uses the specified XmlPort and imports content from fromStream.

Parameters / Return Value

  • xmlPortId Integer

    Integer

  • fromStream InStream

    InStream

  • Returns Boolean

    Boolean


XmlPortImport

procedure XmlPortImport(xmlPortId: Integer; var fromTempBlob: Codeunit "Temp Blob"): Boolean

Uses the specified XmlPort and imports content from fromTempBlob.

Parameters / Return Value

  • xmlPortId Integer

    Integer

  • fromTempBlob Codeunit "Temp Blob"

    Codeunit “Temp

  • Returns Boolean

    Boolean


XmlPortImport

procedure XmlPortImport(xmlPortId: Integer; dialogTitle: Text; fromFilter: Text; fromFolder: Text; var fromFile: Text): Boolean

Shows a OpenFile dialog (dialogTitle, fromFilter, fromFolder, fromFile) and then uses the specified XmlPort and imports content from the selected file.

Parameters / Return Value

  • xmlPortId Integer

    Integer

  • dialogTitle Text

    Text

  • fromFilter Text

    Text

  • fromFolder Text

    Text

  • fromFile Text

    Text

  • Returns Boolean

    Boolean


XmlPortImport

procedure XmlPortImport(xmlPortId: Integer; dialogTitle: Text; fromFilter: Text; fromPath: Text): Boolean

Shows a OpenFile dialog (dialogTitle, fromFilter, fromPath) and then uses the specified XmlPort and imports content from the selected file.

Parameters / Return Value

  • xmlPortId Integer

    Integer

  • dialogTitle Text

    Text

  • fromFilter Text

    Text

  • fromPath Text

    Text

  • Returns Boolean

    Boolean


XmlPortExport

procedure XmlPortExport(xmlPortId: Integer; toStream: OutStream): Boolean

Exports content using the specified XmlPort to toStream.

Parameters / Return Value

  • xmlPortId Integer

    Integer

  • toStream OutStream

    OutStream

  • Returns Boolean

    Boolean


XmlPortExport

procedure XmlPortExport(xmlPortId: Integer; var toTempBlob: Codeunit "Temp Blob"): Boolean

Exports content using the specified XmlPort to toTempBlob.

Parameters / Return Value

  • xmlPortId Integer

    Integer

  • toTempBlob Codeunit "Temp Blob"

    Codeunit “Temp

  • Returns Boolean

    Boolean


XmlPortExport

procedure XmlPortExport(xmlPortId: Integer; dialogTitle: Text; toFilter: Text; toFolder: Text; var toFile: Text): Boolean

Shows a SaveFile dialog (dialogTitle, toFilter, toFolder, toFile) and then uses the specified XmlPort to export content to the selected file.

Parameters / Return Value

  • xmlPortId Integer

    Integer

  • dialogTitle Text

    Text

  • toFilter Text

    Text

  • toFolder Text

    Text

  • toFile Text

    Text

  • Returns Boolean

    Boolean


XmlPortExport

procedure XmlPortExport(xmlPortId: Integer; dialogTitle: Text; toFilter: Text; var toPath: Text): Boolean

Shows a SaveFile dialog (dialogTitle, toFilter, toPath) and then uses the specified XmlPort to export content to the selected file.

Parameters / Return Value

  • xmlPortId Integer

    Integer

  • dialogTitle Text

    Text

  • toFilter Text

    Text

  • toPath Text

    Text

  • Returns Boolean

    Boolean



EOS Labs -