• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 837
  • Last Modified:

Visio 2003 Custom Properties Question

Way back in Visio 2000 days I created a Stencil with Shapes that had custom properties. I haven't had to use these for years, but now a project has come up and I need to use them again with the excepton that now I need to add new properties. Currently, we are using Visio 2003 and I can't for the life of me remember how to get a property to update text on the shape based on a link to the property field. I've got 3 previously linked text fields, copied one of them twice to create two more, but I can't figure out or reverse engineer the existing links to get the new ones linked properly. I vaugely remember the original process I used, but I think I had to manually edit the Shape Sheet.

I have a User-defined Cells Section with User.param, User.Row_2 through 4 with a Value in User.Row_4 of Sheet.5!Prop.param04

I don't remember how to duplicate this for the new item and create a link to the custom property.

Any help would certainly be appreciated.

Thanks,
Brian
0
BrianEsser
Asked:
BrianEsser
  • 2
1 Solution
 
bruintjeCommented:
Hi BrianEsser,
----------

after rereading your question a few times i doubt this is a helpfull comment but maybe it helps a bit

to link a custom property field's value to the shape text you can do the following

1. add a shape to your drawning
2. add a custom property to the shape
3. in the Value field for the property add a formula like =(SHAPETEXT(TheText))
4. now updates on your shape text are reflected in the custom property

but again this is probably not what you asked for, my sources where

http://groups.google.com/group/microsoft.public.visio.general/browse_frm/thread/957f0b7ed6ab8a43/0f3c4e17dbd8ef65

and the visio shape sheet which you can get into

1. rightclick on your shape
2. then choose show shapesheet which gives you more insight into the details of the shape and related properties and maybe this shows how you linked the previous properties

----------
bruintje
share what you know, learn what you don't
0
 
BrianEsserAuthor Commented:
Hi bruintje,

Thanks for taking a crack at this question. It is a challenge to describe my problem sufficiently with just text. I wish there was a place one could post links to a few screen captures. Oh well...

I actually need to do the opposite of what you describe in your post. The Custom Property drives the (TheText) not the other way around.

BrianE
0
 
BrianEsserAuthor Commented:
bruintje,

After beating my head against this some more I revisited the link you posted and studied the postings there much closer. It was after re-reading ALL the comments several times that I recognized the key piece of information I had forgotten when building the original shapes so long ago:

Mark Nelson of MS wrote: "If you want the shape text to always refer to the custom property, go to Insert > Field to set up that relationship."

I selected one of my existing Text shapes that functioned the way I wanted and did the Insert > Field operation, which revealed the existing User Defined definition. Then, I simply selected one of the copied Text shapes and Inserted a new User Defined parameter and tied it to the new Custom Property ROW_7 instead of existing ROW_6.

That's IT!

Thanks for actually getting me where I needed to be the first time. I was just too dense too recognize it when I first arrived there.

Best regards,
BrianE
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now