Export HTML

Block Group: Browser API
Icon: Export HTML block icon

Converts the current component or .dg5 file to HTML, PDF, PNG, or JPG, and either causes the converted file to be downloaded or outputs it as an HTML string or a binary object. If the parent of this dataflow block is the Stage, then the entire page is exported. In an exported HTML file, assets such as images that are stored in the Solution Builder project can only be displayed if the user can view the project.


Input/Output Properties

These properties can take input and give output.

invoke causes the file to be exported. Only works when enabled is set to TRUE.

enabled specifies whether exporting to HTML is enabled.

format specifies the file format to download.

filename specifies a name for the exported file. If blank, the file is returned as an HTML string or binary object in output and is not downloaded.


Output Properties

These properties can give output. They cannot take input.


Model

Because a filename is defined, the HTML file is downloaded.

Export HTML dataflow model

Because no filename is defined, the HTML string is returned as output.

Export HTML dataflow model