Button launches Word, loads a WordML and merges it with XSL - InfoPath Dev
in

InfoPath Dev

Now you can find InfoPathDev on YouTube and Twitter!

Button launches Word, loads a WordML and merges it with XSL

Last post 02-13-2009 09:55 AM by Nic in Ric. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-04-2009 08:14 AM

    Button launches Word, loads a WordML and merges it with XSL

    This is about Word 2003, Infopath 2003 and Sharepoint 2007.

    I have created a form that creates XML files (people resumes) on a sharepoint form list. I have also creates a XSLT page that I use to generate the corresponding WordML document, that I then save as a Word document. Everything works well yet, I'd like to create a button in my infopath form that would do the transformation automatically.

    Indeed, right now, I have to do all the following:

    1. Download the XML from Sharepoint on my desktop.
    2. Right click on the XML and open with Microsoft Word (2003).
    3. Select the XSL from a location on Sharepoint (a URL)
    4. Save As Microsoft Word document.

    Since this form is supposed to be used by anyone in the company, then I'd like to create a button that does all the above as in:

    1. Open MS Word automatically
    2. Loads the XML as a WordML
    3. Apply the XSL to the XML
    4. Saves the file as a Word Document (optional)

    One of the requirements here is that the XSL file must remain as a file in sharepoint and therefore accessed via a URL. I don't want to add it to the infopath form as an object as this creates problems with the autonaming of XMLs generated and saved on Sharepoint and it complicates the version tracking.

    Any help is most welcome.

     Thanks

     Nic in RIc

  • 02-13-2009 09:55 AM In reply to

    Re: Button launches Word, loads a WordML and merges it with XSL

    Bump

Page 1 of 1 (2 items)
Copyright © 2003-2010 Qdabra Software. All rights reserved.
View our Terms of Use.