Exporting rendered HTML

StephLindorff
Tera Expert

Has anyone found a way to export the contents of a Knowledge article as rendered HTML (when Article Type = HTML)?  

Thanks

18 REPLIES 18

rgm276
Mega Guru

Stephanie


What exactly are you wanting to do with the content?   You have several options for exporting, here are a couple of them


1) if your want to do a single document, use the HTML edit view, and simply copy\past the HTML code


KB1Capture.JPG


2) if you are tyring to do multple documents, then change the list view to include the TEXT field, and the export that to XLS, or a CVS file


KBView1Capture.JPG


KB2Untitled.png



3) Remember that you can always do a VIEW SOURCE from within a browser window to find the full contents of any page


Thanks for the response Robert.



To elaborate - if I export to XLS from a report the contents of the Text field will display as non-rendered HTML:



export test.png



I've also seent his happen with exports to PDF.   I'm looking for a way to export rendered HTML.



Thanks again.


Stephanie


this really depends upon what you want to do with it and what program you are trying to use, for example:


if you are just trying to use it to make a quick note or part of a presentation, then a simple copy\paste will be your best bet


just view the KB article in service-now, highlight and copy the text, then paste (keeping the formatting should be the default) into a program like Microsoft Word or PowerPoint., but it this was a presentation , then I would personally prefer to use the hyperlink option directly to service-now to show that KB article


<a href="https://myinstance.service-now.com/kb_view.do?sys_kb_id=5217f9a8c0444dasd" target="new"> KB1234 </a>


OR, however, if you need it in PDF format, Adobe Pro has a PDF print driver, or there are several on the internet for free (like CutePDFWriter)


OR, if you wanted to have this in MS-Access, or another application, you can use the Service-Now ODBC driver option


http://wiki.servicenow.com/index.php?title=ODBC_Driver


OR, if you need to have the HTML render in XLS from the previous export, there are ways to launch IE from with Excel to render those pages, you can google for those options, such as this


HTML Interpreter in Microsoft Excel 2010/2007 - Write directly to Web Browser - YouTube


OR you could look to create a CMS page that will display all the KB's in single page, like thisexpCapture.JPG


I appreciated your response Robert.



I'm working on adding a audit/review of existing knowledge to the Change process.   The tricky part is that the ITIL role is currently required for all of our knowledge articles and not all reviewers have that role (or use ServiceNow for that matter).   I also can't expect these various reviewers to have (or be able to use) an Excel add-on.



Ideally, I'd like to be able to export the contents of the text field as rendered HTML in an Excel spreadsheet (because it would not be efficient to export a large list of articles one at a time as PDFs).



Your MS Access option is interesting as provides both the desired efficiency and would provide better usability for the reviewers; I'll look into that option.