Ok, thanks very match, i have understand regards Kenneth Skovhede, GEOGRAF A/S wrote: > > The "Command Name" is not the name of a file, it's a logical name of the > command, used to identify it in Studio. > In the "Additional Parameters" area, you enter a javascript. > If you enter the name of a file, it won't load, because a filename is > not a javascript. > > If your script is in an aspx page, you can try the "invoke url" option > instead. > > Regards, Kenneth Skovhede, GEOGRAF A/S > > > > [email protected] skrev: >> I means that in my layout file in mapguide studio, i parameter the new >> command >> (tools and menus) : i create a new custom command : 'Execute a script'. >> In the >> aera 'Adding Parameters' Mapguide studio Help indicate that you must edit >> the >> name of your script : so i take myfile.aspx. >> But when i run, nothing occurs ! >> Thanks >> Selon Ivan Milicevic <[email protected]>: >> >> >>> What do you mean by "edit the nameo f my aspx file"? Could you be more >>> specific? >>> >>> -----Original Message----- >>> From: [email protected] >>> [mailto:[email protected]] On Behalf Of euskalmap >>> Sent: Friday, December 12, 2008 10:32 AM >>> To: [email protected] >>> Subject: [mapguide-users] Execute a script with mapgudie studio 2.0 >>> >>> >>> hi, >>> when i try to execute a script with a custom command in mapguide studio >>> nothing occurs; >>> if i edit an instrction like alert("hello") , it is run but if a edit >>> the >>> name of my aspx file myfiles.aspx, for example) , nothing occurs >>> >>> have you an idea? >>> >>> thanks >>> >>> ----- >>> euskalmap >>> config. >>> mapguide ose 2.2 >>> windows 2003 server sp2 >>> -- >>> View this message in context: >>> http://www.nabble.com/Execute-a-script-with-mapgudie-studio-2.0-tp209715 >>> 93p20971593.html >>> Sent from the MapGuide Users mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> mapguide-users mailing list >>> [email protected] >>> http://lists.osgeo.org/mailman/listinfo/mapguide-users >>> _______________________________________________ >>> mapguide-users mailing list >>> [email protected] >>> http://lists.osgeo.org/mailman/listinfo/mapguide-users >>> >>> >> >> >> _______________________________________________ >> mapguide-users mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/mapguide-users >> > > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users > >
----- euskalmap, My configuration Mapguide OSE 2.2 Autodesk Mapguide Studio 2009 Windows XP PRO SP2 I.I.S 6.0 -- View this message in context: http://www.nabble.com/Execute-a-script-with-mapgudie-studio-2.0-tp20971593p20975455.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
