Qlik-Sense-Reload-Button icon indicating copy to clipboard operation
Qlik-Sense-Reload-Button copied to clipboard

How to change the ICON of the reload button

Open kishanoranw opened this issue 8 years ago • 1 comments

When i am using the Reload Button Extension in Qlik sense, i am geting this icon circled in red: reload

I want to change the icon of the Reload button to something like this : reload_btn

kishanoranw avatar Jul 12 '16 07:07 kishanoranw

Hi,

The easiest way is modifying the code in ReloadButton.js as follows. Following example show the image file named "reload_btn.png" placed on the default content library.

-existing code

           // Display Extension Visualization
            var html = html = '<a href="#" id="modal-open" class="btn btn-primary">Reload</a>'; 

-modified coded

            var url = '/content/default/reload_btn.png';
           var html = '<a href="#" id="modal-open" >' + '<img style="width:100%" src="' + url + '">' + '</a>';

mhamano avatar Jul 25 '16 09:07 mhamano