Visio Insights
The official blog of the Microsoft Visio product team

ScreenTips to HTML

ScreenTips to HTML

  • Comments 5

Today is a holiday in the US, so we're republishing this topic from a newsgroup post not too long ago.

Summary:
You can add the User.visEquivTitle cell to your shape and provide a string
that will display as a tooltip in HTML web output.  The shape must also have
at least one custom property for the tooltip to be visible.

Steps:
1) Select the shape in your drawing that you want to add a web tooltip for
2) Go to Window > Show Shapesheet
3) Go to Insert > Section, check User-defined cells and click OK
4) In the newly created section, click on the row name User.Row_1 to select
the title of the row
5) Type visEquivTitle and press Enter - you should now see
User.visEquivTitle for the row
6) In the Value cell of that row, enter the text you want to display
surrounded by quotes (e.g. "Hello World")
7) If you instead want to display the same tooltip as the Shape ScreenTip
enter  =Comment    (no quotes)
8) Go to Insert > Section, check Custom properties and click OK
9) You can fill in the custom property Label and Value if you want this
information to be visible
10) If you don't want the custom property to be visible, enter TRUE in the
Invisible cell
11) Close the Shapesheet window and repeat for any other shape you like
12) Choose File > Save as Web Page to create the HTML output

As you can see this is a bit involved.  The capability was designed more as
a developer feature than an end user feature.  We recommend tying the Shape
ScreenTip to the User cell so that you see the same tooltip in both Visio
and the web output.  It should also be possible to use Macro Recorder to
automate these steps.  If your shape has a custom property but does not have
the User.visEquivTitle cell, Visio will display the shape's text in a
tooltip instead.

 

Leave a Comment
  • Please add 6 and 8 and type the answer here:
  • Post
  • PingBack from http://www.hilpers.com/1078945-tooltip-bzw-mouseoverfenster-in-html

  • are you going to fix this in 2010? are you going to make the tooltips customizable? Meaning being able to show a long tooltip without having to ctrl-click and get the ugly box. thanks

  • In Visio 2007, the Screen Tip does not appear in the rendered web page unless you define Shape Data but then the web page shows the "Ctrl + click to show details" which is extra information usually not wanted in the web page.  eggheadcafe posted this originally, but the question was never answered by MSanyone.

  • Does not work for me. Even w/o the above the default ScreenTip does not appear when viewed in SharePoint.

    Hyperlinks do work in the SharePoint view.

  • Once I add the visEquivTitle, step 8 says to check "Custom properties" under Insert > Section.  I have no "Custom properties" option to check.  Why would that be?

Page 1 of 1 (5 items)