Hi all.
In a Word document, I have a number of fields related to SW PDM.
My problem is that during a transition to my " Approved " document some of these variables are changed, but the Word file is not saved with the fields up to date.
And it seems impossible to update these fields on a read-only file (even for a view) when the latter is approved and therefore archived.
Did I miss something? Is there a trick/macro to open > update fields → save during my flow transition?
Thank you all in advance for your answers.
JB
Hello
If the fields are mapped, and unless I'm mistaken, they are updated in the properties of the Word file.
The only difference, if these are parameterized fields, is that they have to be updated (Ctrl+A, F9).
In our PDM, the Word frame has a macro that has the opening updates all the parameterized fields.
Hello
A text field mapped to a custom property of the Word file (similar to $PRP or $PRPSHEET on SW drawings).
2 Likes
Hello Cyril, indeed the properties of my fields are well mapped and it works.
An example of my problem: my file goes from a modification state to an approved state. The state appears on the document, so at the flow transition, I map this property.
When I open this file (read-only, because it is approved and no extraction possible) the variables are OK (functional mapping) but the fields are not up to date. it's up to the user to do the update... and this is a source of errors.
I like the file solution with macro, because it would make me modify all my frames in " *.docm ", I would have preferred a task to be executed on the transition for example...
In any case, I still haven't found the solution for the moment.
@jerome_lamar
Thank you for this link, I had already read this article, but my problem is not the mapping, but the updating of the fields.