[mapguide-users] RE: Alias to external DWF files

GIS4U johnniegis at gmail.com
Tue Aug 30 12:42:23 EDT 2011


In the DWF data source xml is the <Name> tag:

  <Sheet>
    <Name>com.autodesk.dwf.ePlot_PzUXam3FOUiHAfx0Jiafig</Name>

Note that the 'PzUXam3FOUiHAfx0Jiafig' portion of the name changes with
every DWF that's generated so you have to get that part of the name from the
DWF itself and replace it in the data source xml programmatically.

Hope that helps,
Jonathon

On Tue, Aug 30, 2011 at 8:34 AM, frosty1_4me <kbowman at cityofgp.com> wrote:

> When the load procedure is first run, it creates the directory with the DWF
> and the uniqueID within the repository.  If I run that same load procedure
> again with an updated DWF, doesn't it just overwrite the existing DWF in
> the
> same directory?  I don't think it creates another one unless you create a
> new load procedure.
>
> I did try and just overwrite that DWF in the repository to see what would
> happen.  So far its been less than successful.  After overwriting the file,
> I can no longer see the dwf data within studio or the viewer, it's just
> blank in the preview window of studio and doesn't appear in the viewer.  I
> restarted the AIMS service to refresh the data within the viewer and
> studio,
> but the DWF is still not shown.  I have no idea where the dwf is getting
> cached, I thought restarting the service and browser would release that
> cache but no such luck.  I even recycled the application pool, and
> restarted
> IIS with no luck.   I can download the dwf from my datasource in Studio and
> it's the correct DWF, but its not appearing the viewer.  This may have
> something to do with the XML Jonathon spoke of but I don't know.
>
> I thought it was my kids giving me grey hair, but I can now see it's these
> dwf's in MGE.
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Alias-to-external-DWF-files-tp5992002p6742643.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20110830/de2e998f/attachment.html


More information about the mapguide-users mailing list