Anchor | ||||
---|---|---|---|---|
|
Table of Contents | ||
---|---|---|
|
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:
- Stop Yellowfin
Locate the
web.xml
file found inYellowfin\appserver\webapps\ROOT\WEB-INF
and locate the following:Code Block language html/xml <!-- The Welcome File List --> <welcome-file-list> <welcome-file>index_mi.jsp</welcome-file> </welcome-file-list>
Update the
welcome-file
node to reference your new login page's name. For example:Code Block language html/xml <!-- The Welcome File List --> <welcome-file-list> <welcome-file>login_companyName.jsp</welcome-file> </welcome-file-list>
- Save the changes to the
web.xml
.
- Edit your new login page, locating any references to
index_mi.jsp
and update to your login page name. For example:This
Code Block language javascript <input type="hidden" name="<%=Const.INDEX_PAGE%>" value="/index_mi.jsp" />
Will become
Code Block language javascript <input type="hidden" name="<%=Const.INDEX_PAGE%>" value="/login_companyName.jsp" />
And this
Code Block language javascript Const.INDEX_PAGE +"=/index_mi.jsp"
Will become
Code Block language javascript Const.INDEX_PAGE +"=/login_companyName.jsp"
- Save the changes to your login page.
- 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:
In the
Configuration
table, locate the record whereConfigCode = 'LOGONPAGE'
and update theConfigData = 'login_companyName.jsp'
using:Code Block language sql UPDATE dbo.Configuration SET ConfigData = 'login_companyName.jsp' WHERE ConfigCode = 'LOGONPAGE'
- Restart Yellowfin
...
Component | Standard Login | Custom Login |
---|---|---|
Full Page |