Forum Stats

  • 3,836,825 Users
  • 2,262,197 Discussions
  • 7,900,120 Comments

Discussions

OBIEE 11g Title view Image position

Hi All,

Is there any way to change the position of image in title view in OBIEE 11g.By, default the image is coming on the left side..In my report i wanna display on the right side..

Guys please help..

Regards

Best Answer

  • Christian Berg-0racle
    Christian Berg-0racle Everything Analytics And Data Member Posts: 9,646 Gold Crown
    Answer ✓

    In order to achieve this, you will need a custom skin (you can modify the original file, but I would not suggest to do this!).

    The controlling file for the GUI rendering with regards to the title view is in the msgdb. It's the /messages/standardviewtemplates.xml. Again: please follow the process to create a custom skin and put the modified standardviewtemplates.xml there.

    Changes to be made are here:

    Standard:

    <WebMessage name="kuiTitleViewDisplay" translate="no">
      <HTML>
        <table class="TitleTable" cellspacing="0" style="@{tableStyle}"
        width="100%">
          <sawm:if test="logo || title || help">
            <tr>
              <sawm:if name="logo">
                <td class="TitleLogo" style="@{logoStyle}" rowspan="4">
                &lt;img border="0" src="
                <sawm:param name="logo" />" alt="
                <sawm:messageRef name="kmsgTitleViewLogo" />" title="
                <sawm:messageRef name="kmsgTitleViewLogo" />"/&gt;</td>
              </sawm:if>
              <sawm:if name="title">
                <td class="TitleCell" style="@{titleStyle}"
                title="@{desc}">
                  <sawm:param name="title" />
                </td>
              </sawm:if>
              <sawm:if name="help">
                <td class="TitleHelp" align="right" rowspan="4">
                  <a href="@{help}" target="_blank">
                    <img border="0" alt="" src="fmap:Views/Help.gif" />
                  </a>
                </td>
              </sawm:if>
            </tr>
          </sawm:if>
    

    After changes:

    <WebMessage name="kuiTitleViewDisplay" translate="no">
      <HTML>
        <table class="TitleTable" cellspacing="0" style="@{tableStyle}"
        width="100%">
          <sawm:if test="logo || title || help">
            <tr>
              <sawm:if name="title">
                <td class="TitleCell" style="@{titleStyle}"
                title="@{desc}">
                  <sawm:param name="title" />
                </td>
              </sawm:if>
              <sawm:if name="help">
                <td class="TitleHelp" align="right" rowspan="4">
                  <a href="@{help}" target="_blank">
                    <img border="0" alt="" src="fmap:Views/Help.gif" />
                  </a>
                </td>
              </sawm:if>
              <sawm:if name="logo">
                <td class="TitleLogo" style="@{logoStyle}" rowspan="4">
                &lt;img border="0" src=" 
                <sawm:param name="logo" />" alt=" 
                <sawm:messageRef name="kmsgTitleViewLogo" />" title=" 
                <sawm:messageRef name="kmsgTitleViewLogo" />"/&gt;</td>
              </sawm:if>
            </tr>
          </sawm:if>
    

    Basically you switch around the order of Logo -> Title -> Help to Title -> Help -> Logo. This way you know what happens in the doce above and make it Title -> Logo -> Help if you want.

    These changes are application-wide wherever the custom skin is used (or just applciation-wide full stop if you modify the original file).

Answers

  • SriniVEERAVALLI
    SriniVEERAVALLI Member Posts: 8,539 Gold Crown

    Try using Narrative view

  • Hi Sriniveeravalli,

    Thanks for your prompt response.. I have Title, Subtitle and image should come on left side.. How can I achieve this using narrative view?

    I am new to OBIEE.Please send me any link in order to understand the narrative view.

    Regards

  • Ibag
    Ibag Member Posts: 244 Blue Ribbon

    By default, it is set to 'left',  then go to edit view--> check cell allaignment and set left. if you are not looking for this, do let me know for furtehr details.

    thanks

  • Christian Berg-0racle
    Christian Berg-0racle Everything Analytics And Data Member Posts: 9,646 Gold Crown
    Answer ✓

    In order to achieve this, you will need a custom skin (you can modify the original file, but I would not suggest to do this!).

    The controlling file for the GUI rendering with regards to the title view is in the msgdb. It's the /messages/standardviewtemplates.xml. Again: please follow the process to create a custom skin and put the modified standardviewtemplates.xml there.

    Changes to be made are here:

    Standard:

    <WebMessage name="kuiTitleViewDisplay" translate="no">
      <HTML>
        <table class="TitleTable" cellspacing="0" style="@{tableStyle}"
        width="100%">
          <sawm:if test="logo || title || help">
            <tr>
              <sawm:if name="logo">
                <td class="TitleLogo" style="@{logoStyle}" rowspan="4">
                &lt;img border="0" src="
                <sawm:param name="logo" />" alt="
                <sawm:messageRef name="kmsgTitleViewLogo" />" title="
                <sawm:messageRef name="kmsgTitleViewLogo" />"/&gt;</td>
              </sawm:if>
              <sawm:if name="title">
                <td class="TitleCell" style="@{titleStyle}"
                title="@{desc}">
                  <sawm:param name="title" />
                </td>
              </sawm:if>
              <sawm:if name="help">
                <td class="TitleHelp" align="right" rowspan="4">
                  <a href="@{help}" target="_blank">
                    <img border="0" alt="" src="fmap:Views/Help.gif" />
                  </a>
                </td>
              </sawm:if>
            </tr>
          </sawm:if>
    

    After changes:

    <WebMessage name="kuiTitleViewDisplay" translate="no">
      <HTML>
        <table class="TitleTable" cellspacing="0" style="@{tableStyle}"
        width="100%">
          <sawm:if test="logo || title || help">
            <tr>
              <sawm:if name="title">
                <td class="TitleCell" style="@{titleStyle}"
                title="@{desc}">
                  <sawm:param name="title" />
                </td>
              </sawm:if>
              <sawm:if name="help">
                <td class="TitleHelp" align="right" rowspan="4">
                  <a href="@{help}" target="_blank">
                    <img border="0" alt="" src="fmap:Views/Help.gif" />
                  </a>
                </td>
              </sawm:if>
              <sawm:if name="logo">
                <td class="TitleLogo" style="@{logoStyle}" rowspan="4">
                &lt;img border="0" src=" 
                <sawm:param name="logo" />" alt=" 
                <sawm:messageRef name="kmsgTitleViewLogo" />" title=" 
                <sawm:messageRef name="kmsgTitleViewLogo" />"/&gt;</td>
              </sawm:if>
            </tr>
          </sawm:if>
    

    Basically you switch around the order of Logo -> Title -> Help to Title -> Help -> Logo. This way you know what happens in the doce above and make it Title -> Logo -> Help if you want.

    These changes are application-wide wherever the custom skin is used (or just applciation-wide full stop if you modify the original file).

  • SriniVEERAVALLI
    SriniVEERAVALLI Member Posts: 8,539 Gold Crown

    Need to write html code in Narrative view to replace the Title and get the image as required.

  • user13490153
    user13490153 Member Posts: 115

    Hi Christian,

    Thanks for your reply.. I have made all the changes which was suggested by you.. and then restarted the BI services. But, still my image is coming on the left hand side in title view..

    Can you shed some light what is happening?

    Regards

  • user13490153
    user13490153 Member Posts: 115

    Hallo Christian,

    Thanks a lot.. That worked.. After I restart all the services from em it worked.. Once again thanks a lot..

    Regards

This discussion has been closed.