If I recall this correctly you need to enable macros in word. Get the 'Developer' group into the word menu (can't remember how to do this) then go to 'Macro Security and enable all macros.
What happens if this is not enabled word will not read the new property into the document even though it is there in the properties and update the field. This can be triggerd manually but if you enable macros it will do it automatically everytime you open the document. It seems that this is unique to word.
Nice try but that did not fix the problem. I enabled all macros and then created a new document, added the property, saved & checked in, transitioned, checked out, updated all fields and nothing happened. Verified that the document went to rev 01, too.
Damn I was sure that was it. I remember our VAR telling us about this problem in Word and that was the solution.
Asssume you have checked the simple stuff, spelling etc...
OK try this:
this is the Autoopen Macro:
' AutoOpen Macro
Dim aStory As Range
Dim aField As Field
For Each aStory In ActiveDocument.StoryRanges
For Each aField In aStory.Fields
Yep, already saw that before I posted. No luck. I was hoping it was what you said earlier or something small in the background like a box that needs to be checked.
Have you tried hitting the F9 key to manually update?
Yes even though it shouldn't matter. Normally I do a "Ctrl A" and right click, update field or just click on the update field icon in the tool bar.
Hi Stephen, I could not reproduce this issue either. I have a simple workflow where I release Word files and increment the revision as per your workflow above. I was able to link a field in a word document to a revision property and have the property update correctly in the data card and in the document.
Would you be able to attach a CEX file of your vault? I would be happy to take a quick look.
I'm pretty new to EPDM, but I'll take a stab at it.
I noticed your Workflow transition changes don't include the last step of adding a revision scheme. Maybe that's it?
- Open the Workflow
- Select the "Released" State
- Select the "Revision Numbers" tab
- Click the dropdown for "Do not use a revision number"
- If you have already set up a revision scheme (using the revisions node in the admin tool) it will show here. Select the one you use.
- Set "Increment By" to "1"
- Click OK
You'll notice this now shows up in the "Revisions Numbers" tab of all Transitions leading to the Released State.
Worth a shot?