Customizing the Login Screen

You can customize images, colors, and text displayed on the Login screen. Customization of the Login screen is a static change and the changes are persisted within the period of application server run time.

You can customize the Login screen using the following two ways:

Create a Custom Template

  1. Contact TIBCO Support to get the html template for the Login screen.
  2. Make changes to the template as per your requirement.
  3. Do not remove the IDs of an enterprise, username, and the password fields or the element itself from the template.
  4. Compile the html template and generate xmlc class. Refer to the section,Compiling and Deploying the Custom Form.

Use customLogin.html

  1. Create the customLogin.html file in the $MQ_COMMON_DIR/htmlprops/ directory.
    Note: If the htmlprops folder is not in $MQ_COMMON_DIR, create it in $MQ_COMMON_DIR.
  2. Create the custom Java script to customize the login screen. For example, the following script replaces the support contact text support@tibco.com to support@mycompany.com along with setting default values for the company name, user name, and password fields.
    <script>
    jQuery("#enterpriseNameId").val("MYCOMPANY");
    jQuery("#loginname").val("admin");
    jQuery("#passwd").val("admin");
    jQuery("#loginContactInfoSubContent").text("support@mycompany.com");
    jQuery("#enterpriseNameId").focus();
    </script>
  3. Save the file.
Note: You can customize the Login Screen extensively by using the customLogin.html file along with the use of external services.