I have installed and configured "Authoring App for Word(r)
<http://developer.marklogic.com/code/marklogic-sample-authoring> ".
Configured registry, authoring.js and config.xqy to the HTTP server.

HTTP server is associated with a database. I ingested a ABC.docx (MS
Word 2007) file into database as binary with URL /ABC.docx.

 

I modified boilerplate.xml

<config:boilerplate>

            <config:display-label>disclaimer</config:display-label>

            <config:document-uri>/ABC.docx</config:document-uri>

 

I created a new word document, in Mark Logic Add-in boilerplate tab,
when I click on disclaimer, the tool tip shows /ABC.docx. 

When I click on disclaimer button, the text from the word
document(stored in MLS) is not populated into the new word document.

 

I extracted the XML out of word:

 

xdmp:zip-get(doc("/ABC.docx"), "word/document.xml")

 

and ingested the xml back in to Mark Logic. Updated boiler plate.xml as
below:

<config:boilerplate>

            <config:display-label>disclaimer</config:display-label>

            <config:document-uri>/ABC.docx.xml</config:document-uri>

 

 

I created a new word document, in Mark Logic Add-in boilerplate tab,
when I click on disclaimer, the tool tip shows /ABC.docx.xml. 

When I click on disclaimer button, the text from the word
document(stored in MLS) is not populated into the new word document.

 

Is there a different format in which I should be storing office
documents to include them via boiler plate?

If so how does it work for images. etc

 

Thanks

Lakshmi

 

 

 

 

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to