Web page creation, and dynamic shape update

B

bobo

hi:
in the spirit of "let's make software do things that it was never intended
to do";
I have built some visio --> html web pages with (for example) a router with
customer properties, such as serial number.

I linked the custom shapes (read router) to an external database and would
like have the web page display the current contents of the database record
linked to the router.

I'd like to have the user bring up the web page, select the router, and
ctrl/right click to show the (externally updated database record) properties
of the router.

Has anyone done this little trick?

thanks in advance for any pointers or expressions of sympathy at my
foolishness.
 
D

David P (Visio MVP)

You could just have a hyperlink on the router shapes that opens up it's own
web page (or using an asp filter) for example.
There ae many ways to create the router's web page ...
 
A

Acolin

isn't there a way (which I have not made work yet) to link the shapes' Custom
Properties to the DB record, with the Link to DB Wizard, so that a Custom
Callout will display the information from the Custom Property (DB record)?
 
L

LostBrain

You have to remember that visio only uses the database link to update the
custom properties field while in visio. When you generate the html visio
exports the custom prop info to an xml file and the uses java to access and
generat the data including shapes. You would have to 'hack' the xml and/or
java in the html file. You could create an asp to update the data in the xml
file then fire up the visio html. But you would first have to disect the xml
that visio creates so you can setup the asp to regen that file when ever the
asp is opened by the user.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top