• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk MapGuide Enterprise

    Reply
    Valued Contributor
    Posts: 72
    Registered: ‎04-12-2012

    Can I change ApplicationDefinition based on log in client's Id

    462 Views, 3 Replies
    11-06-2012 10:37 AM

    In order to show different spatial data type to different clients; Can I dynamically (program) to create a fusion Application Definition? I really need this function works.

    Please use plain text.
    Mentor
    Posts: 238
    Registered: ‎10-06-2008

    Re: Can I change ApplicationDefinition based on log in client's Id

    11-06-2012 06:41 PM in reply to: swimming123

    An ApplicationDefinition is just an XML document pointed to by a resource id.

     

    Both of which you can customize and/or override before the Fusion viewer ever gets its hands on it.

     

    So you would build the specific ApplicationDefinition XML document based on your client's id, save it out into a session-based resource id, and feed that resource id into your Fusion template URL so it gets initialized with your client-specific ApplicationDefinition

     

    - Jackie

    Please use plain text.
    Valued Contributor
    Posts: 72
    Registered: ‎04-12-2012

    Re: Can I change ApplicationDefinition based on log in client's Id

    11-06-2012 07:26 PM in reply to: jackie.ng
    Thank you very much, Jackie.
    Please use plain text.
    Valued Contributor
    Posts: 72
    Registered: ‎04-12-2012

    Re: Can I change ApplicationDefinition based on log in client's Id

    11-07-2012 07:56 AM in reply to: jackie.ng

    It's a very good idea. But I cannot find the where is the fusion Application Definition file stored, or where is my layout folder is when I create it using Studio or Maestro. Thank you.

    Please use plain text.