1
Automation Interface, Add-Ins and Tools / Headers in HTML Report - How to Use Web Style Templates
« on: March 30, 2022, 08:01:50 pm »
This must be the simplest question ever posted, for which I feel mildly embarrassed, but not too embarrassed to ask publicly:
I’ve come to terms (ish) with the vagaries of the RTF report generator, but now need to create an HTML model and place it in Sharepoint for review by various stakeholders.
Strangely the export to Sharepoint was the easy bit, once we realised that replacing the letters html with aspx in the File Extension field of the 'Publish as HTML' window made everything work seamlessly.
However, what I now want to do is have a text string displayed in the header of every web page, to convey a commercial sensitivity caveat to remind all viewers. Sadly Sharepoint permissions are not considered sufficient.
There doesn't seem to be a lot of information on the web about how to modify the Web Style Templates, other than playing with the logo, and if all else fails I shall cheat by amending the logo to carry the caveat text.
Anyway, I have found my way to Resources > Web Style Templates and can generate my own HTML template by copying the default one, but am utterly bewildered by where to define header text within the plethora of fields available.
I've used the examine html facility in the browser of an exported html page to find areas called IndexTitle and IndexHeader but am unsure how/where I can add a constant string to them.
Can anyone please help?
Many thanks
I’ve come to terms (ish) with the vagaries of the RTF report generator, but now need to create an HTML model and place it in Sharepoint for review by various stakeholders.
Strangely the export to Sharepoint was the easy bit, once we realised that replacing the letters html with aspx in the File Extension field of the 'Publish as HTML' window made everything work seamlessly.
However, what I now want to do is have a text string displayed in the header of every web page, to convey a commercial sensitivity caveat to remind all viewers. Sadly Sharepoint permissions are not considered sufficient.
There doesn't seem to be a lot of information on the web about how to modify the Web Style Templates, other than playing with the logo, and if all else fails I shall cheat by amending the logo to carry the caveat text.
Anyway, I have found my way to Resources > Web Style Templates and can generate my own HTML template by copying the default one, but am utterly bewildered by where to define header text within the plethora of fields available.
I've used the examine html facility in the browser of an exported html page to find areas called IndexTitle and IndexHeader but am unsure how/where I can add a constant string to them.
Can anyone please help?
Many thanks