Infrastructure Map Server Developer

Reply
Valued Contributor
Posts: 85
Registered: ‎04-12-2012
Message 1 of 3 (1,160 Views)

Several Map Layout issues

1160 Views, 2 Replies
04-26-2012 01:52 PM

Hi, I use Autodesk Infrastructure Map Server to create several Map Layouts for different customer services. I need all the functions are same. Only the data is different. So I have to custmize saparately for these different Map Layouts. It's kind of duplicated work. Is there a way that I can just customize one layout, then apply to the other map layouts? Thank you.

Valued Mentor
Posts: 269
Registered: ‎10-06-2008
Message 2 of 3 (1,148 Views)

Re: Several Map Layout issues

05-02-2012 06:52 PM in reply to: swimming123

Use the MgResourceService API to read out your WebLayout/ApplicationDefinition XML, replace the Map Definition ID within to point to the customer-specific map you are after, save the modified WebLayout/ApplicationDefinition to a session based resource, then redirect to the AJAX/Fusion viewer with this session-based resource id

 

This way, you have the same application structure, but a different underlying map.

 

- Jackie

Valued Contributor
Posts: 85
Registered: ‎04-12-2012
Message 3 of 3 (1,140 Views)

Re: Several Map Layout issues

05-07-2012 06:55 AM in reply to: jackie.ng

Thank you, Jackie. I found most of the data for our different customers shared the same data, just some of layers are different. So can I just create a class: when different customers logged in, only shared data and some of particular data are visible, while the other layers those are not belong to this particular customer will be invisible. That way, I don't need to douplcate these shared data. Thank you for your help.

 

Allen

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community