Reorder attributes in an expression transformation

Hi,
I'm using OWB 10gR2 and I'm wondering if there is a way to reorder the attributes in an output group of an expression. For example, if I have a list of 3 attributes:
SHORT DESCRIPTION
NAME
DESCRIPTION
and I'd like for them to be ordered
NAME
SHORT DESCRIPTION
DESCRIPTION
so that they match the order in the target table and thus avoid crossed connector lines. Is this possible?
The only approach I can come up with would be to delete the attributes and recreate them in the order I'd like. Reordering them would be a much easier solution.
Thanks,
Greg

Hey Greg.
I understand what you mean. If you have a table with many columns, this really confuses us. I don't know if it's possible to reorder.
But what you may use that can, at least, make your mappings look a bit less confusing is to change the "use display set property" to MAPPED. Right Click any group of any operator, then you go to "Use Display Set" -> MAPPED.
This will show you only mapped attributes. The lines will still cross each other in the mapping designer, but at least You'll see mapped attributes only.
Don't know if this will help ya, but it's an alternative.
Regards,
Marcos

Similar Messages

  • Jpegphoto attribute on messener express

    Hi All,
    Is it possible to display any ldap user's photograph using 'jpegphoto'
    attribute on Messenger Express ??
    I am using JES 2005Q1 on Solaris 9 sparc platform.
    Thanks,
    Shujaat

    Hi Jay,
    I am not talking about the jpg attachments. Instead I am concerned with my company's employees who have uploaded their images for the employee's identificaton. Ldap attribute for images is "jpegphoto" & the format of this attribute is binary instead of string.
    Now I want to display their images whenever they log into ME.
    Any luck ?
    Thanks.

  • Copying attribute values in xsl transformation

    Hi
    Does anyone know how to copy attribute values in a transfomation generated in a routing rule of a ESB routing service.
    When I inspect the generated xsl (after mapping elements), I can see that the xsl:value-of is used and therefore the element attributes of the original message are lost.
    Specifically when an element contains the xsi:nil attribute, I want to copy it to the target message.
    Suggestions would be greatly appreciated,
    Ruud

    Hi Nathalie,
    Thanks for your reply.
    I would like to elaborate a bit on our problem because I feel that we haven't reached a satisfactory solution yet.
    We are using ESB database adapters to perform DML operations on the database. However we expose these adapters using routing services to allow us to use filters, content based routing etc.
    Consider this example:
    I want to perform an update on a row in the database. If my soap call contains an empty element, this element will be ignored. If I want this the corresponding attribute in the database set to NULL then I have to add the xsi:nill="true" attribute to the element in my message. This works great when invoking the database adapter directly but when you place a routing service in front of it, the transformation will wipe out the xsi:nill="true" attribute on the element causing the database adapter to ignore the element instead of updating to NULL.
    We have found two workarounds:
    detectommissions="false" setting in the wsdl of the database adapter. All empty elements in the message will cause an update to NULL in the database. This means that for every update you always have to have all values in your message to prevent unwanted updates to NULL.
    Add a choose / when / otherwise construction in the transformation of the routing service. If the source element is empty we add an empty element in the destination message containing an xsi:nill="true" attribute, otherwise we just copy the value.
    This construction should be added for each attribute that must be updateable to null.
    Both of these solutions are not satisfactory because they eliminate the choice whether an empty element in the invoking soap call should be ignored or used to trigger an update to null.
    We would like to be able to detect the xsi:nill="attribute" on the invoking call and propagate this attribute to the call to the database adapter.
    Kind regards,
    Ruud

  • Bug in dvt:graph tag? Cannot set graphType attribute using EL expression

    Dear all,
    First thing sorry if this is not the correct forum, but I have a problem that is driving me crazy with ADF DVT tags in JDeveloper environment.
    I'm working with DVT tags to display some graphs in my application. I need to decide at runtime the type of graph I'm going to render in my page, because the type of graph is stored in a database. Also, I use tabular data instead of Data controls, because I have to reuse POJO objects from an existing model tier.
    I have seen that you can bind the graphType attribute of <dvt:graph to a backing bean property, as explained in : http://www.oracle.com/technology/products/jdev/11/how-tos/dvt_how_tos/adf_dvt_graph_howto.html. You can even change the type dynamically responding to user actions, ie : you can change for example from BARS to AREAS or whathever. So far so good, the problem is that I have tried the simplest example possible and it seems that I cannot bind the graphType attribute to a backing bean property using an EL expression.
    In my example, the backing bean has a type property with fixed value AREA_VERT_ABS, but it renders as a BAR_VERT_CUST, that is to say, it completely ignores the binding for the graphType attribute, but the binding for the tabularData attribute works properly because it renders the dummy data provided. I have tried with other types of graphic and it always renders as BAR_VERT_CUST.
    I'm working with JSF 1.2 + Facelets + JDeveloper 11.1.1.2.0 and the integrated weblogic server.
    My page is a facelet page as follows :
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns="http://www.w3.org/1999/xhtml"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:dvt="http://xmlns.oracle.com/dss/trinidad/faces">
    <af:document id="d1">
    <af:form id="f1">
    <dvt:graph id="g1" graphType="#{graphBean.type}" tabularData="#{graphBean.tabularData}" >
    </dvt:graph>
    </af:form>
    </af:document>
    </f:view>
    My backing bean :
    public class GraphBean {
    private String type = "AREA_VERT_ABS";
    public GraphBean() {      }
    public String getType() {
    return type;
    public List getTabularData() { // here I return a hardcoded list that is properly displayed ///
    Note : the sam page but changing #{graphBean.type}" by "AREA_VERT_ABS" renders properly :
    <dvt:graph id="g1" graphType="AREA_VERT_ABS" tabularData="#{graphBean.tabularData}" >
    </dvt:graph>
    Any advice will be very much appreciated.
    Thanks and regards,
    Plan.

    Hello,
    Actually the setter is not needed because the tag only reads, but it does not update the backing bean.
    Anyway for verification pourposes I have changed to the following version without results.
    Anyone from Oracle could give me some light ?
    public class GraphBean {
    private String type = "AREA_VERT_ABS";
    public GraphBean() {      
    public void setType(String type) {
    this.type = type;
    public String getType() {
    return type;
    }

  • Iam unable to create an attribute  with EL expression even i rtrexpr=true

    HI
    I have written one custom tag. For that one attirbute i delcared rtexpr=true in TLD file. but it is not evaluation the EL expression. can any one plz help.it is treating like static text. <orig:StringReplace name="${result.introducerName}" insertString="<br>" replaceAt="15"/>

    If you have a JSP1.2 container, then rtexpr is irrelevant. It should probably be false, so that you don't try to use <%= expr %> with it.
    The responsibility for evaluating the expression lies with your tag.
    Therefore the attribute should be read as a string only,
    Your tag then has to evaluate the EL expression.
    How are you doing that?
    What does it return?
    What does <c:out value="${result.introducerName}"/> give you?
    Probably the issue is somewhere in your custom tag code.

  • Index for attributes with boolean expression

    hi
    in our project we use a XML database to store our data. we have a lot of searches in the DB in the form
    //object\[@class="..." and @module="..."\]
    thus i created an index for the attributes class and module (node-attribute-equality-string) to improve the performance. this works really well, but I'm still not satisfied with the results. is there a way to create an index that handles both attributes at once (instead of two indexes).
    another problem, occurs after an insert. when i access the data (via a query like the above), then it goes fast. when i insert another node into the database (that does not even has attributes class or module, so it does not interfere with the index) then the same query as before is slower (by a factor of 3 to 5). when i then reindex manually everything is fast again.
    btw. we use a node container
    greets
    Edited by: user11787357 on Aug 13, 2009 4:35 AM

    user11787357 wrote:
    //object\[@class="..." and @module="..."\]
    thus i created an index for the attributes class and module (node-attribute-equality-string) to improve the performance. this works really well, but I'm still not satisfied with the results. is there a way to create an index that handles both attributes at once (instead of two indexes). Add an attribute to your document that combines @class and @module. This @class-module attribute needs a delimiter to seperate the two parts, some string that may not be found in either valuespace. Simply create an index on that attribute. You can use XQuery to update your documents in the database, or maybe XSLT or SAX or BDB XML XmlReader/XmlWriter as a preprocessing step.
    another problem, occurs after an insert. when i access the data (via a query like the above), then it goes fast. when i insert another node into the database (that does not even has attributes class or module, so it does not interfere with the index) then the same query as before is slower (by a factor of 3 to 5). when i then reindex manually everything is fast again.
    btw. we use a node containerWhich version and patch level? There have been various patches floating about this forum, some of them related to indexing. I've lost track of them. It would be good to see a Consolidated Patch 2 (CP2) for 2.4.16 even though 2.5 seems not too far away.
    Michael Ludwig

  • Hi Friends, i have to validate the min.length attribute using Regular expression, The min.length accepts single value digit only which accepts =5 & min.length accepts =9 please guide me as soon as possible

    dfdsfds

    User,  we need to know your jdev version!
    It would be helpful if your question would not only the header of the post.
    Can you please rephrase your question? Somehow i don't understand xour question.
    Timo

  • Reorder Interactive Report Attributes

    I'm having the silliest problem:
    I want to reorder attributes displayed on an interactive report.
    On the Page Edit, I click the "Interactive Report" link or my region. I have reordered the attributes, but the rendering doesn't show the update. What am I missing??
    Thanks,
    Lau
    Edited by: Laurence on Mar 20, 2009 9:12 AM

    The "magic gear" is the wheel with all the options (Calculations, Highlight etc) that shows uop when you run the report (so you do have to run the page, can't do it from within "APEX Developer").
    HTH
    Roel

  • Navigational attribute in Transformation.

    Dear all,
    We are using BI7.00. For one of our problem in DTP, we wanted to apply the OSS note number 1145673.  I have some doubts in this note.
    1) In the solution part the following is mentioned.
    "Solution
    For technical reasons (see symptom), this note deactivates the use of
    navigation attributes in transformations.
    We do not plan to reactivate the use of the navigation attributes. If
    you require navigation attributes, you can use the rule type "Read
    master data" in the transformation."
    Q:- Where in transformation do we mention the navigational attribute?
    I could not understand the above can experts clarify my doubt and what i should do after applying this note. Step by step information will be really helpful.
    Regards,
    M.M

    Hi
    After you apply the OSS note, Nav attribute 0Plant in the transformation will be de-activated and it wont be available in the transformation. Read master data can be used if at all you need to use read from master data in place of nav attributes.
    Please consider the below example:
    Before applying the note:
    Assume that you have the below mappings in your transformation
    Source fields                       Target field
    VBELN   -
    >                   DOC_NUMBER
    POSNR  -
    >                   S_ORD_ITEM
    werks     -
    >               Plant (nav attributes activated in the transformation)
    Note : Plant is a nav attribute of material.
    After applying the note:
    Source fields                       Target field
    VBELN   -
    >                   DOC_NUMBER
    POSNR  -
    >                   S_ORD_ITEM
    werks -
    >                Material (Rule type should be read master data ie plant)
    If the nav attribute is not mapped to any field then you can just leave it. After applying the oss note it will be de-activated.
    Answers for your queries:
    1. Only transformation and dtp will be de-activated because of this note. Those are the objects which will be impacted by this note.
    2. The nav attribute in the transformation might extract the data in multiples of 30 so the data load should be checked after applying oss notes. I dont think we have checked for anyother thing when we applied the note.
    Hope it helps
    Regards
    Sadeesh

  • Expression Issue

    Hi All,
    I am from a Informatica background and new to ODI. Its overwhelming for a newbie like me grasp this ELT concept. ODI version - 11g.
    We are in process of loading data from MySQL to Oracle.
    We are using LKM SQL to Oracle and IKM Oracle incremental Update. Can someone explain me how to put expressions in the interface?
    Objective is to concatenate two fileds, first name(mysql column) and last name(mysql column) and move it into fullname column in oracle.
    I know the place where to write the expression but what should i select source , staging , target and what are those radio buttons for ??
    Thanks in advance .
    -Ian.

    Hi Ian,
    You can write ur expression either in Source or Staging.
    Source : Your expression/transformation will be executed while loading in to C$ table (LKM)
    Staging : Your expression/transformation will be executed while loading in to I$ table (IKM)
    Target : Your expression/transformation will be executed while loading in to target table (IKM) ideal place to "constant" and hard coded values (sysdate, 'Test Strings' etc)
    Thanks,
    Guru

  • How to reference a custom property in a vo transient attribute expr + bug

    Hi all
    I have created a transient attribute with an expression that evaluate null content to replace it by a appropriate text.
    <ViewAttribute
        Name="DescriptionUI"
        IsUpdateable="false"
        IsSelected="false"
        IsPersistent="false"
        PrecisionRule="true"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="VIEW_ATTR"
        SQLType="VARCHAR">
        <TransientExpression><![CDATA[((Description == null) ? 'Pas de description' : Description)]]></TransientExpression>
      </ViewAttribute>I have defined a custom property for that attribute that contains the message text. I was surprised to see that the custom property was not associate with the attribute in the source file. Don't understand where the association is done
        <Properties>
          <CustomProperties>
            <Property
              Name="flex.tree.noLabel"
              ResId="flex.noDescription"/>
          </CustomProperties>
        </Properties>I had some difficulties to use the custom property editor. When creating a new related one by using an existing resource the property column value is not changed and the content 'Property' is generated. Because no relationships exists between attribute and the property, the entry is lost in the table referring custom property list for the attribute when your come back into the view object or if you save an another entry in an another attribute.
    So my first question ? Is the attribute editing part the right part to define custom property pairs if they are not related to attributes ? is it a bug ?
    My second question is : is it possible to evaluate the bundle in the expression (replacing the literal 'Pas de description' by an expression) ? What is the expression to use ? Where it is described to do such things in the help or in the documentation ?
    Thank you

    This is wrong
    ((Label == null) ? {FlexParameterModelBundle['flex.tree.noLabel']} : Label)
    What is the correct syntax to refer to the project model standard bundle in the groovy expression ?
    Thank for the help !

  • Re-ordering custom attributes usind the load utility

    Is there a way to re-order the values in a custom attribute using the load utility? Do anyone have any suggestions on an automated process vs having the move each value individually?

    Unless something has changed it has always been a pain to reorder attribute members
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Display Attributes inside nested structure in XML

    Hi Experts,
    I want to generate a xml file as shown below.
    <Profile AppName="Products" SubnodeName="Products">
    <Tag concept="SG_CPT1025797"/>
    <Tag concept="SG_CPT1026847"/>
    <Tag concept="SG_CPT1027620"/>
    <Tag concept="SG_CPT1027622"/>
    </Profile>
    How can i display the xml file like above.
    If i use attributes in my Simple Transformation, the xml file generation gives a error stating, duplicate attributes as the output is something like this.
    <Profile AppName="Products" SubnodeName="Products">
    Tag concept="SG_CPT1025797"
    Tag concept="SG_CPT1026847"
    Tag concept="SG_CPT1027620"
    Tag concept="SG_CPT1027622"
    </Profile>
    Whereas on using Tags in my Simple Transformation, i get the output as shown below.
    <Profile AppName="Products" SubnodeName="Products">
    <Tag concept>SG_CPT1025797SG_CPT1026847SG_CPT1027620SG_CPT1027622</Tag>
    </Profile> .
    How do i resolve this issue.???
    Here is my ST program. This gives the output as shown in the second xml file.
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
      <tt:root name="PARA"/>
      <tt:variable name="Tag concept"/>
      <tt:template>
        <DATA>
          <USERS>
            <tt:loop name="tp_xml" ref=".PARA">
               <USER>
                <Username>
                  <tt:value ref="$tp_xml.username"/>
                </Username>
                <Password>
                  <tt:value ref="$tp_xml.password"/>
                </Password>
                <Firstname>
                  <tt:value ref="$tp_xml.contact_person_name_first"/>
                </Firstname>
                <Middlename>
                  <tt:value ref="$tp_xml.contact_person_name_middle"/>
                </Middlename>
                <Lastname>
                  <tt:value ref="$tp_xml.contact_person_name_last"/>
                </Lastname>
                <Email>
                  <tt:value ref="$tp_xml.contact_person_email"/>
                </Email>
                <Country>
                  <tt:value ref="$tp_xml.country"/>
                </Country>
                <City>
                  <tt:value ref="$tp_xml.customer_number"/>
                </City>
                <Address>
                  <tt:value ref="$tp_xml.customer_name"/>
                </Address>
                <PostalCode>
                  <tt:value ref="$tp_xml.contact_person_postal_code"/>
                </PostalCode>
                <IMAddress>
                </IMAddress>
                <Title>
                  <tt:value ref="$tp_xml.contact_person_title"/>
                </Title>
                <Status>
                </Status>
                <State>
                  <tt:value ref="$tp_xml.state"/>
                </State>
                <Editable>
                </Editable>
                <NNTPAlias>
                </NNTPAlias>
                <LastModifiedDate>
                  <tt:value ref="$tp_xml.last_modified_date"/>
                </LastModifiedDate>
                <CreatedDate>
                  <tt:value ref="$tp_xml.created_date"/>
                </CreatedDate>
                <UserGroups>
                  <string>KSS</string>
                </UserGroups>
                <Profiles>
                  <Profile AppName="Products" SubnodeName="Products">
                    <tt:loop name="knova_id" ref="$tp_xml.knova_product_id">
                      <tt:attribute name="Tag concept">
                        <tt:value/>
                      </tt:attribute>
                    </tt:loop>
                  </Profile>
                </Profiles>
              </USER>
            </tt:loop>
          </USERS>
        </DATA>
      </tt:template>
    </tt:transform>
    Please help.
    Thanks and Regards
    Gaurav raghav

    Hi Naimesh,
    That solved half pof my problem but it shows the tag <Rows> also which i dont want.
    The XML now looks like
    <Row Tagconcept="12345">
    <Row Tagconcept="56789">
    I want to show it like
    <Tag concept="12345">
    <Tag concept="56789">
    Any idea how to resolve this????
    Thanks for the help.
    Thanks and Regards
    Gaurav raghav

  • SQL Datamodeler: Transform super/sub-entities to tables

    Hello,
    Suppose I have the following situation:
    Super entity A
    with sub-entities B and C
    Sub-entity B has a mandatory attibute.
    When transforming this to a relational model I expect he following result:
    1. One table A, no table B and C
    2. a discriminator column (to distinguish between B and C)
    3. All attributes of entity A transformed into table A with same optionality
    4. All attributes of entities B and C transformed to optional columns in table A
    Unfortunately this is not the case. I get one table, I do NOT get a discriminator column.
    Furthermore the required attribute of sub-entity B is transformed to a mandatory column of table A.
    Is there a way I can influence this (in my opinon wrong) behaviour?
    Regards Erik

    Hi Erik,
    you cannot influence the process. Enhancement request and bug are logged for that.
    Best regards,
    Philip

  • Text/expression-language-based paradigma continues?

    i've been working with jsp and struts for a while. the most significant drawback of jsp, custom tags/jstl and struts is its "runtime" binding caused by the heavy use of string-attributes and interpreted expressions.
    it makes the coding itself harder (loss of compiler support and strong typing), it increases the amount of testing (automated tests, regression tests) extremely, it makes jsp-apps very hard to mantain, it is error-prone when changed or refactored, it is slower in execution and last but not james requires extra developement tools (such as struts-editors) to effectively maintain the applications.
    but i like the paradigma of a web application that keeps a view state, handles "events" etc.
    the only thing i can't understand is why jsf builds on the error-prone jsp/custom tag paradigma instead of compiled server side ui components. it obviuosly still tries to follow the myth, that web-designers and application developers can share their source (i.e. js-pages) by using tags. imo this is a degeneration of the good idea to leverage html by some custom tags. these tags empower designers to make their pages dynamic. (enterprise) software developement ist very different: complex use cases, business logic and often ui-"logic", integration issues etc...
    the life cycle of a jsp with custom tags is weird (even more in struts):
    - objects (variables in scriptlets) already existing in the scope of the jsp-execute-method are wrapped into attributes of page, request or application scope.
    - tags are defined using string-based attributs, such as <html:write name="pinky" property="brain" />
    - the implementation of the tag tries to look up the object in any of the scopes, starting with page scope
    - if the object exists, it tries to read/set its property via reflection
    so you lose strong typing, compile time checks and performance.
    there are several frameworks that do not build upon jsp and tags but put in an extra layer. this layer is similar to a rich client "form" and renders the output into html or any other format.
    so i'm not preferring any framework, just looking around and curious why this architecture has been chosen for jsf.
    thanks
    tom

    the most significant drawback of jsp, custom tags/jstl and struts is its "runtime" binding
    caused by the heavy use of string-attributes and interpreted expressions.I second this heartily.
    but i like the paradigma of a web application that keeps a view state, handles "events" etc.
    the only thing i can't understand is why jsf builds on the error-prone jsp/custom tag
    paradigma instead of compiled server side ui components. The JSF - JSP connection is a major problem. More and more developers are starting to express reservations about it, because the two technologies don't play well together. But I think you've hit on an even deeper fundamental flaw in the equation -- the evils of runtime binding. The heavy JSF/JSP reliance on runtime evaluation is a reliability nightmare. Developers choose Java, in part, because of the robustness provided by compile-time checking. We give that up when it comes to JSF/JSP or Struts web applications, and that's an unacceptable state of affairs.
    Winer says that "JSF has taken a major step in the right direction with the <managed-bean> and <referenced-bean> configuration elements. These give some hope for development tools to finally provide real code insight (and even error reporting) for EL expressions, because they define both what keys are used in the expression language and what types of objects may be at those keys." However, this will help with only the simplest EL expressions. As soon as an EL expression reaches into nested properties and maps that aren't defined in the config file, we're back to runtime binding and error reporting. The addition of generics to the language with 1.5 might have made it possible to introduce strong EL type checking at page compile time, but Sun's short-sighted type-erasure implementation of generics rules this out permanently.
    Look at what Microsoft is doing with ASP.NET. It's not perfect, but the fundamental technology is based on compiled server side ui components. There are places in that framework where you can write expressions aren't evaluated until runtime, but it's certainly not the fundamental basis of the model as it is with JSF/JSP. And the .NET implementation of generics may make it possible to have these dynamic expressions type-checked at page compile time in a future implementation of .NET.
    I keep reading comments from the JSF proponents who say things to the effect of "yes, we know JSP doesn't play well with JSF, but JSF allows you to plug in a different rendering technology." Well, we need one, and we need it urgently. ASP.NET has been out for two years now, and was far more polished and useable at its release than JSF is now after a very long development cycle.
    Rightly or wrongly, people will judge JSF on the merits of the reference implementation. And I fear that a lot of developers are going to throw up their hands after a taste of the JSF/JSP world and move to .NET.
    Stephen Schaub

Maybe you are looking for

  • Smart quotes stored in DB are displaying as ? after jdbc select

    I originally posted this to the general forum, but it was suggested that I post it here where Sergiusz Wolicki from Oracle might be able to help. I have an Oracle 10 DB set up with the following character set NLS_LANGUAGE AMERICAN NLS_CHARACTERSET WE

  • Clean Install Mavericks and Restoring files

    Good afternoon everyone, I want to do a clean install of Mavericks on my iMac so I have a fresh system to work with.  Having read all the blogs I think I understand how to actually do the clean install via a USB stick but there appears to be a wide r

  • DVD to quicktime

    Anybody know how to convert DVD to quicktime so it can be imported into FCP? Thanks Andy

  • Choppy hi-def video playback

    I am using SMPlayer. Regular avi files work fine, but when playing 720p or higher quality videos (coded for example in matroska), I get this strange behaviour: Movie plays just fine for, say, 40 seconds, then it jerks abor about 0.5 second. This happ

  • Error installing Netweaver 2004s on 64 bit system

    Hi I ma installing Netweaver 2004s on a 64 Bit OS (Windows). I have installed Oracle 10.0.2.0 oracle. While running SAPINST i am getting error: "Oracle is not installed. Please install Oracle and resume". There was no error while installing Oracle an