Change report background

Is there way to change the report background based on a condition via function when the report is opened?
example pseudo code:
If (a = "1") then Report.background = image1 else Report.background = image2
where the images would have to be saved on the server.
Using Webi XI 3

page1
https://docs.google.com/document/d/1NZ8fLLg5Hkkx0DKYWkolOZ_iFHX9SY4DAfCRsvIHJns/edit?hl=en&authkey=CPbD7NAJ
page2
https://docs.google.com/document/d/1le2i3YVAsCslrS-kYJ-CHEj5JhZDNe1r_zRxfJNGTS0/edit?hl=en&authkey=CI7wm7oD
structure view
https://docs.google.com/document/d/1OcxMw5pdQN-yJPqF7gkTISfouvamVzY7_B8Wel-1DBI/edit?hl=en&authkey=COTN0OgG
note: The report parameters box is part of the header
Page 1 works the way I want it to
Then page 2 get changed
We are using Business Object 3.1
Thank you

Similar Messages

  • Unable to change the background color of a webi report in the infoview

    Hi,
    Can someone please me help me with the below issue.
    Environment Details:
    BusinessObjects XI3.1 SP1SP2SP3                                                                               
    BusinessObjects XIR2 SP5                                                                               
    .Net infoview                                                                               
    IE 7                                                                               
    JRE versions used as;                                                                               
    On BOXI3.1 SP3 Server -1.6.0_03                                                                               
    On BOXIR2 SP5 Server -1.4.2_02                                                                               
    On the client machine   -1.6.0_14      
    Issue Description:
    -Open an existing webi report in the infoview.                                                                               
    -In the report,I am not able to change the background and the font color for the column headings from the properties tab in the left navigation panel.                                                                               
    -I can change the color after hitting the color tab for multiple times.Also the color was getting changed when the color code was manually changed.                                                                               
    -The reports background color was getting changed,but not the font color.                                                                               
    -I tried to create a test report,where I was able to change the color.                                                          
    I have;
    -Installed the Java update 14 on BOXI3.1 server machine,here I was  able to change the background and font color.
    -However on the client machine,with the same Java update 14,the background and the font color for the column headings was not getting changed.
    -Same behaviour is observed on BOE XIR2 SP5 machine.
    Is there any limitations for using Java update 14 or am I required to do any other settings.
    Regards,
    Pankaj

    Hi Pankaj,
    It is a strange behavior. You also stated that when you create a test report it works fine.
    Can you create a copy of this report and then try on the new copy?
    One thing you can do as a test to refresh the universe and then try it. And change some columns - add some column and then save and ten remove and save and make changes like this and trying changing color.
    I think there is a problem with this report this is why it is behaving like this on all machine.
    Regards,
    Bashir Awan

  • Change the background color in a report cell - td bgcolor

    Hi.
    I have a report in which I would like to change the background color of a table cell based on some values in the underlying query
    If Column A > Column B and Column C > 10, I want to color the background green. In my cgi , this was easy, but in apex, even if I write the query to output html, won't everything already be wrapped in the <td></td> tags? Is there any way around this?
    Thanks

    Mike ,
    With the above solution you can conditionally fill the report cell with a particular color and not the entire row set. If you want to highlight entire row, you have to do something different. Take a look at this jQuery function
    Step 1 . Download jquery http://code.jquery.com/jquery-1.4.2.min.js
    Step 2. Upload it to apex image folder using shared component.
    Step 3. In the page header put the following code
    <script src="#WORKSPACE_IMAGES#jquery-1.4.js" type="text/javascript" ></script>
    <script type="text/javascript">
    $(document).ready(function(){
         if ($('.apexir_WORKSHEET_DATA').length > 0) {
              function HighLightRows(){
                                       $("table.apexir_WORKSHEET_DATA tbody td:has(COLOR_GRAY)").siblings().addClass('greentd');
                                       $("table.apexir_WORKSHEET_DATA tbody td:has(COLOR_GRAY)").addClass('greentd');
                                       $("table.apexir_WORKSHEET_DATA tbody td:has(COLOR_GREEN)").siblings().addClass('graytd');
                                       $("table.apexir_WORKSHEET_DATA tbody td:has(COLOR_GREEN)").addClass('graytd');
         // This time out is required since after the report is refreshed via AJAX,
                                  setTimeout(function(){HighLightRows();},1000);
         }//if
    HighLightRows();
    </script>
    <style type="text/css">
    .apexir_WORKSHEET_DATA td.greentd
    background-color: green !important;
    .apexir_WORKSHEET_DATA td.graytd
    background-color: gray !important;
    </style>
    Step 4. Change the SQL Query to
    SELECT
         SALE_DATE
         ,PRODUCT_NAME
         ,PRODUCT_ID
         , CASE WHEN SALE_DATE > ADD_MONTHS(SYSDATE,-2) THEN
                     '<COLOR_GREEN>&#38;nbsp;</COLOR_GREEN>'
              ELSE
                      '<COLOR_GRAY>&#38;nbsp;</COLOR_GRAY>'
         PRODUCT_NAME_COLOR
    FROM SALES;
    Step 5. Make this new column PRODUCT_NAME_COLOR visible and in the column heading u can just put &#38;nbsp;.
    As long as this column will be available for display you will see the conditional highlighting.Thanks,
    Manish

  • CAN NO LONGER SHUT DOWN REPORTS BACKGROUND ENGINE

    Hello all...
    We are in the process of upgrading our apps to Developer 6.0.
    Come to find out that the old method of shutting down the Reports
    Background Engine programmatically no longer works. (i.e.
    ORACLE_SHUTDOWN=Yes).
    Any info would be very much appreciated.
    Thanks
    null

    The mDNSResponser error has been reported as a problem with "Back To My Mac" and sometimes with Bonjour. There are probably other causes as well, but that's a place to start. You could make sure those services are disabled and check the logs to see if the errors go away.
    I suppose that activity like this could stall a shutdown also, but I usually see the shutdown problem with devices not behaving and allowing the system to do an orderly shutdown.
    Another test method that could point you directly to the OS or a 3rd party application would be to create another user on your machine and see if that user has the same issues.
    Just because something worked before doesn't mean that a recent update or other change hasn't caused a problem. Are you using a wireless connection or hardwired? If you are wireless then you could also stop or turn off the wireless connection before trying to shutdown to see if it could be part of the problem.
    The trick to begin troubleshooting a problem is to remove the variables, see if something changes, and then decide what to do about it or look for help with that particular system or sub-system.

  • How do I - change the background colour of the output HTML page

    Captivate 5
    I am publishing my project to html, but wish to change the background colour of the html page to match the projects colour scheme.
    I can find no option in Captivate to do this, and it is always output as white = <body   bgcolor="#f5f4f1">
    I change the colours used within captivate and change the html colour of the borders, or the captivate project background, but this does not effect the html page when published.
    Is this possible?
    At present I am having to manual amend the html to the colour of my choice.

    Hi there
    Can you post a screen grab of what you are seeing? The instructions Orange_Sean provided should have done the trick for you. Even though you aren't using Borders, it still should have changed the HTML background color. Unless we have unearthed a bug or something.
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Issue with desktop Opt/Click (right click) & 'Change Desktop Background'

    I have an issue with the opt/click in the desktop in ML 10.8.2. The 'Change Desktop Background' using opt/click (right click) works after reboot, but fails to open (work correctly) thereafter. The 'System Preferences' icon bounces in the dock but nothing else happens, I have either click on the SP icon or re-opt/click (R click) again to get it working. All else seems to be in order but not this. I have tried this with 2 complete full installs & still doesn't work correctly (same issue. I have reported it to Apple, but I was wondering if anyone else experiencing this problem?

    So, here's what I've learned so far.
    Fresh reboot.  Works fine.  Close and try again, doesn't work.  This you already know.
    Here's what I tried to see if it makes a difference:
    I removed:
    ~/Library/Caches
    ~/Library/Preferences/com.apple.finder.*, com.apple.systempreferences.* and com.apple.desktop.*
    That didn't help.
    I tried it in safe mode.  Same issue.
    Here's something interesting I noticed.  If you open terminal and killall Finder, that refreshes it and makes it work again... for 1 try.
    This does, in fact, seem like a bug.
    For reference, I'm currently on a mid 2012 macbook pro.  Running fully updated on mt lion.

  • Change Report Owner

    In a previous thread titled [Change Report Owner|Change Report Owner; by [Roy King|http://forums.sdn.sap.com/profile.jspa?userID=4028889] he was asking how to change the owner of a report.
    Since the post went unanswered, I thought I would post the solution that worked for me:
    If you are using ASP.Net like I did, you can follow the post from [Pinchii.com: How to Change Owner for a Crystal Reports Server Report|http://pinchii.com/home/2011/01/how-to-change-owner-for-a-crystal-reports-server-report/]
    The code on this page is a complete .NET project ready to use
    If you are using Java, you can use the code from [ Forumtopics.com's BoB LoblaW: Re: Change Report Owner|http://www.forumtopics.com/busobj/viewtopic.php?p=699058#699058].  Bob's code is only the bit you need to change the owner, but you still have to code the rest
    The key to change the owner is to change SI_OWNERID
    and the fix for Roy Kings Code:
    Replace the line oSourceUserObject.save();
    sourceUser = (IInfoObjects) iStore.query("select * from ci_infoobjects where si_id=" + repID);
    for ( int i = 0; i < sourceUser.getResultSize(); i++ ) {
    oSourceUserObject = (IInfoObject)sourceUser.get(i);
    //oSourceUserObject.properties().setProperty("SI_OWNERID",ownerID); //set new Name/ID
    oSourceUserObject.properties().setProperty(CePropertyID.SI_OWNERID,ownerID); //set new Name/ID
    //oSourceUserObject.save();
    oSourceUserObject.save();
    with
    iStore.commit(sourceUser);
    The above code is not complete, you need to declare an instance of the infoStore service which is represented above by iStore

    I would open a support ticket, since you appear to have an interesting case.
    As background, there's some things that can trigger change in ownership to Administrator, where the main culprit is that the original owner User is either deleted or disappears.  When the owner is gone, then documents are transferred to the Administrator. 
    For example, if you have AD or LDAP authentication based Users, and the connection to the authentication server dies, then a refresh update can remove those users (unless you generate Enterprise auth aliases for each User).
    Sincerely,
    Ted Ueda

  • Changing column background color in a template

    I am using template 12 alternating row colors. Is there a way to change the background color for selected columns in the header in the template.

    Pam wrote:
    I am using template 12 alternating row colors.Do you mean the Standard, Alternating Row Colors report template in theme 12?
    Is there a way to change the background color for selected columns in the header in the template.What do you mean by "selected columns"? Selected how? Why do you want to do this?
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.

  • WAD - Portal - Changing row background colors

    Hi,
    We are creating web templates and posting to portal 6.0. I would like to know how to change the background colors for the rows for the output of the analysis item. Right now the default colors are grey and white (alternating rows). I did a search in the forum and it appears that there is no straightforward way to do it, with some suggesting we do it directly in the portal. Can someone provide detailed step by step instructions on how to change the background colors for rows for query output.
    Thanks,
    Anita S.

    You can modify the CSS (Cascading Style Sheet) in either Portal or WAD.  If you change it in Portal, it will be global for all reports viewed in the portal.
    For WAD, there is a general template parameter which contains the path to the .CSS file.  This CSS file is located in the Mime Repository (SE80).  Make the change to the css file in the mime repository and you're good to go.
    If you change the Portal CSS file, there is a wizard that can help you define colors for tables and preview them.

  • I am new to this I am trying to do something very simple.  I need to change the background color to

    I need to change the background color of a photo to white and then shrink the head of a photo for a passport and make the picture output a 2x2.
    Can someone help.  Thx

    Here are the requirements for US passport. Scroll down for the passport tool to make the picture utilizing one on your disk.
    http://travel.state.gov/passport/pptphotoreq/pptphotoreq_5333.html
    If you decide to make it in Elements and print it, you should have a resolution of 240-300 px/in for a good output.  I suggest that you print the 2 photos on good quality paper, probably both on 4x6 stock, and trim with scissors to specification.
    Open your picture and go to Image>resize>picture size, and check the resolution. If it is less than 240 px/in, enter 240 in the field and see if the dimensions remain adequate. If not, you may have to resize.
    Use one of the selection tool, e.g. lasso tool, or selection brush tool, to select head and shoulders
    Go to Edit>copy to put the selection on the clipboard
    Open a new, blank file (File>new>blank file) 2.25 x2.25", resolution the same value as your picture, background white
    Go to Edit>paste. The picture will be on its own layer
    Access the move tool to position it, and to resize with the corner handles of the bounding box, if necessary
    Please report back with your progress.

  • How avoid multi reports background engine (D2K6I + patch7  C/S)

    after Developer tools migrate from D2K60 to D2k6i (with patch7), if call multi reports with ASYNCHRONOUS comm mode from forms, these will have multi reports background engine will startup, so need more session will connect to database, this is my need.
    So I need have method to avoid startup multi reports background engine.
    Not suggest me with SYNCHRONOUS comm mode or automatic close report background engine. the above two methods are difficulty to carry through for me.
    Thanks & test regards!

    Before developer tools migration, When run a set of reports with ASYNCHRONOUS comm mode, only one reports background engine startup, and all report as queue requests in the reports background engine, this is my need. I don't want any change because developer tools migration
    Please give me your idea, Thanks again.

  • Price change report for  a given date range in inforecords

    hi,
    Can any body suggest how we can get price changes in inforecords for given date range. is there any standard sap tcode or  fuction module.

    Hi,
    If you are referring to the changes in the condition record (for eg. for PR00), then you may go through the foll path:
    Execute VK13 for any condition type - once inside the detail screen, from the menu path, choose Environment -> Changes -> change report. This will take you to a new selection screen where you can define the period you want to see the change record as well as the condition type for which you want to track the changes. Beware, this is a complex report for SAP and it will take definitely longer time to complete. So, it is better to specify short time periods and specific condition types and execute this in background.
    Hope, this helps!
    S. Siva

  • How can I change the background of a running webpage on my own. Example Facebook I want to change its backround color from white to black just in my view not for all

    How can I change the background of a running webpage on my own. Example Facebook I want to change its background color from white to black just in my view, not for all. Cause I really hate some site with white background because as I read for an hour it aches my eyes but not on those with darker background color.

    You can use the NoSquint extension to set font sizes (text/page zoom) and text colors on web pages.
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • How to change desktop background in AppleScript in 10.7?

    I'm just now upgrading from 10.6 to 10.7, and I'm having trouble with a script that I wrote that worked fine under 10.6.  In part, it executes the following command:
         osascript -e "tell application \"Finder\" to set destop picture to POSIX file \"<path>\""
    to change the desktop background image to one of two different files based on other conditions.
    In 10.7, this command completes with no error code, but it only changes the background of one of my four desktops.  Is there a way to programmatically change the background image of all of my desktops simultaneously?  Failing that, is there a way to a) find out how many desktops I have and b) loop through them, setting each of their backgrounds in turn?
    I did search the web and found the following suggestion:
         osascript -e "tell application \"System Events\" to set picture of every desktop to \"<path>\""
    Unfortunately, that also changes only the current desktop's picture.
    The larger script is in Perl, so I'd prefer a technology that works well with that language, but if I have to change to a different scripting language, that's not the end of the world.
    Thanks much for any suggestions!
    Richard

    Actually, “repeat with k from 18 to (18 + N - 1)” was not a good idea, since it works only with N < 5, as I discovered after posting the script.
    So here's an improved version of the previous script that should work with any number of desktops:
    set theFile to POSIX file "/Library/Desktop Pictures/Isles.jpg" -- just an example
    -- Find out how many desktops you have:
    tell application "System Preferences"
        reveal anchor "shortcutsTab" of pane id "com.apple.preference.keyboard"
        tell application "System Events" to tell window "Keyboard" of process "System Preferences"
            set N to count (UI elements of rows of outline 1 of scroll area 2 of splitter group 1 of tab group 1 whose name begins with "Switch to Desktop")
        end tell
        quit
    end tell
    -- Loop through the desktops, setting each of their backgrounds in turn:
    tell application "System Events" to key code 18 using {control down} -- Desktop 1
    tell application "Finder" to set desktop picture to theFile
    repeat (N - 1) times
        delay 1
        tell application "System Events" to key code 124 using {control down} -- ⌘→
        delay 1
        tell application "Finder" to set desktop picture to theFile
    end repeat

  • I have trouble reading in Black and White. changing the background color for all

    I have trouble reading in Black and White. On my PC I can change the background  color (and I am not just talking about for a word or pages document) but for eveything so anything that was a white background I can put in what ever color I like but it still prints in Black and white.. I can't see how to do this on the Macbook air. on my PC I do this in display. Sort of putting colored film over the screen I dont know what to do. Can anyone help?

    Hello Floridamacbookpro,
    You may be interested in the 'invert colors' Accessibility feature. This can be invoked by pressing the Control, Option, Command, and 8 keys on your keyboard. This only affects your display, and does not have any affect on printed items.
    Mac OS X displays inverted image colors (white on black, reverse type)
    http://support.apple.com/kb/HT3488
    Cheers,
    Allen

Maybe you are looking for

  • How can I show all the results returned by a sql query?

    Hi guys, I need your help. Let's say I have one table: TableA. Fields of TableA are aleg, anon, apes. The following sentence can return, in general, several rows: select anon from TableA where aleg = somevalue. I'd like to show the result of column a

  • Could not complete the command because of a program error

    I am running CS3 and for some reason, I get this error on many of the filter options. To reproduce: - load any picture - it does not matter what format I use - create a new layer by selecting the new layer icon at the bottom of the layers pallet - wi

  • VPN Lion Server over Time Capsule

    Hi, well i have a small office of four iMacs and some MBooks, and one mac mini runing os x lion server, all connected with a linksys router. The point is we want to start runing VPN to get access to the intranet website when out of the office. As we

  • How to access a file in Unix server from windows using java

    I want to access a file in unix server from windows using java program. I have the following code. I am able to open the url in a web browser. String urlStr="ftp:user:passwd@unix-server:ftp-port//javatest/test.csv;type=i"; URL url = new URL(urlStr);

  • Windows server 2012 standard second DNS server not automaticly detected by Windows 7.

    Hi! We have configured a second DNS server on our domain just in case. I have tested the second DNS by activating manually the second dns server in the IPV4 config in windows 7 pro. My question is: the second DNS server is not supposed to be detected