#1 2020-03-11 08:18:06

Amar
Member
From: Montpellier (France)
Registered: 2019-02-12
Website

Logo on the descriptive document of the report

Hello,

We have a small problem to change the logo on the descriptive document of the report.
We have modified the "theme.cf" file and in particular the "report" tag.
Where our logo should appear, the document displays "Logo" in full.
We are in "Enterprise Edition" version with a valid license.
The URL in the "report" tag opens well in a browser.

Thank you in advance for your help,
Regards,
Amar

Offline

#2 2020-03-18 12:25:11

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Logo on the descriptive document of the report

Hi Amar,

what exactly appears in the screen? Could you please post some screenshot? (http://imgbb.com)

Regards,
Eduardo

Offline

#3 2020-03-18 13:11:30

Amar
Member
From: Montpellier (France)
Registered: 2019-02-12
Website

Re: Logo on the descriptive document of the report

Hello Eduardo,

First of all, thank you for your response under the current conditions.

below, a screenshot:
https://ibb.co/Fg3BHBk

then the start of my "theme.cf" file: ----------------
<?xml version="1.0" encoding="UTF-8"?>
<!--
ReportServer Configuration File
filename: ui/theme.cf

Allows to adapt the look and feel of ReportServer
This file is only active in ReportServer Enterprise Edition
-->
<?xml version="1.0" encoding="UTF-8"?>
<!--
ReportServer Configuration File
filename: ui/theme.cf

Allows to adapt the look and feel of ReportServer
This file is only active in ReportServer Enterprise Edition
-->
<configuration>
  <theme type="borders">
    <header>
        <height>57</height>
    </header>
    <logo>
      <login>
        <html><![CDATA[<span class="rs-header-logo"> <img src="https://XXX.YYY.ZZ/report-server/reportserver/fileServerAccess?id=43531" height="22px" /></span>]]></html>
        <width>200px</width>
      </login>
      <header>
        <html><![CDATA[<span class="rs-header-logo"> <img src="https://XXX.YYY.ZZ/report-server/reportserver/fileServerAccess?id=43531" height="22px" /></span>]]></html>
        <width>200px</width>
      </header>
      <!-- <report>https://XXX.YYY.ZZ/report-server/reportserver/fileServerAccess?id=43531</report> -->
      <report>https://XXX.YYY.ZZ/report-server/reportserver/fileServerAccess?id=1584290</report>
    </logo>
   
    <colors>
      <color name="white" color="#FFFFFF"/>
      <color name="black" color="#000000"/>       
      <color name="black-almost" color="#132834"/>
---------------------------------------------------------------------------

Thanks again for all the help you can give me.
Amar

Offline

#4 2020-03-18 14:00:14

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Logo on the descriptive document of the report

Hi Amar,

thanks for the screenshots and the code.
This link is working if you open it with your browser, correct? https://XXX.YYY.ZZ/report-server/report … s?id=43531
What type of file is the image? jpg? png?

Can you also please check the directory which contains the image and check if the "web access" checkbox is selected?

Regards,
Eduardo

Offline

#5 2020-03-19 11:38:14

Amar
Member
From: Montpellier (France)
Registered: 2019-02-12
Website

Re: Logo on the descriptive document of the report

Hello Eduardo,
The link works perfectly on my web browser.
it is a PNG image.
I forgot the check box "web access", I changed it yesterday, and even after restarting the application, no changes.

Amar.

Offline

#6 2020-03-23 08:28:24

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Logo on the descriptive document of the report

Hi Amar,

in my case, this was not working until I ticked "web access", then it started working also with internal URLs as yours.

My theme.cf is:

<?xml version="1.0" encoding="UTF-8"?>
<!--
 ReportServer Configuration File
 filename: ui/theme.cf
 
 Allows to adapt the look and feel of ReportServer
 This file is only active in ReportServer Enterprise Edition 
-->
<configuration>
  <theme type="default">
    <header>
    	<height>40</height>
    </header>
    <logo>
      <login>
	      <html><![CDATA[<span class="rs-login-logo"><i class="icon-rs-logo"></i></span><span class="rs-login-edition">Enterprise Edition</span><span class="rs-login-bg"><i class="icon-rs-logo-square"></i></span>]]></html>
    	  <width>200px</width>
      </login>
      <header>
          <html><![CDATA[<span class="rs-header-logo"><i class="icon-rs-Report"></i><i class="icon-rs-Server"></i></span>]]></html>
    	  <width>185px</width>
      </header>
      <report>http://127.0.0.1:8888/reportserver/fileServerAccess?id=98567</report>
    </logo>
    
    <colors>
      <color name="white" color="#FFFFFF"/> 
      <color name="black" color="#000000"/>       
      <color name="black-almost" color="#132834"/>             

      <color name="purple-dark" color="#3E4059"/> 
      <color name="purple-light" color="#DFE0EB"/>       
      
      <color name="gray-light" color="#EEEEEE"/>
      <color name="gray-dark" color="#B8BDC0"/>      
      <color name="gray-very-dark" color="#6D708B"/>
      
      <color name="terminal-green" color="#00B000"/>             
    </colors>
    
    <colorMapping>
      <map useFor="bg" colorRef="gray-dark"/>
      <map useFor="bg.text" colorRef="black"/>
      
      <map useFor="bg.light" colorRef="white"/>
      <map useFor="light.text" colorRef="black"/>
      
      <map useFor="bg.shaded" colorRef="gray-light"/>
      <map useFor="shaded.text" color="#666666"/>
      
      <map useFor="hl.dark.bg" colorRef="purple-dark"/>
      <map useFor="hl.dark.text" colorRef="white"/>

	  <map useFor="hl.light.bg" colorRef="purple-light"/>
      <map useFor="hl.light.text" colorRef="black"/>
            
      <map useFor="header.bg" colorRef="black-almost"/>
      <map useFor="header.text.active" colorRef="white"/>
      <map useFor="header.text.inactive" color="#BBBBBB"/>
	  <map useFor="header.text.right" color="#BBBBBB"/>      

      <map useFor="terminal.bg" colorRef="black"/>
      <map useFor="terminal.text" colorRef="terminal-green"/>
      <map useFor="terminal.hl.bg" colorRef="gray-very-dark"/>      
 	  <map useFor="terminal.link" colorRef="white"/>      

      <map useFor="border.light" colorRef="gray-dark"/>

      <map useFor="tbar.btn.bg" colorRef="gray-dark"/>
      
      <map useFor="icon.light" color="#999999"/>      

    </colorMapping>
    
    <css>
      .icon-rs-Report {
        color: #FFF !important;
      }
    </css>
  </theme>
</configuration>

Could you please check the following:
1. could you compare your file with mine? Is something different?
2. does it work with an external image, e.g. with this one: https://www.google.de/images/branding/g … 2x92dp.png
3. which version exactly do you have (rsversion.properties)
4. is your license active? license administration: can you please send a screenshot of this page?
5. I put my image here: "resources" and ticked the "web access" for the "resources" directory. Could you do the same?
After each configuration change, don't forget to send an "config reload" with the terminal in order to reload configuration settings.

Regards,
Eduardo

Offline

#7 2020-03-25 14:04:38

Amar
Member
From: Montpellier (France)
Registered: 2019-02-12
Website

Re: Logo on the descriptive document of the report

Hi Eduardo,

1. could you compare your file with mine? Is something different?
    I try with your file (i just change the URL between "report" tag) and always "logo" on the descriptive document of the report.
2. does it work with an external image, e.g. with this one: https://www.google.de/images/branding/g … 2x92dp.png
    always "logo" on the descriptive document of the report.
3. which version exactly do you have (rsversion.properties)
    RS VERSION : RS3.1.0-6010 (2019-10-02-09-19-22)
    JAVA VERSION : Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.65-b01 (1.8)
    APPLICATION SERVER : Apache Tomcat/8.0.28
    OPERATING SYSTEM : Linux
4. is your license active? license administration: can you please send a screenshot of this page?
    UPGRADE AVAILABLE UNTIL : 2023 January 31
    screenshot : https://ibb.co/fSZx704
5. I put my image here: "resources" and ticked the "web access" for the "resources" directory. Could you do the same?
    screenshot : https://ibb.co/MgDLmx4
    always "logo" on the descriptive document of the report.

Regards,
Amar

Offline

#8 2020-03-25 14:42:52

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Logo on the descriptive document of the report

Hi Amar,

just two quick questions:
- you reloaded with "config reload" all configuration after each change, correct?
- which browser are you using ? This is also available in the license page, "Client" information

Regards,
Eduardo

Offline

#9 2020-03-26 06:37:25

Amar
Member
From: Montpellier (France)
Registered: 2019-02-12
Website

Re: Logo on the descriptive document of the report

Hi Eduardo,

"Ctrl" + "Alt" + "T" and "config reload" just say me : "Configuration reloaded"

For the browser : Firefox 68.4 (32 bits)
https://ibb.co/zQRrz3Y
https://ibb.co/LJqWj5f

Regards,
Amar.

Offline

#10 2020-03-31 11:53:20

Amar
Member
From: Montpellier (France)
Registered: 2019-02-12
Website

Re: Logo on the descriptive document of the report

Hello Eduardo,

I just forgot to tell you that we have an HTTPS server and not HTTP.
Can this interfere with the generation of the document?

Regards,
Amar

Offline

#11 2020-04-06 07:30:08

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Logo on the descriptive document of the report

Hi Amar,

this is strange, as it is working in our case.

Can you please try with a clean test installation? You can quickly install the bitnami installer (next, next,...) and check if this works here. This will show us if there is a problem with your installation.

Regards,
Eduardo

Offline

#12 2020-04-20 06:42:01

Amar
Member
From: Montpellier (France)
Registered: 2019-02-12
Website

Re: Logo on the descriptive document of the report

Hello Eduardo,
First, sorry for the late response.
We will not be able to reinstall our test platform before June or July.
We will plan this, and we will solicit you for the license.
Thank you again for your help.
Amar

Offline

#13 2020-04-20 08:34:54

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Logo on the descriptive document of the report

Hi Amar,

you don't have to reinstall the complete test platform for this. You can just try with a simple Bitnami installation, which can be achieved easily in 10-15 mins smile

Of course, if you want to use your test installation, you can also do.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB