Solved

Visio 2003 Custom Properties Question

Posted on 2006-07-01
3
822 Views
Last Modified: 2008-04-04
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
Comment
Question by:BrianEsser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 44

Accepted Solution

by:
bruintje earned 500 total points
ID: 17024503
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
 

Author Comment

by:BrianEsser
ID: 17027076
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
 

Author Comment

by:BrianEsser
ID: 17060031
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

Create Professional Looking Email Signatures

Create "Professional HTML Email Signatures" with ease.
7 Day Money Back Guarantee if not 100% Satisfied.
Affordable - Try it out for 7 Days Totally Risk Free.
Installers provided for over 45 Email clients.
Both Windows & MAC Supported.
Highly Recommended!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question