You are viewing limited content. For full access, please sign in.

Question

Question

Workflow to Update Footer in a Word Document

asked on January 27, 2017

Hello everyone,

 

I found a few posts that talk about doing this, but I need a bit more direction.

This post is actually really close to what I want to do : http://answers.laserfiche.com/questions/95535/910-hybrid

 

We have a client that wants to do Versioning of a sorts, but they do not like the fact that if Workflow acts on a document it creates a new Version. We are looking at having a Metadata Field that would contain the Client's Version Number in it. 

 

I am looking for a workflow that would allow any word document of a certain template to have the footer updated with this Metadata field. I am not sure where to start the workflow and what activities can write to the footer.

 

Thanks for the help in advance!

0 0

Replies

replied on January 27, 2017

You could use Update Word Document to find the version in the document and replace it with the updated one. That will search through the footer too, but you cannot isolate the search to just the footer. Your pattern for what to find would have to be fairly strong to ensure you're not replacing other words within the document itself.

As for the flow of the whole workflow, you'd download the electronic document from the entry, make the replacement and attach it back to the document.

Depending on how much control you have of the footer, you may have to resort to finding a library that can modify Word documents and scripting in order to isolate your changes to just the footer. You may get better direction on that from an Office forum.

0 0
replied on January 30, 2017

This would work with any word document correct? I do not need to use a template in Workflow?

0 0
replied on January 31, 2017

Yes, scripting against Office documents would not be limited to templates.

0 0
replied on February 1, 2017

Assuming we do not go the route of custom scripting, that would require using a Word Doc template via Workflow correct?

0 0
replied on February 1, 2017

Yes.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.