Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

To change default Pega busy indicator image

SA-13622

Summary



How to change Pega default busy indicator image?

Error Messages



Not Applicable.

Steps to Reproduce



Not Applicable.

Root Cause



pxThrobber rule does not allow any customizations.

By default below is the pxThrobber image: 

Resolution

  1. Create a binary file with custom image (let it be "CustomPreloader")
    Custom image:

          
  2. Save-as the UserWorkForm in the available Application ruleset, add the below snippet in HTML Source.
                <script>
                      pega.ui.busyIndicator.prototype.createIndicatorImage = function() {
                      if(this.oSpan == null)
                      this.initialize(this._sNode);
                      var oSpan = this.oSpan;
                      if (this._message && this._message.length > 0) oSpan.innerHTML = "<img src = 'webwb/CustomPreloader.gif'   alt='loading' />" + " " + this._message ;
                      else oSpan.innerHTML = "<img src = 'webwb/CustomPreloader.gif' alt='loading' />";
                    }
                </script>


      3. Run manager portal. user can find the change of pxThrobber content with new custom image.
                     
 

Published September 1, 2015 - Updated October 8, 2020

Was this useful?

73% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice