Codeunit 18122342 EOS004 Handlebars Renderer

Codeunit 18122342 EOS004 Handlebars Renderer

Methods

Initialize

procedure Initialize(Config: Record "EOS004 Service Config.")

Parameters / Return Value

  • Config Record "EOS004 Service Config."

Template

procedure Template(var TempBlob: Codeunit "Temp Blob")

Parameters / Return Value

  • TempBlob Codeunit "Temp Blob"

Template

procedure Template(is: InStream)

Parameters / Return Value

  • is InStream

Template

procedure Template(NewValue: Text)

Parameters / Return Value

  • NewValue Text

TemplateFromStream

procedure TemplateFromStream(is: InStream)

Parameters / Return Value

  • is InStream

Template

procedure Template(): Text

Parameters / Return Value

  • Returns Text

SetPartial

procedure SetPartial(Name: Text; var TempBlob: Codeunit "Temp Blob")

Parameters / Return Value

  • Name Text

  • TempBlob Codeunit "Temp Blob"


SetPartial

procedure SetPartial(Name: Text; var is: InStream)

Parameters / Return Value

  • Name Text

  • is InStream


SetPartial

procedure SetPartial(Name: Text; NewValue: Text)

Parameters / Return Value

  • Name Text

  • NewValue Text


GetPartial

procedure GetPartial(Name: Text): Text

Parameters / Return Value

  • Name Text

  • Returns Text


RemovePartial

procedure RemovePartial(Name: Text)

Parameters / Return Value

  • Name Text

ListPartials

procedure ListPartials(): List of [Text]

Parameters / Return Value

  • Returns List[Text]

ClearPartials

procedure ClearPartials()

Render

procedure Render(Context: JsonObject; var Result: Codeunit "Temp Blob")

Parameters / Return Value

  • Context JsonObject

  • Result Codeunit "Temp Blob"


Render

procedure Render(Context: JsonObject; var ResultHtml: Text)

Parameters / Return Value

  • Context JsonObject

  • ResultHtml Text



EOS Labs -