4 Replies Latest reply on Nov 29, 2016 10:44 AM by pbaierl RSS
    pbaierl Creator

    Active Organization

    Is there a way to determine which organization (FormLogin Screen) was used to login to the mashups/application?

     

    I have a few mashups that are common across all our customers.  I am using a value display to change the logo shown on these screens.  However, I am having a hard time finding a way to track which organization was used to login.  I would like to try and determine the active organization without looking at the current user.  The reason is that my login (for example) will have access to multiple organizations since I will be the over all administrator/developer.

     

    Thanks,

     

    Paul

      • Re: Active Organization
        carlesc Heavyweight Champ

        Hi Paul,

         

        I suppose you are building a multi-tenancy solution, if that's the case it's the same for us. I have always a parameter on the mashups which indicates the current Organization ( aka customer )

         

        Carles.

        • Re: Active Organization
          pbaierl Creator

          Thanks Carles,

           

          Yes, I am creating a multi-tenancy solution.  I know that I could create a value to track the current organization once I know it.  I am a bit confused as to how I can tell which FormLogin/organization was used to reach the first mashup.  The three organizations I have setup currently all jump to the same home mashup. 

           

          I could create a custom HOME mashup for each organization.  When this unique mashup (in name only) is reached I would set the active organization, but I was hoping not to have to do this. 


          So my question is:  Is it possible to determine which FormLogin/organization screen was used by a user to login?


          It would be great if this was part of the User Extension information (active user organization).


          Thanks,


          Paul