EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB37619: How to Remove Intelligence Server Name on the Projects Page and the Login Page in MicroStrategy Web using MicroStrategy SDK


Community Admin

• Strategy


How to Remove Intelligence Server Name on the Projects Page and the Login Page in MicroStrategy Web using MicroStrategy SDK.

Removing the Intelligence Server name from the Projects page:
 
 
Before Customization:
 
 

ka04W000000Od4aQAC_0EM440000002GlU.png

After Customization:
 

ka04W000000Od4aQAC_0EM440000002GlM.png

     

  1. Launch the Web Customization Editor (WCE).
  2. Create a new plug-in and give it a meaningful name. For example: RemoveIntelligenceSeverName.
  3. Click on Strategy Web Configuration inside the Application Settings view to expand the hierarchical tree. The expanded list comprises the different settings that can be modified to perform customizations.
  4. Navigate to Strategy Web Configuration > Styles.
  5. Right click on the ProjectsStyle style to open the Style Properties editor.
  6. Click on the Style Layouts tab.
  7. Click on the Edit Layout button and click Yes to copy the file.
  8. Delete the following two nodes:
     
    <div class="mstrServer">
       <mstrlayout:render name="serverAlias">    
          <mstrlayout:argument list="project" type="com.Strategy.web.app.ProjectInformation"/>   
       </mstrlayout:render>
       </div>...<div class="mstrServer">  
          <mstrlayout:render name="serverAlias">    
              <mstrlayout:argument list="project" type="com.Strategy.web.app.ProjectInformation"/>  
          </mstrlayout:render>
       </div> 
     
  9. Save your changes.
  10. Restart the Web Server to reflect the changes.

Removing the Intelligence Server name from the Login page:
 
Before Customization:
 

ka04W000000Od4aQAC_0EM440000002GlN.png

After Customization:

ka04W000000Od4aQAC_0EM440000002GlP.png

 
To remove the Intelligence Server name on the Login page, follow the same steps as above except for step 9.  For step 9, modify the LoginStyle style.  The node that needs to be removed is as follows:
Sample Code/Error
 <div class="mstrServer">
     <mstrlayout:render name="serverSection"/>
 </div>
  
The example provided in this document is provided “as-is” to the user and assumes that the user:

  • Can program, compile (e.g. javac, jikes, etc.), and execute Java programs
  • Can configure environment variables (e.g. JAR files, property files, etc.)
  • Have all the necessary tools to create Java applications (JDK, IDE, etc.)
  • Has access to the Strategy SDK documentation.
  • Has read the customization warning at the bottom of this document

 
PREREQUISITES:
 
 
 
 
For the sample to work, the Strategy Web JAR files must be accessible by the Java Runtime
Environment. The Strategy Web JAR files can be found under:

  • Strategy Web Universal (JSP): {web_root}/WEB-INF/lib directory.
  • Strategy Web (.NET): Program Files\Common Files\Strategy directory. 
     

 
 
 
 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

June 23, 2017

Last Updated:

June 23, 2017