Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
top
top

Table of Contents
classcontents

Overview

Customisation of the standard Yellowfin Login Page can be performed two ways:

...

You will need to clear your browser cache once replacing these images in order for them to appear.

Note: the images you wish to use as replacements will need to have the same name as the files listed above in order for the page to pick them up. You no longer have to overwrite the originals, simply place your new images in the custom directory. This will mean that they will not be overwritten during the upgrade process.

...

In order to ensure Yellowfin uses this file instead of the standard option, you will need to complete the following while Yellowfin is not running:

  1. Stop Yellowfin
  2. Locate the web.xml file found in Yellowfin\appserver\webapps\ROOT\WEB-INF and locate the following:

    Code Block
    languagehtml/xml
       <!-- The Welcome File List -->
    
      <welcome-file-list>
        <welcome-file>index_mi.jsp</welcome-file>
      </welcome-file-list>
    
    1. Update the welcome-file node to reference your new login page's name. For example:

      Code Block
      languagehtml/xml
         <!-- The Welcome File List -->
      
        <welcome-file-list>
          <welcome-file>login_companyName.jsp</welcome-file>
        </welcome-file-list>
      
    2. Save the changes to the web.xml.
  3. Edit your new login page, locating any references to index_mi.jsp and update to your login page name. For example:
    1. This

      Code Block
      languagejavascript
      
      <input type="hidden" name="<%=Const.INDEX_PAGE%>" value="/index_mi.jsp" />
      

      Will become

      Code Block
      languagejavascript
      
      <input type="hidden" name="<%=Const.INDEX_PAGE%>" value="/login_companyName.jsp" />
      
    2. And this

      Code Block
      languagejavascript
      
      Const.INDEX_PAGE +"=/index_mi.jsp"
      

      Will become

      Code Block
      languagejavascript
      
      Const.INDEX_PAGE +"=/login_companyName.jsp"
      
    3. Save the changes to your login page.
  4. In order to ensure your page is used once a user logs out, as well as the initial log in, a change needs to be made in the Yellowfin Configuration DB. In the DB:
    1. In the Configuration table, locate the record where ConfigCode = 'LOGONPAGE' and update the ConfigData = 'login_companyName.jsp' using:

      Code Block
      languagesql
      
      UPDATE dbo.Configuration
      SET ConfigData = 'login_companyName.jsp'
      WHERE ConfigCode = 'LOGONPAGE'
      
  5. Restart Yellowfin

...

Component

Standard Login

Custom Login

Full Page