AnsweredAssumed Answered

Getting cm:content from a Word document

Question asked by bengrah on May 13, 2013
Latest reply on May 14, 2013 by aevans713
Hi all,

I'm wanting to get the content from a Word document so we can manipulate the content and present it via Webscript.

My JS is really simple:

<javascript>

var node = search.luceneSearch(<nodeid>);

print(node.properties.content.content);

</javascript>


But when I ran this script and print out the content, it comes out like the following (see attached document).

Is it possible to get at the content in a Word document? For my test I used a very simple Word doc (also attached).

Thanks,
Ben

Attachments

Outcomes