[mapguide-users] Deploying custom tool for multiple projects

Darrin Maidlow dmaidlow at landorgis.com
Sat Sep 6 01:45:19 EDT 2008


Hi Poy,

It's possible you are running into browser protection for cross site
scripting (XSS), which prevents the execution of javascript across multiple
domains, including sub-domains.  You could try running both sites and the
mapguide web tier on a single domain:

Projects.mycompany.com/project1
Projects.mycompany.com/project2
Projects.mycompany.com/MapguideWebTier

Hope that helps.
darrin
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of poy
Sent: Friday, September 05, 2008 8:29 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Deploying custom tool for multiple projects


Hi All,

I have developed a generic tool which I would like to use for multiple
projects. The generic tool is an asp.net application which I will load using
Invoke URL command. 

All my projects are hosted in a web server. eg. http://proj1.mycompany.com,
http://proj2.mycompany.com. Both these websites have to use the generic
tool. So, my question is can I deploy my generic tool to the server only
once and reuse it using the Invoke URL command? I tried it but the tool
works only when it is deployed within the project specific locations. For
eg., I need to deploy the tool once within the proj1 directory and again
within the proj2 directory for the tool to work with both the websites. 

In simple terms, when I invoke the generic tool based on some application
logic, the tool will finally zoom in to a particular location on the map.
So, I will use the Viewer's ZoomToView command. To do this, I will get the
handle of the viewer frame. I am unable to do this when the tool is not
deployed within the project directory. 

Is there a feasible solution or am I failing to understand something here?

Thanks for your time.
poy

-- 
View this message in context:
http://www.nabble.com/Deploying-custom-tool-for-multiple-projects-tp19332497
p19332497.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



More information about the mapguide-users mailing list