Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Is it possible to get hyperlinks to open in a new window when saving Visio file as webpage?

Posted on 2008-10-13
7
Medium Priority
?
1,062 Views
Last Modified: 2011-10-19
I am trying to attach a file to a process block in visio using hyperlinks.  I can get the hyperlink to open in the same window.  The problem is when you are done referencing the document and click the back button it returns you to the 1st tab of the workbook.  I was wondering if there was any way to open the hyperlinks in a new window or at least return you to the tab in the workbook in which the hyperlink is attached when the back button is clicked.

0
Comment
Question by:czwilson
[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
  • 5
  • 2
7 Comments
 
LVL 31

Expert Comment

by:Scott Helmers
ID: 22707926
Visio does have a "new window" setting but for some inexplicable reason, they don't make it available via the hyperlink dialog.

However, you can set it in the shapesheet (if you need information about what the shapesheet is and how to make changes in it, just let me know).

Open the shapesheet for the shape with the hyperlink; scroll down to the hyperlink section (it's usually fairly close to the top), scroll to the right to find the New Window cell and change FALSE to TRUE. That's it!

The lack of easy access to this feature is one of many reasons my company built our own hyperlink dialog for our Visio add-in (see sample below; refer to my EE profile if you have any interest in more information).

BTW, if you want a macro to set the New Window option for any selected shape, let me know; it's pretty simple code.
HL-Document-empty.bmp
0
 

Author Comment

by:czwilson
ID: 22713147
Hey Scott, thanks for the help.  I have changed the NewWindow cell in the ShapeSheet to true in all of the hyperlinks I want to pop up in the new window.  The problem is when I save it as a webpage and click on the process block it is still opening in the same window.  Is there anything else that I need to change?
0
 
LVL 31

Expert Comment

by:Scott Helmers
ID: 22715892
There shouldn't be... but a bit of quick testing reveals something I've never noticed before:

IF you use Internet Explorer and your hyperlink is to an external web page, the New Window function works correctly. This I knew.

However, if the hyperlink is to another page in the same Visio drawing, IE must think it's smarter than you because it opens it in the same window, not a new one. This I didn't know.

Interestingly, Firefox opens both in a new window.

So -- I'm guessing that you are using IE and have links to other pages. Correct?
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

Author Comment

by:czwilson
ID: 22723932
No, I am hyperlinking to Word and Excel files and they are still opening in the same window.  I tried to link to an exernal website and it still opened in the current window.  I am using Internet Explorer amd Visio 2002.  Will you please get me started with a macro that will make these objects open in a new window?  

I have attached the ShapeSheet info for my process block.
Visio-Pop-Up-Problem.gif
0
 
LVL 31

Expert Comment

by:Scott Helmers
ID: 22724540
Interesting... I'll have to get to my system that still has Visio 2002 to see what happens there. It's not likely to happen today or tomorrow because I'm traveling but I will get back to you as soon as I can.

Scott
0
 
LVL 31

Expert Comment

by:Scott Helmers
ID: 22746742
The plot thickens...

I retreated to Visio 2002 and my experience is now exactly the same as yours -- the New Window flag is apparently ignored. One potential solution: I discovered that I haven't used Visio 2002 is so long that I have Visio 2002 SR-1 (10.0.2415), which is the same version you have according to the notes in your question.

There is an SP2 that came after SR-1 (they apparently changed terminology from SR to SP??), which might fix the problem. However, I tried to install it but can't because I don't have the original CD for Visio 2002 -- it's 40 miles from here in my other office.

To at least clear up that issue -- do you have your installation CD so you can install SP2? The SP2 download is here:
http://www.microsoft.com/downloads/details.aspx?familyid=00B9DFE4-ED08-4328-B355-4BC63D6267B2&displaylang=en

With a little luck, SP2 clears up the problem -- no guarantees, but it's possible.

If it doesn't, the only workaround I can envision is to edit the html code produced by Visio. I dug around in the html code and you can prove that altering the html will work by doing it manually as follows:

If your drawing is called
     Drawing1 Visio 2002.vsd
look in the web page folder called
     Drawing1 Visio 2002_files
for a set of files called
     Drawing1 Visio 2002_vml_N.htm
where N is the page number.

For example, open the code for page 1
     Drawing1 Visio 2002_vml_1.htm
and find occurrences of
     target="_parent"
and replace with
     target="_blank"

Be careful though, you don't want to replace *every* occurrence of
     target="_parent"
Only replace the ones that follow immediately after
     href="XXX"
and
     title="YYY"
that apply to your linked shapes.

Editing the html code isn't a desirable solution so let's hope SP2 does something positive. Let me know...
0
 
LVL 31

Accepted Solution

by:
Scott Helmers earned 1000 total points
ID: 22746771
Or upgrade to Visio 2007 and avoid the whole mess...
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

A recent Visio zone question asked how to use the data in an Excel file to create a Visio Gantt chart -- and then to dynamically update the Gantt chart. The good news is that the Viso Gantt Chart wizard can be automated. The bad news is that the…
The ability to add structure to Visio diagrams using containers, lists and callouts is one of my favorite features in Visio 2010. In this article I’ll describe a mashup of containers and lists that meet a real-world need. Prior to reading this ar…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

661 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