Orgwiz to auto publish to web page

B

bcap

Hi,

I would like to take my orgwiz script and make it so when it runs that
it automatically publishes to a web page instead of a regular Visio
chart. Below is my code. Could anyone please offer advice?

orgwiz /DATASOURCE=LienDB2,TABLE=BuildRelationships /display-
fields=Name,GroupName,Reports_to

Thank you!!!!!

Ray
 
B

bcap

Hi,

I found this:

RUNADDONWARGS("SaveAsWeb","/target=c:\mypage.htm /quiet /prop /
startpage=1 /endpage=3 /altformat /priformat=vml /secformat=jpg /
openbrowser")

However, when I run this with my cmd line it runs and opens the org
chart but not as a web page nor does it save to my directory.

I do not quiet understand the add-on stuff. Must this be an add-on
within "Solution Publishing Tool" or should this work straight from
the command line?
 
C

Chris Roth [Visio MVP]

Hi bcap,

I don't think you can get the publish-to-web from the command line. I
think David was referring you to the SDK with automation and code in
mind (unless there's something I've completely missed...)

You'd have to create the chart in Visio, then use automation to run the
Save As Web feature to get your publishing done. Specifically, check out
the SDK examples under "SaveAsWeb Object"

--
Hope this helps,

Chris Roth
Visio MVP


Visio Guy: Smart Graphics for Visual People

Articles: http://www.visguy.com
Shapes: http://www.visguy.com/shapes
Dev: http://www.visguy.com/category/development/
Forum: http://www.viguy.com/vgforum
 

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