Support Questions
Find answers, ask questions, and share your expertise

Headers in Hue HTML Widget

Headers in Hue HTML Widget

Good morning.  We are writing a custom HTML page for our Search Index to present one of the indexed fields as a hyperlink.  The users want to just click on file links we present to them in the result set so the only way we could find to do this is to use the HTML widget and then use that to wrap the field with a <a href="file://{{doc_link}}">{{doc_path}}</a> entry.

 

This seems to be working ok, but one of the things we lost was the header values.  We're trying to get to something like this.

 

Document Number              Document Link

12345                        \\thenas\myfile.pdf

67890                        \\thenas\myfile.doc

 

However, what we end up getting is this.

 

Document Number              Document Link

12345                        \\thenas\myfile.pdf

Document Number              Document Link

67890                        \\thenas\myfile.doc

Document Number              Document Link

....

 

Does anyone know of a way to insert the header values in the result, but just have them listed out at the top?   Another thing we thought would be a nice feature is having some control over the HTML rendered in the grid widget.  However, that does not look to be a feature.  Just a thought though if anyone else had any feedback on adding that at some point.

 

 

1 REPLY 1

Re: Headers in Hue HTML Widget

Natively Hue will treat each row as a record, so there is no way to just
have one unique header without modifying Hue's code directly.

Have you investigated the "Edit indexed records and link to original
documents"
http://gethue.com/dynamic-search-dashboard-improvements-3/
too?

Or not using headers might work if the links are obvious?