<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Interacting with MS Word Documents without 'locking' them in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Interacting-with-MS-Word-Documents-without-locking-them/m-p/91342#M41375</link>
    <description>Hi guys,

&amp;nbsp;

I'm working on a process that interacts with a variety of MS word templates that we use, replacing with relevant information (ie replace  with "John Smith"), ready to be sent out. In testing, I've found it fall down a couple of times whilst interacting with the word template meaning that the templates get locked. I think this is because my exceptions 'bubble up' rather than recover, and then close the document safely within the page.&amp;nbsp;

Can someone suggest the best way to handle this scenario so that if for whatever reason the letter cannot be completed in full, an exception raises but also closes (and potentially still saves) the document in a safe way.

Thanks

Mike

&amp;nbsp;</description>
    <pubDate>Fri, 26 Jan 2018 15:57:00 GMT</pubDate>
    <dc:creator>michael.thorpe</dc:creator>
    <dc:date>2018-01-26T15:57:00Z</dc:date>
    <item>
      <title>Interacting with MS Word Documents without 'locking' them</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Interacting-with-MS-Word-Documents-without-locking-them/m-p/91342#M41375</link>
      <description>Hi guys,

&amp;nbsp;

I'm working on a process that interacts with a variety of MS word templates that we use, replacing with relevant information (ie replace  with "John Smith"), ready to be sent out. In testing, I've found it fall down a couple of times whilst interacting with the word template meaning that the templates get locked. I think this is because my exceptions 'bubble up' rather than recover, and then close the document safely within the page.&amp;nbsp;

Can someone suggest the best way to handle this scenario so that if for whatever reason the letter cannot be completed in full, an exception raises but also closes (and potentially still saves) the document in a safe way.

Thanks

Mike

&amp;nbsp;</description>
      <pubDate>Fri, 26 Jan 2018 15:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Interacting-with-MS-Word-Documents-without-locking-them/m-p/91342#M41375</guid>
      <dc:creator>michael.thorpe</dc:creator>
      <dc:date>2018-01-26T15:57:00Z</dc:date>
    </item>
    <item>
      <title>Mike - try intercepting the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Interacting-with-MS-Word-Documents-without-locking-them/m-p/91343#M41376</link>
      <description>Mike - try intercepting the exception on the same page so that you can deal with MS Word right there. Then if necessary, throw the exception again to other, 'higher up' exception handling. You could also use a Block to pinpoint which exceptions the recover will handle.</description>
      <pubDate>Fri, 26 Jan 2018 16:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Interacting-with-MS-Word-Documents-without-locking-them/m-p/91343#M41376</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-01-26T16:35:00Z</dc:date>
    </item>
    <item>
      <title>Thanks John - I had tried…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Interacting-with-MS-Word-Documents-without-locking-them/m-p/91344#M41377</link>
      <description>Thanks John - I had tried that but it failed, though I think that's down to my user error rather than anything else.
I've been thinking and I suppose another way to cater for this is to build something that can interact with the Locked dialogue box so that if it raises then allow me to open a local file and work with it that way. Do you know (or anyone know) how I could do this - I'm guessing there isn't anything out of the box so I'm happy to build something. However not sure whether it would fall under the same object as Word or whether it's something entirely separate. If so, how would I attach to it? Just for reference, the dialogue box is below;
&amp;nbsp;
&amp;nbsp;</description>
      <pubDate>Fri, 26 Jan 2018 19:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Interacting-with-MS-Word-Documents-without-locking-them/m-p/91344#M41377</guid>
      <dc:creator>michael.thorpe</dc:creator>
      <dc:date>2018-01-26T19:35:00Z</dc:date>
    </item>
    <item>
      <title>Your image shows a .docx…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Interacting-with-MS-Word-Documents-without-locking-them/m-p/91345#M41378</link>
      <description>Your image shows a .docx file is locked - that is not a template file so will always be locked if more than one person or robot has it open.&amp;nbsp; &amp;nbsp;Instead you should be using the Word template format - .dotx
&amp;nbsp;</description>
      <pubDate>Sun, 28 Jan 2018 20:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Interacting-with-MS-Word-Documents-without-locking-them/m-p/91345#M41378</guid>
      <dc:creator>Denis__Dennehy</dc:creator>
      <dc:date>2018-01-28T20:15:00Z</dc:date>
    </item>
    <item>
      <title>Hi guys can you help me with…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Interacting-with-MS-Word-Documents-without-locking-them/m-p/91346#M41379</link>
      <description>Hi guys can you help me with this?
I already have my data from a website into my collection in blue prism. How can I transfer this data and put it in a tabular manner in MS Word?&amp;nbsp;
I cant create a table in ms word using blue prism. The MS Word VBO only has add rows to tables in its functions.
&amp;nbsp;</description>
      <pubDate>Tue, 20 Feb 2018 05:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Interacting-with-MS-Word-Documents-without-locking-them/m-p/91346#M41379</guid>
      <dc:creator>RicherMorano</dc:creator>
      <dc:date>2018-02-20T05:22:00Z</dc:date>
    </item>
  </channel>
</rss>

