#1
|
|||
|
|||
=CALLOUTTARGETREF()!Prop doesn't exist
I have a callout pointing at a shape. I want the callout to show some of the properties of the shape. Say I want to point it at a shape that represents a server on a network diagram and I want it to show the server's IP Address
The custom formula for that field should look like this: Code:
=CALLOUTTARGETREF()!Prop.IPADDRESS Or at least that's what I think is happening. It'll say, "Error in formula." when I enter that custom formula. IntelliSense finds the CALLOUTTARGETREF but not the Prop part. This is in Visio 2016 on Windows 10. |
#2
|
||||
|
||||
Examine the Shapesheet of the callout target to verify the actual name of the Shape Data property. The label might be IPAddress but its 'name' might not match that. For instance, you might find that =CALLOUTTARGETREF()!Prop.Row_1 works whereas =CALLOUTTARGETREF()!Prop.IPADDRESS does not.
In the shapesheet, you look at the Shape Data and find the red text in the first column. That is the text you should be using in your field. If you pick a properties name rather than its label it should behave as advertised.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#3
|
|||
|
|||
Quote:
|
#4
|
||||
|
||||
Can you attach a visio file with your shape and its callout? I can have a look to see where you are going wrong.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#5
|
|||
|
|||
I just start a new document, pull a 3D Computer shape from the shapes Visio comes with, put text in its ShapeData, attach a normal callout to it and try to add a field to the callout's text referencing the callout's target but always get "Error in formula."
This happens with any of the network diagram shapes. I don't see how I could attach a document that actually shows the problem. |
#6
|
||||
|
||||
Ben
You need to examine the shapesheet for the 3D computer shape to find out what is the property before you can work out whether it should work or not. Each shape you use will need to have that same property name if you want the same callout formula to work for each. Do you know how to look at a shapesheet?
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#7
|
|||
|
|||
Yes I did look at the ShapeSheet.
I've been using "Prop.IpAddress" as an example but none of the properties work. |
#8
|
||||
|
||||
The capitalisation of the property name doesn't seem to matter on my machine. Can you post a sample of Visio file with some examples of your shapes and callouts?
Are you using the Insert > Callout to add the callout?
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#9
|
|||
|
|||
I think that was the problem.
When I looked at it today, I found that callouts from Insert > Callout work while callouts from Shape > Callout don't work. That's insane. Why the hell would Microsoft do this? |
#10
|
||||
|
||||
Visio is a voyage of discovery for me and I am not surprised that there are loose ends in how it works with callouts. I presume there is a difference in the shapesheets for a connected and non-connected connectors which might be the difference between the field working and not.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Detecting that previous character doesn't exist (i.e., present character is first in document) | Robert K S | Word VBA | 15 | 08-01-2016 09:33 AM |
INCLUDETEXT is file doesn't exist | neoported | Mail Merge | 2 | 07-21-2016 11:47 PM |
creating a new drawing guide when none exist | inglisway | PowerPoint | 4 | 04-18-2013 05:02 AM |
Pack and Go: Does it Exist in PPT 2010? | tatihulot | PowerPoint | 1 | 11-16-2010 08:35 AM |
normal template does not exist | nwhittak | Word | 1 | 10-19-2010 07:01 AM |