hello all,
i'm trying to launch an mxd from a hyperlink i've created on a web page.
this web page acts as a very simple table of contents to navigate a dataset i'm supplying to clients on cd linking to tables, figures, text documents and (hopefully) mxds and pmfs.
i have no problems linking to word and acrobat and i have managed to launch a blank arcmap session, but i can't find a way to open a specific mxd.
i guess i could approach from another angle and use a pdf as the main table of contents viewer.
any help would be appreciated,
dave
how to launch an mxd from a web browser?
Started by
david17tym
, Mar 20 2007 04:43 AM
7 replies to this topic
#1
Posted 20 March 2007 - 04:43 AM
#2
Posted 20 March 2007 - 01:12 PM
good question, some initial google and esri searches didn't turn anything up for me. i'm looking into this.
#3
Posted 20 March 2007 - 01:16 PM
good question, some initial google and esri searches didn't turn anything up for me. i'm looking into this.
If I'm not mistaken, if a link to a file format not supported by the browser is clicked, the browser will ask the user what to do with it. This 'kinda' works in Firefox (depends on local settings, I believe).
Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics
#4
Posted 20 March 2007 - 07:27 PM
ArcMap can be launched via the command prompt.
The trick is that if ArcGIS\bin is not in the $PATH environment variable, you'll need to know the full path to ArcMap.exe
Launch your command prompt and type:
c:\progra~1\arcgis\bin\arcmap.exe <full path to one of your map documents>.mxd
I can't remember for certain as it's been a while since I did something like this, but you may also need the cmd prefix in your call to the OS to launch ArcMap.
If you want the map to show in the browser, then the best you can do is use ArcReader which has a browser option and you'll have to use the Publisher extension to publish each .mxd into a .pmf.
The trick is that if ArcGIS\bin is not in the $PATH environment variable, you'll need to know the full path to ArcMap.exe
Launch your command prompt and type:
c:\progra~1\arcgis\bin\arcmap.exe <full path to one of your map documents>.mxd
I can't remember for certain as it's been a while since I did something like this, but you may also need the cmd prefix in your call to the OS to launch ArcMap.
If you want the map to show in the browser, then the best you can do is use ArcReader which has a browser option and you'll have to use the Publisher extension to publish each .mxd into a .pmf.
Charlie Frye
Chief Cartographer
Software Products Department
ESRI, Redlands, California
Chief Cartographer
Software Products Department
ESRI, Redlands, California
#5
Posted 20 March 2007 - 10:09 PM
In my limited trials in similar situations, I've found that a simple hyperlink to the file itself is usually the best option. The browser will prompt the user to download or "open with..." but it seems to universally work, and choosing "open with" will open the file correctly in Arc. With other solutions, they may offer a more streamlined experience for some, but they force you to make several assumptions about your end user, including the install path to arc on their system, and in some cases the browser that they'll be using to view the HTML. IE sometimes throws several scary security warnings when linking to files from a CD based source, so watch out for that too. The same HTML source running off a CD, off a hard drive, and off the web can give three entirely different results.
Adam Wilbert
CartoGaia.com & AdamWilbert.com
Lynda.com author of "Access 2013 Essential Training"
#6
Posted 22 March 2007 - 04:31 AM
Thanks everyone for the suggestions,
I settled on Charlie's to link to pmfs from the browser to view the maps, and include the mxds for clients who want the extra functionality.
I agree with Adam's points too, hard coding paths to the executable and data is not really an option.
I did come across an interesting new (for me) development concerning GeoPDF format. It essentially combines ArcReader functionality within a PDF, I think it could prove useful in the future.
GeoPDF developer's website: http://www.terragotech.com
Cheers from an unseasonably frosty UK,
Dave
I settled on Charlie's to link to pmfs from the browser to view the maps, and include the mxds for clients who want the extra functionality.
I agree with Adam's points too, hard coding paths to the executable and data is not really an option.
I did come across an interesting new (for me) development concerning GeoPDF format. It essentially combines ArcReader functionality within a PDF, I think it could prove useful in the future.
GeoPDF developer's website: http://www.terragotech.com
Cheers from an unseasonably frosty UK,
Dave
#7
Posted 22 March 2007 - 08:12 AM
GeoPDF is a great product, but it being priced at $1195 really annoys me. That certainly places it outside the realm of possibility for most non-profit use. I have already been producing layered PDFs from ArcGIS using Illustrator as a converter, but you still can't include the table data that way. I'm going to look into an open source solutions for this.
UPDATE: OK, I didn't realize that in addition to their exporting product, they have the "toolbar" which interacts with the GeoPDF file to display all the extra data. But still, $1000+ software irks me. But I can appreciate that making a toolbar interact with Adobe via a web browser requires a substantial amount of development work.
UPDATE: OK, I didn't realize that in addition to their exporting product, they have the "toolbar" which interacts with the GeoPDF file to display all the extra data. But still, $1000+ software irks me. But I can appreciate that making a toolbar interact with Adobe via a web browser requires a substantial amount of development work.
#8
Posted 22 March 2007 - 10:10 AM
We used GEOPDF and it is a great tool. ESRI PDF export has alot of bugs mainly with symbols, Geopdf fixes all those issues. The price isn't that bad, I think Avenza Map Publisher is overpriced.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users


Sign In
Create Account

United Kingdom
Back to top
United States
Netherlands









