7 Replies Latest reply: Dec 23, 2013 6:50 PM by user13490153 RSS

    OBIEE 11g Title view Image position

    user13490153

      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

        • 1. Re: OBIEE 11g Title view Image position
          Srini VEERAVALLI

          Try using Narrative view

          • 2. Re: OBIEE 11g Title view Image position
            user13490153

            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

            • 3. Re: OBIEE 11g Title view Image position
              Ibag

              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

              • 4. Re: OBIEE 11g Title view Image position
                Christian Berg

                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).

                • 5. Re: OBIEE 11g Title view Image position
                  Srini VEERAVALLI

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

                  • 6. Re: OBIEE 11g Title view Image position
                    user13490153

                    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

                    • 7. Re: OBIEE 11g Title view Image position
                      user13490153

                      Hallo Christian,

                       

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

                       

                      Regards