How to add an attribute to "group" element in the DataTemplate dataStructur

Hi,
I want to add an attribute to the group element in the dataStructure section of DataTemplate. I want my output XML file to look like:
<G_EMP xmlns:xsd="http://www.w3.org">
<ENAME>John</ENAME>
</G_EMP>
This can be done in Oracle Reports 6i by setting a value to the XMLTag attribute in the property pallette of G_EMP group in the report. Please let me know if there is a way to do the same in the Data Template.
So far I've observed only three attibutes that can be used with group element (name,dataType,source). Is there any other attribute that I can use to get the afore mentioned XML structure.

Moved to the LiveCycle Designer forum: http://forums.adobe.com/community/livecycle/livecycle_modules_and_development_tools/livecy cle_designer_es?view=discussions

Similar Messages

  • How to add XML attribute to an Element using BPEL assign

    I have a request xml to a bpel process that does not contain a attribute.
    After some process I need to create this missing attribute and set a value.
    I tried using the XML fragment in the Assign Activity. But how can I create a attribute?
    This XML node to which I am trying to create an attribute is a very huge node with lot of dynamic typing(xsi:type). I can just re-create the complete xml with required nodes.
    Does any one know how I can create a xml attribute using the BPEL assign? I do not want to use the Java code in my process.
    Thanks.

    I'm bit confused about what exact problem you are facing with attributes.
    You can check accessing XML attributes in BPEL Assign @ http://download.oracle.com/docs/cd/E12483_01/integrate.1013/b28981/manipdoc.htm#BABIHDHI from the page http://download.oracle.com/docs/cd/E12483_01/integrate.1013/b28981/manipdoc.htm.
    I suppose your source input has no attributes and destination has to be an xml with attribute of type xsi:type. You can use the assign activity as mentioned in above document to assign your type structure to type attribute.

  • How to Add custom Attribute in XML

    How to add Custom attribute recusrivly. With sequence order.
    //Before xml:-
    var myxml:XML=
    <root>
    <leval0 >
    <leval1 >
    <leval2></leval2>
    <leval2></leval2>
    </leval1>
    <leval1 >
    <leval2></leval2>
    <leval2></leval2>
    </leval1>
    </leval0>
    </root>
    ////After xml:
    var myxml:XML=
    <root>
    <leval0 levalid="0" >
    <leval1 levalid="0_0" >
    <leval2 levalid="0_0_0"></leval2>
    <leval2 levalid="0_0_1"></leval2>
    </leval1>
    <leval1 levalid="0_1" >
    <leval2 levalid="0_1_0"></leval2>
    <leval2 levalid="0_1_1"></leval2>
    </leval1>
    </leval0>
    </root>

    //call this method
                trace(addAttribute(myxml));
    //method
                private function addAttribute(node:XML, depth:String = ""):XML
                    if (node.hasComplexContent())
                        var count:int = 0;
                        var prefix:String = 0 < depth.length ? depth + "_" : "";
                        var currentAtt:String;
                        for each (var nodeItem:XML in node.children())
                            currentAtt = prefix + count;
                            nodeItem.@levalid = currentAtt;
                            addAttribute(nodeItem,currentAtt);
                            count++;
                    return node;

  • How to change general attribute of text element

    hi
    who now how to change general attribute of text element on screen dinamically? I wish to change text value dinamically for example.

    Hi Denis,
    I am not too sure on what you want.
    If you require that the text value be different based on some conditions you can declare as many text elements as conditions and call the relevant text element.
    But I dont think that you can assign dynamic texts to a single text element.
    Regards,
    Saurabh

  • How do add .mov files in Premiere Elements 11 with Windows 8? I get a generic error message.

    How do add .mov files in Premiere Elements 11 with Windows 8? I get a generic error message.

    Hi Steve,
    Thanks for your quick response. The original movies were taken on a Canon ES970 (1990's). I don't know the resolution but things were not as high tech back then.,.. I used a Roxio software to convert them on my MacBook Air. I didn't realize that I could use Adobe Premiere Elements to do that or I would have. However my old camera did not have a cable to attach it to a computer and the Roxio software came with it.
    I then saved the recordings on an external hard drive. I did not make movies from them using iMovie or edit them in any way. They are simply .MOV files and they can be played on my Mac. Upon realizing how much memory it takes to work on videos, I decided it might be easier to burn DVD's on my husband's  new Dell desktop that came with Windows 8. I downloaded Quicktime as suggested and still the movies can't be added to Premiere.

  • In Share point 2013 how to add more than 2 group by in list

    In Share point 2013 how to add more than 2  group by in list .

    Hi,
    According to your post, my understanding is that you wanted to group by on more than 2 columns in a List View in SharePoint 2013.
    There is no out of the box way to achieve your scenario directly.
    As a workaround, we can use the following method to achieve it.
    First, we can insert Data View Web Parts in SharePoint Designer 2013.
    It’s because the SharePoint Designer 2013 can’t support Design view, then the Data View Web Parts XSL cannot be visually manipulated.
    You can refer to the following article to insert a Data View Web Part.
    http://www.synergyonline.com/Blog/Lists/Posts/Post.aspx?ID=259
    And then, you can use the following solution that can be used to
    group by on more than 2 columns in a view
    to implement it in SharePoint Designer 2013.
    http://techtrainingnotes.blogspot.com/2011/01/sharepoint-group-by-on-more-than-2.html
    http://chanakyajayabalan.wordpress.com/2010/03/15/group-by-for-more-than-two-columns-in-sharepoint-list/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • File name from an attribute of an element of the payload

    Dear Experts,
    Could you suggest the syntax for specifying the file name from a variable in the file receiver communication channel? I need to grab the file name from an ATTRIBUTE of an element of the payload.
    Thanks a lot.
    Example: Need to pass the attribute "descReceipt" of the element "promotionEvent" to the variable in the following payload:
    <?xml version="1.0" encoding="UTF-8"?>
    <promotionExport>
    <promotionEvent eventIdentifier="30" status="A" descReceipt="FILE1">

    The scenario is IDOC to FILE. I need to get the value of the receiving partner.
    The message header has the node "DynamicConfiguration". Please see the xml below. I need to grab the key RCVPRN (0000002104) from this and pass as the file name in the receiver file adapter.
    How do I setup my receiver file adapter for this? I tried changing the values for the variable, and also enabling the adapter specific message attributes. No solution yet.
    <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPOR">LXDCLNT250</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPRT">LS</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPRN">0000002104</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPOR">SAPLCD</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPRN">LCDCLNT220</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="CIMTYP" />
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="IDOCTYP">WPDBBY01</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="MESTYP">WPDBBY</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPRT">KU</SAP:Record>
      </SAP:DynamicConfiguration>

  • How to make use of adjacent data elements within the same buffer

    Hi,
             Does anyone know how to make use of adjacent data elements within the same buffer? To make my question clearly, I would like to give you an example. In my application, I set "sample to read" as 10 which means at each loop 10 data samples will be taken into a buffer. Now, what I would like to do is to do some calculations on adjacent data samples in same buffer. I tried to use "shift register" for this, but it seemed to me that it only can deal with the calculation between data from adjacent loops. In other words, it skips 9 data elements and take the 10th one for the calculation.
             Here I also attach my VI showing what I did.
        Thank you very much in advance,
                            Suksun
    Attachments:
    wheel_encoder_1.vi ‏98 KB

    Hi Suksun,
          I hope you'll forgive me for distilling your code - mainly to understand it better.  I tried to duplicate your logic exactly - which required reversing the "derivatives"-array before concatination with the current samples array.  As in your code, the last velocity is being paired with the first position.  If first velocity is really supposed to be paired with first position, just remove the "Reverse 1D Array" node.
    cheers
    Message Edited by Dynamik on 01-07-2006 03:17 AM
    Message Edited by Dynamik on 01-07-2006 03:19 AM
    When they give imbeciles handicap-parking, I won't have so far to walk!
    Attachments:
    encoder2.GIF ‏14 KB
    encoder2.vi ‏102 KB

  • How to add a new column (Project Number) in the action items table under NPD Module?

    There are two projects with same name and created by same person in NPD.
    So when it is displayed in "Action Items" table, It looks similar.
    To avoid this, I need one more column (Project Number) to be added in the "Action Items" table and " Strategic briefs and projects" table.
    So, How to add a new column (Project Number) in the "Action Items" table and " Strategic briefs and projects" table under NPD Module?
    Please do the needful.

    There is no out of the box configuration available to add columns to NPD action items.   As always we welcome enhancement requests. 
    Thanks
    Kelly

  • How to find out query name using Elements of the query builder.

    Hi SDNers,
    how to find out query name using Elements of the query .
    thanks,
    satyaa

    Hi,
    For having a look at the relation between BEx tables,check the link below:
    http://wiki.sdn.sap.com/wiki/display/BI/ExploretherelationbetweenBEx+Tables
    -Vikram

  • How to add more than one input arguments to the tpcall

    Hi
    Can any one know how to add more than one input arguments in the tpcall using WTC (Jatmi)?
    Par example, I have un service Tuxedo getConsoClient(char* cli_id, char* type)
    To call this service, I'm using tpcall("getConsoClient", dataIn, 0);
    here, I did't know how to add two parameters in the TypedBuffer object. I'm new to WTC.
    Any hints will be greatly appreaciated.
    Advanced thanks

    Thanks for you help. But in java Jatmi, I have lot of problem to convert array into TypedBuffer or TypedString. See below code, I'm tried using vector or tableau etc..
    But I have always same erreur. :(
    public void getClientInfo() {
         Context ctx;
         TuxedoConnection myTux;
         TypedString numinst = new TypedString("1");
         TypedString idClient = new TypedString("1003");
         TypedString[] dataIn = {numinst,idClient};
         //TypedString dataIn = new TypedString(numinst+"\0"+idClient+"\0");
         Vector input = new Vector();
         input.add(0,numinst);
         input.add(1,idClient);
         Reply rpy = null;
         try{          
              System.out.println("getClientInfo called : " + dataIn);
              TuxedoConnectionFactory tcf;               
              ctx = new InitialContext();
              tcf = (TuxedoConnectionFactory) ctx.lookup("tuxedo.services.TuxedoConnection");
              myTux = tcf.getTuxedoConnection();          
              System.out.println("About to call tpcall cnx = "+myTux);
              rpy = myTux.tpcall("LireInfoCli_SE",(TypedBuffer)dataIn, 0);          
              System.out.println("tpcall successfull!");
              TypedFML32 typ = (TypedFML32) rpy.getReplyBuffer();
              System.out.println("Reply Type = "+rpy.getReplyBuffer().getType());
              System.out.println("Reply toString = "+typ.toString());
              while(typ.Fiterator().hasNext()){
                   System.out.println("Reply toString = "+typ.Fiterator().next().toString());               
              myTux.tpterm(); // Closing the association with Tuxedo
         }catch (TPReplyException tpx) {
              // Could not get the tuxedo object, throw TPENOENT
              System.out.println("TPReplyException perrno = " + tpx.gettperrno()+" DETAILS "+tpx.gettperrordetail()+" getLocalizedMessage "+tpx.getLocalizedMessage()+" "+tpx.getCause());
              tpx.printStackTrace();
         }catch (TPException tpx1) {
              // Could not get the tuxedo object, throw TPENOENT
              System.out.println("TPReplyException perrno = " + tpx1.gettperrno()+" DETAILS "+tpx1.gettperrordetail()+" getLocalizedMessage "+tpx1.getLocalizedMessage()+" "+tpx1.getCause());
              tpx1.printStackTrace();
         }catch (NamingException ne) {
                   // Could not get the tuxedo object, throw TPENOENT
                   System.out.println("Could not get TuxedoConnectionFactory : " + ne.getMessage());
                   ne.printStackTrace();
         }catch(Exception e){
                   System.out.println("Exception in getClientInfo ->"+e.getMessage());
                   e.printStackTrace();
         return;
    }

  • How to add Custom Attributes in the SOAP header for OWSM

    Hi,
    I like to know how to add the Custom Attributes in the SOAP header for OSWM username token authentication.
    Currently we are getting the header element like
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    here we need to add the attribute "soap:mustUnderstand="1" , so the element will look like
    <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    Any info on this will be helpful.
    Thanks,
    ArunM

    Hi Jay, you can make it in more than 1 way.
    I suggest you the following:
    - create an URL iview that points to any URL you want.
    - define a Resource that points to the iview (with a window name, to open in new window)
    - define an Area that points to the resource
    - add your new Area to the your current Area Group
    Regards!

  • How to add/set attribute "collectiveParentRDN" in DSEE6.3.1 installation.

    Hi,
    I'm new to DSEE and I have a question ,
    I have a code which
    1. First it binds to LDAP server through a proxy user.
    2. Authenticates a user
    3. Gathers all the roles that a user is a member of.
    It uses ,”collectiveParentRDN ” as a DN attribute.
    For e,g,in following line from the code:
    userDN = attrs.get("collectiveParentRDN").get().toString();
    But I’m getting userDN as null as there is no attribute called collectiveParentRDN in the LDAP schema I’m using.
    However when I use “entryDN” instead, it works.
    But I need to use “collectiveParentRDN” . and I'm not able to configure this attribute in the
    When I try to add this attribute I get a constraint /schema violation error.
    Can anyone please tell me how to add /set this attribute to DSEE6.3.1 LDAP server.?
    Here is the complete code snippet:
    import java.util.ArrayList;
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.NamingEnumeration;
    import javax.naming.directory.Attributes;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    import javax.naming.directory.SearchControls;
    import javax.naming.directory.SearchResult;
    public class LDAPPrototype {
         public static final String LDAP_URL = "ldap://localhost:389";
         public static final String LDAP_LDAPSERVER_SEARCHBASE = "o=MyLDAP";
         public static final String SECURITY_AUTHENTICATION_METHOD = "simple";
         public static final String INITIAL_CONTEXT_FACTORY = "com.sun.jndi.ldap.LdapCtxFactory";
         public static final String LDAP_USER_GROUP_ATTR = "nsRole";
         private static final String LDAP_USER_LOGIN = "dsingh1";
         private static final String LDAP_USER_PASSWORD = "password";
         // NOTE: Three new params for authenticating proxy.
         public static final String LDAP_PROXY_PROXYDN = "uid=will,ou=Blue,ou=People,o=MyLDAP";
         public static final String LDAP_PROXY_UID = "will";
         public static final String LDAP_PROXY_PASSWORD = "password";
         // NOTE: TWO new params to get users correct DN after search
         public static final String LDAP_USER_DN_ATTR = "collectiveParentRDN";
         public static final String LDAP_USER_CN_ATTR = "cn";
         public static void ldapAuthentication() {
              Hashtable env = new Hashtable();
              Hashtable cloneEnv = new Hashtable();
              DirContext ctx = null;
              String userDN = null;
              String userCN = null;
              String searchBase = null;
              try {
                   env.put(Context.SECURITY_AUTHENTICATION,
                             SECURITY_AUTHENTICATION_METHOD);
                   env.put(Context.INITIAL_CONTEXT_FACTORY, INITIAL_CONTEXT_FACTORY);
                   env.put(Context.PROVIDER_URL, LDAP_URL);
                   cloneEnv = new Hashtable(env);
                   env.put(Context.SECURITY_PRINCIPAL, LDAP_PROXY_PROXYDN);
                   env.put(Context.SECURITY_CREDENTIALS, LDAP_PROXY_PASSWORD);
                   ctx = new InitialDirContext(env);
                   System.out.println("Initial bind succesful");
                   SearchControls searchCtls = new SearchControls();
                   String[] returnedAtts = { LDAP_USER_DN_ATTR, LDAP_USER_CN_ATTR };
                   searchCtls.setReturningAttributes(returnedAtts);
                   searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
                   String searchFilter = "(uid=" + LDAP_USER_LOGIN + ")";
                   searchBase = LDAP_LDAPSERVER_SEARCHBASE;
                   System.out.println("Checking for user !!!");
                   NamingEnumeration answer = ctx.search(searchBase, searchFilter,
                             searchCtls);
                   System.out.println("User search successful !!!");
                   Attributes attrs = null;
                   while (answer.hasMore()) {
                        System.out.println("Searching for user attrributes!!!");
                        // Print all the user attributes
                        SearchResult sr = (SearchResult) answer.next();
                        attrs = sr.getAttributes();
                        System.out.println("Num of attributes = " + attrs.size());
                        // NamingEnumeration attrKeys = attrs.getIDs();
                        // while (attrKeys.hasMore()) {
                        // String at = attrKeys.next().toString();
                        // System.out.println("Key = " + at + ", value = " +
                        // attrs.get(at).get());
                        if (attrs.get(LDAP_USER_DN_ATTR) != null) {
                             System.out.println("User DN found for user: "
                                       + LDAP_USER_LOGIN);
                             userDN = attrs.get("collectiveParentRDN").get().toString();
                             System.out.println("User DN = " + userDN);
                        if (attrs.get(LDAP_USER_CN_ATTR) != null) {
                             System.out.println("User CN found for user: "
                                       + LDAP_USER_LOGIN);
                             userCN = attrs.get(LDAP_USER_CN_ATTR).get().toString();
                             System.out.println("User CN = " + userCN);
                        if ((userDN != null) && (userCN != null)) {
                             break;
                   userDN = LDAP_USER_CN_ATTR + "=" + userCN + "," + userDN;
                   System.out.println("Modified user DN = " + userDN);
                   cloneEnv.put(Context.SECURITY_PRINCIPAL, userDN);
                   cloneEnv.put(Context.SECURITY_CREDENTIALS, LDAP_USER_PASSWORD);
                   System.out.println("Authenticating user : " + userDN);
                   ctx = new InitialDirContext(cloneEnv);
                   System.out.println("Authenticated user : " + userDN);
                   System.out.println("Get user groups !!!");
                   String[] returnedGroups = { LDAP_USER_GROUP_ATTR };
                   searchCtls.setReturningAttributes(returnedGroups);
                   NamingEnumeration groups = ctx.search(searchBase, searchFilter,
                             searchCtls);
                   ArrayList<String> groupList = new ArrayList<String>();
                   while (groups.hasMore()) {
                        // Print all the user attributes
                        SearchResult sr = (SearchResult) groups.next();
                        attrs = sr.getAttributes();
                        if (attrs.get(LDAP_USER_GROUP_ATTR) != null) {
                             System.out.println("Num of groups found = " + attrs.size());
                             String groupName = attrs.get(LDAP_USER_GROUP_ATTR).get()
                                       .toString();
                             groupList.add(groupName);
                             System.out.println("Group found = " + groupName);
              } catch (Exception e) {
                   System.out.println(e);
                   e.printStackTrace();
         public static void main(String[] args) {
              ldapAuthentication();
    }Thanks in Advance.
    Rahul

    You are right, that attribute is not in the schema.
    I think perhaps that could be the reason I'm getting an schema violation error when I'm trying to add it.
    Can you please tell me how do I add any new attribute to the schema ?
    Thanks in advance
    Rahul.

  • Add RADIUS attributes under "Group Setup" in ACS 4.2

    Hi Security Experts,
    I need to add RADIUS attributes for a custom vendor under "Group Setup" page in ACS 4.2. As of now, I see Cisco Aironet RADIUS Attributes,
    IETF RADIUS Attributes etc in "Group Setup" page. How can I make sure that the RADIUS attributes for a vendor also appear on that page?
    PS: I rate useful posts
    Thanks,
    Kashish

    Under "Interface" you can enable which RADIUS-Attributes you want to display. Probably there's just one checkmark missing for your vendor.
    The Options for RADIUS are described here:
    http://www.cisco.com/en/US/partner/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.2/user/guide/A_RADAtr.html

  • How to add an attribute to a notification message ?

    Hi,
    I want help in adding an attribute to a PO Approval notification message.
    The attribute is from the PO Header screen , it is the Ship-To field (See screenshot) : http://i48.tinypic.com/2wh35v5.jpg
    Kindly help me and tell me how i can add this attribute to Approve PO with PDf message (See screenshot) : http://i46.tinypic.com/nchvzs.jpg
    Best Regards,
    Yousef

    Yousef,
    - You add an attribute at item level, let's call it SHIP_TO, type varchar
    - You add another attribute at the message level, let's call it SHIP_TO too and set its value to item attribute SHIP_TO
    - Now you doble-click on the message and edit its body and add the reference to this new attribute:
    Ship to: &SHIP_TO
    - Save the workflow process and upload to the database.
    - Now you need to set this attribute's value using WF_ENGINE.SetItemAttrText() just like the other existing attributes for this workflow.
    Regards

Maybe you are looking for