Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

One Intelligence Server/ Multiple client login URLs

Status
Not open for further replies.

26point2

Programmer
Jun 1, 2003
18
0
0
US
Hi there,

We have one department that would like to see their logo displayed on their login/welcome page for their various projects they own. This is easily done by inserting our logo into the GenericHeader.asp file, as described in TN5600-072-0551.

However, another group of departments we serve would like to see their particular logo in MicroStrategy. Thus, I don't know how to have two different login screens, but still use only one production Intelligence Server on one box. We'll get another box, but not for a while. Would it make sense to perhaps install TWO instances of the Intelligence Server on one box. Each departments has their own set of projects, which do not overlap, but do share a common data source.

I've tried making another copy of the MicroStrategy Web directory on the web server, so we can have two separate URLs-- when I go to the new URL, there are no graphics and the login doesn't work. Do I install MicroStrategy Web again on the web server or perhaps create a new folder at a different level?

We are on 7.2.1. What do you think?

Thanks in advance,
Dennis
 
You don't have to create 2 instances or 2 projects for two groups or departments.

What you can do is, when a user logs in on the web., check to which group the user belongs(coding is required) and dynamically change the logo on the web. Store the logo in one of the folder on the server for each set of users or group and display that logo corresponding to the user that logs in. So the login page will remain only one.

Is this answers your query?

User14

 
Hi User14,

Yes, you are right. Would you have any example code that I could use to do this?

Much appreciated,
Dennis
 
Well, folks, I figured it out. Three simple steps. No need to make calls to the metadata database or anything complicated. Here's what to do:

First, find the GenericHeader.asp file. Where it references the canned MicroStrategy logo, insert the following:

If len(ReadUserOption(ACCESSIBILITY_OPTION))<>2 then
Response.Write &quot;<A HREF=&quot;&quot;#SKIPNAV&quot;&quot;>&quot;
If Request(&quot;UType&quot;) = &quot;1&quot; Then
Response.Write &quot;<IMG SRC=&quot;&quot;Images/image1.gif&quot;&quot; WIDTH=&quot;&quot;320&quot;&quot; HEIGHT=&quot;&quot;30&quot;&quot; ALT=&quot;&quot;&quot; & asDescriptors(1884) & &quot;&quot;&quot; BORDER=&quot;&quot;0&quot;&quot; />&quot; 'Descriptor: Skip
Else
Response.Write &quot;<IMG SRC=&quot;&quot;Images/image2.gif&quot;&quot; WIDTH=&quot;&quot;320&quot;&quot; HEIGHT=&quot;&quot;30&quot;&quot; ALT=&quot;&quot;&quot; & asDescriptors(1884) & &quot;&quot;&quot; BORDER=&quot;&quot;0&quot;&quot; />&quot; 'Descriptor: Skip
End If
Response.Write &quot;</A>&quot;
End If

Secondly, make sure to place image1.gif (and the other images) into the images folder.

Finally, make sure that each group types in a URL that corresponds to their &quot;utype&quot;. For example,

server.yourdomain.com/microstrategy7/login.asp/?utype=1
server.yourdomain.com/microstrategy7/login.asp/?utype=2
server.yourdomain.com/microstrategy7/login.asp/?utype=3
etc....


Dennis


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top