<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Restoring a package is quite a big and cumbersome task.<br>
If you want to load a layer with oracle data, it is much easier to do
so,<br>
simply by loading the Xml manually. This can also be done without <br>
Administrator credentials.<br>
<br>
I can offer you no more advice than to look at the avalible code.<br>
AFAIK, there is no example code avalible that does exactly what you<br>
want, but the code I pointed you to should make it easier to do so.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
padmini godavarthi skrev:
<blockquote cite="mid:1232433076664-2185227.post@n2.nabble.com"
 type="cite">
  <pre wrap="">Hi Kenneth,
Thanks for u r reply.

u said that "Creating packages is an administrative task, so I won't expect
many API 
 users to have a need for it".but i want to load layers from oracle
dynamically 

(i mean to say if i have a,b,c tables in oracle.i ant to load a,b or b,c or
a,c layers based on requirement programmetically.so i thought dynamic
maestro will support this requirement.)

can u plz tell me 

1) How can i achieve this requirement dynamically.



Thanks and Regards,
Padmini.



Rodolfo Moreno wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">thanks Kenneth, It's cool.


Kenneth Skovhede, GEOGRAF A/S wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Yes, you need at least 1.0.9, but the released version has a bug,
with creating packages, so you should get the preview release from the 
download page:
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/wiki/maestro/Downloads">http://trac.osgeo.org/mapguide/wiki/maestro/Downloads</a>

The package options are found in the "Package" menu.

Regards, Kenneth Skovhede, GEOGRAF A/S



Rodolfo Moreno skrev:
      </pre>
      <blockquote type="cite">
        <pre wrap="">Hi, I didn't know that Mapguide Maestro can create mapguide packages.
I have 1.0.8.27399 version and I have not found this option.
could you tell me how can I achieve this?
or maybe I need the last maestro version.

Thanks,


Kenneth Skovhede, GEOGRAF A/S wrote:
  
        </pre>
        <blockquote type="cite">
          <pre wrap="">Hello Padmini.

There are no ready-to-use code in MaestroAPI for authoring (creating) 
MapGuide Packages.
Creating packages is an administrative task, so I won't expect many API 
users to have a need for it.

The Maestro application has code that creates and edits packages.
The code can be found here:
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/browser/trunk/Tools/Maestro/Maestro/PackageManager">http://trac.osgeo.org/mapguide/browser/trunk/Tools/Maestro/Maestro/PackageManager</a>

Especially the file "PackageBuilder.cs" should be of interrest.

Regards, Kenneth Skovhede, GEOGRAF A/S



padmini godavarthi skrev:
    
          </pre>
          <blockquote type="cite">
            <pre wrap="">Hi,
iam using mapguide opensource 2.0 (with .net 2.0+IIS 5.1)
Presently iam using mapguide maestro for creating  mapguide
packages.but
i
want to create my package dynamically through coding(using
maestroAPI.dll)

can any boby plz help me so that it will be very helpful to me.



Regards,
Padmini.  
  
      
            </pre>
          </blockquote>
          <pre wrap="">_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>


    
          </pre>
        </blockquote>
        <pre wrap="">
-----
Rodolfo Moreno
CivilEng

  
        </pre>
      </blockquote>
      <pre wrap="">_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>


      </pre>
    </blockquote>
    <pre wrap="">
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
</body>
</html>