XLS Control Table Auto-Tag Generator
Use this in conjunction with the Continental Nodes to directly generate a control table populated with tags based on data types from a source data table.
The output port provides a generated control table containing multiple comma-delimited tags that can be used directly with the XLS formatter nodes.
The XLS Formatter nodes are from the Continental Nodes and are as described in the Continental documentation.
The generated tags take the following format:
Header Row Tags: h:Column Name, header th:data type, c:Column Name
Body Row Tags: d:Column Name, data, t:data type, c:Column Name
Banding Tags: band:odd band:even
(denotes if data row is an odd or even number)
[b]Freeze Tags[/b]: freezerow1, freezecol1, feezepanes can be used to freeze just header, column 1 or both
The prefixes were chosen to mean the following:
h: This is a header row for the given Column Name
d: This is a data row for the given Column Name
t: This is a body row of a specific data type
c:This a a cell in a given column name (header or data)
It is therefore then possible to set all headers to a particular format by referencing the header tag but to affect the formatting of a specfic column header by using the h:Column Name tag e.g. h:Customer Name
Likewise the body (data) rows can be formatted in their entirety by referencing the data tag, or all String body rows can be referenced using t:String
Please contact me via the KNIME forum if you have any comments, run into any problems, or can think of improvements are other auto tags that you think would be generally useful.
@takbb Brian Bates
26 September 2022
Updated 28 September 2022 - additional of optional XLS Formatter output node
Updated 31 October 2022 - minor bug fix to control table, and correction to documentation
To use this component in KNIME, download it from the below URL and open it in KNIME:
Download ComponentDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.