visio field contents update issue

G

Geoff

Hi,

I have an issue with automaticly updating the contents of a field with
the value of the keyword in the document info. The value stays the
same and only changes to the actual keyword value when I manually edit
the link to the parameter and press ok.

I can't imagine there is no way to update it automaticly when opening
the document.

I'm speeking about Visio 2007.

Best regards,

Geoff
 
G

Geoff

I can't find any way to be able to open the document and find alle
values wich are in the document info in the right fields like they
should be.

Or maybe there is a function which does it for all the fields at the
same time but clicking all fields one by one is quite unpleasant.

Best regards,

Geoff
 
M

Micah

Hello Geoff and John,

I have encountered a similar problem with Visio 2003.

For version control, I selected the Keyword field from the file's Properties
\ Summary tab. To insert this data in a document, I have manually followed
these steps:
** Clicked on the menu \ dialog of Insert \ Field...
** Selected 'Document Info' from Category
** Selected 'Keyword' and 'Normal' from 'Field:' and 'Format:'

Once these steps were completed, I input "2.0" via the file's Properties
dialog \ Summary tab \ Keyword field, however this data has not been
dynamically changed within the Visio 2003 file in the diagram's text box.
Prior to these steps, the value was "2.5", and the diagram is retaining this
value.

Manually revisiting each text box and iteratively completing these steps for
each will not be a satisfactory procedure for our customer after the project
(and flow) is cutover for them to maintain.

Hopefully, this thread isn't too old. Please share any news on how to
restore this dynamic refresh functionality as seen in Properties dialog tabs.

Kindest regards,
Micah
 
J

John Goldsmith

Hello Geoff and Micah,

This problem appears to occur when the file properties are editted without
the file being open and thus the KEYWORDS() shapesheet function that gets
added as part of the Insert / Field operation is not triggered.
Interestingly, just opening the file properties dialog from File /
Properties and editting any one of the fields will trigger any of these
inserted properties functions (Keywords, Description, Subject etc.) and all
inserted fields wil be updated. So the question is, is how do we force
Visio to re-evaluate these fileds when the file is opened to check if there
have been any changes while the document was closed?

Well you could do this very easily with code, but just with the shapesheet
is a little more complex. you might be interested in this post
(http://groups.google.co.uk/group/mi...d+revision+of+drawing&rnum=4#ef36ce1b0876ddc9),
but I think the easiest way around this would be either a) to edit the file
properties within Visio or b) edit a single property (also within Visio)
thereby updating the other properties. You could, for example, add a
right-click to you first page to show the properties dialog as follows:

1) Ensure nothing is selected on the page and then click Window / Show
ShapeSheet

2) You should now see the ShapeSheet window for the current page, which
breaks down its properties into Sections.

3) If you can't see a section named "Actions" right-click somewhere in the
ShapeSheet and select 'Insert Section...', check the Actions check box and
click OK.

4) If the "Actions" section is there already right-click on one of the
existing rows and select 'Insert Row'

5) Paste in the following formula into the 'Action' cell of your new row:
=DOCMD(1009)

6) Paste in the following formula into the 'Menu' cell of your new row:
="Show file properties"

You should now be able to right-click on the page and display the file
properties a little more easily.

Not a very straight forward solution I'm afraid, but if you're interested in
a code solution let me know.

Best regards

John

John Goldsmith
www.visualSignals.co.uk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top