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
Brian EsserZone Technology ExpertAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Brian EsserZone Technology ExpertAuthor 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
Brian EsserZone Technology ExpertAuthor 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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.