Re: [mapguide-users] FW: Migration/Upgrade to Mapguide

2020-02-06 Thread Matze
I would do the migration as followed:
 - Setup the new Windows Server. Keep the old one.
 - For PHP, install the roles/features for IIS with CGI (for FastCGI
support) 
 - Check where you can find the original data (Shapes, SDF...). If they are
not inside the repository, copy/migrate them to the new server. For database
connections you maybe need to setup the ODBC connection. Have a look inside
the server.ini under [UnmanagedDataMappings]. Maybe you see some alias
paths. If you like to keep the same path strutcure, recreate it inside the
new server.
 - Install the new MapGuide Open Source and new MapGuide Meastro Version
 - setup the [UnmanagedDataMappings] in the new server.ini, if needed. 
 - then try the steps in this instruction:  2.1MigrationInstructions
  
 - If everything was without any errors, use maestro to check every
datasource. Sometime you have to resave them, when you changed the paths for
datamappings
 - try to run the map in the preview.
 - check the mapguide error logs

maybe I forgot something... ;)



 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] FW: Migration/Upgrade to Mapguide

2020-02-06 Thread Jackie Ng
I'll add to what's already been said by saying don't bother with 3.0 and go
straight to 3.1.2 (the latest stable release) unless you have a very good
reason not to.

- Jackie



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] FW: Migration/Upgrade to Mapguide

2020-02-06 Thread Martin Morrison
In addition to what Matze and Jackie said, I will add if someone did any custom 
coding you may need to slightly revise some code on FDO connections.  

Thanks.

Martin Morrison
Application Engineer
Main Office: 540-345-1410 Toll Free: 888-355-0081
Products ǀ Training ǀ Service ǀ Tech Support
 
Please visit microcad3d.com for more information!
 


-Original Message-
From: mapguide-users  On Behalf Of 
Jackie Ng
Sent: Thursday, February 6, 2020 5:00 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] FW: Migration/Upgrade to Mapguide

I'll add to what's already been said by saying don't bother with 3.0 and go 
straight to 3.1.2 (the latest stable release) unless you have a very good 
reason not to.

- Jackie



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Suggested approach to consume EnumerateResources (C#)

2020-02-06 Thread diordonezr
Hi There.

What is the suggested approach to consume the resulting XML from
EnumerateResources in C# ?

So far I have succesfully retrieved the full list of resources and the
xmlDoc is ready.
Is there any way to process that XML in a friendly manner ? perhaps
serialization with XSD or MaestroAPI ?

Thanks for your comments

Diego


// Assuming $resourceService has already been initialized.
   MgResourceIdentifier mgResourceID = new
MgResourceIdentifier("Library://");
   MgByteReader mgByteReader =
resourceService.*EnumerateResources*(mgResourceID, -1, string.Empty);
   string echoBbyteReader = mgByteReader.ToString();

   XmlDocument xmlDoc = new XmlDocument();
   xmlDoc.LoadXml(echoBbyteReader);



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Suggested approach to consume EnumerateResources (C#)

2020-02-06 Thread Jackie Ng
Maestro API includes a standalone object model library
(https://www.nuget.org/packages/OSGeo.MapGuide.ObjectModels) which contains
a ResourceList class that you can then deserialize the XML into via
XmlSerializer.

- Jackie



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users