How to use a variable to specify the color when you set an attribute

Hello

We use BI Publisher (OPE) embedded in the e-Business Suite. So we are actually on version 5.6.3.

I'd like to conditionally set the cell background color attribute in a table by using a variable reference. something like this (the sense in which I tried):

<? attribute@InContext:background-color;$exEmpBGColor? >
<? attribute@InContext:background-color;' {$exEmpBGColor}'? >

The 'standard' to do this way:
<? attribute@InContext:background-color; '#CCCCFF'? >

Can someone please help? (i.e. is it even possible?)

http://winrichman.blogspot.com/2008/09/how-to-set-dynamic-color-based-on-XML.html

http://winrichman.blogspot.com/search/label/formatting

http://winrichman.blogspot.com/2009/09/column-formatting.html

Tags: Business Intelligence

Similar Questions

  • Why isn't my old watch backup appear in the list when you set up the replacement or new shows?

    Why isn't my old watch backup appear in the list when you set up the replacement or new shows?

    I've been upgraded to a new watch, and during the installation of my phone would not offer a restore of backup.  The problem is that the factory OS on the new watch was 2.0.1 while backup of my old watch watch OS 2.1.

    I had to implement the new shows like new, then update the OS 2.1, désapparier it and pair it again.  It gave me the option to restore the backup of the original watch origin.

    [Must be like the iPhone backups, you cannot restore a backup of a newer operating system that the phone is running.]

    Hello

    Yes it is true backup must be the same ios

    See you soon

    Brian

  • How can I load several records in the ListView when you get to the end.

    Hello

    I try to add many records at the end of my listview as the user reaches the end...  the research I've done, that's what I came up with... and it works but the problem is that whenever I get to the end and I load more records that the records appear before my current position in the listview because at the time wherever it loads more data in the list I'm pushed to the bottom of the listview How to hold the position where I am in the listview so that more records are added to the bottom of it...

    I have

    ListView {
                    id: searchListView
                    dataModel: searchDataModel
                    listItemComponents: [
                        ListItemComponent {
                            type: "item"
                            SearchResultsListItem {
                                title: ListItemData.Title
                            }
                        }
                    ]
    attachedObjects: [
                        // This handler is tracking the scroll state of the ListView.
                        ListScrollStateHandler {
                            id: scrollStateHandler
    
                            onScrollingChanged: {
                                if(atEnd)
                                {
                                    console.log("List View at end needs more data: ");
                                    console.log("firstVisibleItem: " + firstVisibleItem );
                                    // load more data
    
                                }
                            }
                        }
                    ]
    )
    

    I'm not sure and it is impossible to tell from your code, but my guess is the sorting method you use t - it. If this is not the case, how you load items into the list? Basically, you want to add at the end right?

  • How to use a variable to browse the XML data

    My chart has xml data that looks like this:

    < getViewResponse >

    < getViewResult >

    < DocumentElement >

    < ColumnChart >

    < month >

    "Dec".

    < NetIncome >

    1000

    < ColumnChart >

    etc.

    etc.

    the following lines in actionscript work perfectly for the table:

    resultxml = event.result.getViewResult.DocumentElement.ColumnChart as XMLList

    chart data provider

    _chartDP = new XMLListCollection (resultxml);

    The last argument of Colum graphic in DocumentElement.ColumnChart will change. I want to make this variable instead.

    I tried DocumentElement +'. ' + this. [ColumnChart] but I get an error telling me that the property does not exist.

    The following almost works:

    event.result.getViewWithTitlesResult.DocumentElement. *.

    but my card has a series of additional data empty.

    How can I adjust the latter to a variable?

    If the data that currently say you XMLList has a single point, just cast to XML with XML (myXMLLIST) or "myXMLLIST in Xml format.

    If this post answers your question or assistance, please mark it as such.

  • How to use a variable out of the nested &lt; fx:component &gt; tag?

    Hi flex community.

    I'm trying to reach the House of the label of the component variables. But I am still getting this error when I press the button:

    Error #1009: Cannot access a property or method of a null object reference.

    Here is my code:

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:fx s:WindowedApplication ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" >
    < fx:Script >
    <! [CDATA]

    private var newWindow:MyNativeWindow;
    public var home: String = "wooden house";

    private function openNewWindow (): void {}
    If (newWindow! = null) newWindow.close ();
    newWindow = new MyNativeWindow();
    newWindow.width = 200;
    newWindow.height = 200;

    Try
    {
    newWindow.open ();
    }
    catch (err: error)
    {
    trace (Err.message);
    }
    }

    []] >
    < / fx:Script >

    < fx:Declarations >
    < fx:Component className = "MyNativeWindow" >
    < mx:Window horizontalAlign = "center" verticalAlign = "middle" backgroundColor = "blue" >
    < fx:Script >
    <! [CDATA]
    protected function button1_clickHandler(event:MouseEvent):void
    {
    trace (outerDocument.House);
    }
    []] >
    < / fx:Script >
    < mx:Button label = "yes" click = "button1_clickHandler (event)" / > "
    < mx:Button label = "close" click = "this.close ()" / >
    < / mx:Window >
    < / fx:Component >
    < / fx:Declarations >

    < s:VGroup horizontalCenter = "0" top = "10" >
    < s:Button label = "open a new fenΩtre" color = "black" click = "openNewWindow ()" / >
    < / s:VGroup >
    < / s:WindowedApplication >

    Import mx.core.FlexGlobals;

    protected function button1_clickHandler(event:MouseEvent):void

    {

    trace (FlexGlobals.topLevelApplication.House);

    }

    now?

  • How to use bind variable to update the DB 11 GR 2 access data

    Hello Experts,

    By DB version 11 GR 2

    Operating system Windows Server 2012 - 64 bit

    I want to update some data base record Access to oracle with database link. Here is my SQL, which works.

    UPDATE Transaction@DB_LINK
    SET "WorkCode"=1
    WHERE "WorkCode"=0; 
    

    But, I need to change that to

    UPDATE Transaction@DB_LINK
    SET "WorkCode"=1
    WHERE "DateTime"=:VARIABLE_DATE_TIME; 
    

    and a 2nd does not.

    Any code help or example?

    Ask2Learn

    Hello

    Use DBMS_HS_PASSTHROUGH

    try something of

    DECLARE
      c       BINARY_INTEGER;
      nr      NUMBER;
    BEGIN
    
      c := DBMS_HS_PASSTHROUGH.OPEN_CURSOR@DB_LINK;
    
      DBMS_HS_PASSTHROUGH.PARSE@ATTD_ENVOYF(c,'UPDATE Transaction@ATTD_ENVOYF SET "WorkCode"=1
      where "DateTime" = '||''||VARIABLE_DATE_TIME||'');
      nr:=DBMS_HS_PASSTHROUGH.EXECUTE_NON_QUERY@DB_LINK(c);
      DBMS_HS_PASSTHROUGH.CLOSE_CURSOR@DB_LINK(c);
    
    END;
    

    Hope this helps

    Hamid

  • How I dissable graphics and have only the text when you open a site?

    Y at - it an option to turn off the graphics and text only for web content?

    Hello, the next addon comes with a toggle to disable the loading of images & plugins on the Web sites: https://addons.mozilla.org/firefox/addon/quickjava/

  • I get the message when you set up a new user "a temporary user profile is loaded because Windows was not able to connect you with your local profile."

    Dear all,

    I have a Windows PC in my office. Because of some configuration issue, I deleted the domain user and tried to connect to the system with the same user credentials. It identify you with the credentials of the user, but I get a message saying: "a temporary user profile is loaded because Windows was not able to connect you with your local profile."
    This system is joined to the domain and the profile is an Active Directory user.
    Here are the details of the event ID:

    Details

    Product:

    Windows operating system

    Event ID:

    1515

    Source:

    Userenv

    Version:

    5.2

    Symbolic name:

    EVENT_PROFILE_DIR_BACKEDUP

    Message:

    Windows has backed up this user's profile. Windows will automatically try to use the saved profile the next time the user connects.

    Explanation

    A temporary user profile is loaded because Windows was unable to connect with your local profile.

    A possible cause of this is if your local profile has been corrupted or that you no longer have the correct privileges for profile records.

    Note: Any changes made to the temporary profile is lost once you disconnect.

    User action

    Search the profiles additional events in the event log for more information on the reason why this happened or contact the system administrator for further assistance.

    There is currently no article for this specific error Microsoft Knowledge Base or an event message. For more information on other technical support options, you can use to find answers online, see http://support.microsoft.com/default.aspx.

    Please, help me to create the same user profile in the system with formatting system.

    Hello

    I suggest you to refer to this link and check if it helps:

    http://support.Microsoft.com/kb/947215

    It will be useful.

  • Black boxes shows images when you set the size of the image?

    Hello

    I have problems with black boxes appear in the image when you set the size. Please look at the screenshots. If his clue, all the problems started after I ran the El Captain update last week. What can I do? Everything works perfectly on my retina new Macbook Pro.

    Skärmklipp 2015-10-16 13.36.43.pngSkärmklipp 2015-10-16 13.36.51.pngSkärmklipp 2015-10-16 13.37.03.pngSkärmklipp 2015-10-16 13.37.12.png

    Hi henrike43022551.

    Greetings.

    • This phenomenon occurs with all the files.
    • Also try this
      • Open PS, preferences - performance and uncheck CPU chart use
    • Restart PS and check again.

    ~ Rohit

  • How to specify the color for LR space?

    How to specify the color for LR space?

    chlonini said:

    How to specify the color for LR space?

    LR only uses the ProPhoto RGB color space. You cannot specify any other

    color space (work). When you export pictures, you can specify a

    different color space to convert. Or if you use an external editor.

    You can choose what color space to send to the external editor.

  • How can I customize the toolbar when you use the browser of the attribute

    In CVI 2012, changes in the toolbar depending on the environment, for example, it is different to the source window and the user interface editor. The toolbar can be customized using the Options menu / toolbar...

    Unfortunately, when you use the browser of the attribute of the user interface editor, another toolbar is displayed, i.e. not the UI Editor toolbar... I would have assumed that the browser of the attribute belongs to the user interface editor, obviously this isn't... So, how can I customize the toolbar when you use the browser of the attribute?


  • How to use windows search to search the contents of a bunch of files with random names / extensions?

    How to use windows search to search the contents of a bunch of files with random names / extensions? Plain txt files say 1,000 with random name of file extensions?

    You can always search within those, but you need to add extensions to the file system so that it knows to look inside these files.  You said that you have a lot, so it's perhaps tedious.  Here's How to search within several types of files.

    One thing you could try is rather to make a copy of this file, rename all the files to the same extension (even an extension false for example something.bill) and perform your search on this band.  Just an idea.

  • 1001 error code in the registry when you try to remove an old program using programs and features in Control Panel. How can I fix?

    1001 error code in the registry when you try to remove an old program using programs and features in Control Panel.  How can I fix?

    Computer Windows 7

    Tried to reinstall the older version, she received error 1001 something again with the registry.   Does not remove old software.

    Hi Carol,

    1. what program or software you are trying to delete?

    2. What is the code or an exact error message?

    Please provide us with more information on the specific question, to find a solution as soon as possible.

    Follow the link below and check them with the question:

    Solve problems with programs that cannot be installed or uninstalled:

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall/

     

    I hope this helps.

  • How to use a form created on the Capture of a vector

    People, I'm having difficulties to find out how to use a form created on the Capture of a vector. For example, I open Illustrator on my desk and, although the form is saved in a creative library of clouds, I can't find how to open this archive as a vector. I tried everything from capture, but then I can just export the shape as a bitmap image. I'm really lost on this.

    Hello Cristina,

    In Illustrator, simply drag the shape of your library panel in an open document. That's all there is to it.

    Mike

  • ADF: How to get the path of the file when you use component InputFile

    Hi all

    I use jdeveloper 11.1.1.5.0 version.

    in my case, I created program Mail Client mail where I used the ADF InputFile component for attach file mail.

    but problem is this return path only component InputFile from the file (only the filename get)

    and in my mailer class DataSource uses the full path name of file access.

    UploadedFile uploadfile=(UploadedFile) actionEvent.getNewValue();
         String fname= uploadfile.getFilename();//this line only get file name.
    

    so, how can I get the full path using adf InputFile component or any other way to respond to my request.

    Thank you

    Manish

    Try this (I did not, so I can't promise it will work):

    MimeBodyPart messageBodyPart = new MimeBodyPart(uploadFile.getInputStream());
    messageBodyPart .setFileName(uploadFile.getFilename());
    messageBodyPart.setContent(multipart);
    

    It does use the inputStream from the downloaded file as the content of the file attached. You shouldn't need a full path, since you're not going to use a file object to provide the content.  And it shouldn't be necessary to define the DataHandler.

    But if that doesn't work, I go back to my first answer.  Use uploadFile.getInputStream () to get the inputStream from the downloaded file, create an outputStream to write the file to the file system of the application server.  Then you have a file with a known path that you can subscribe to the DataHandler.  You can delete the file when you're done with him.

Maybe you are looking for