Get element from container

I have created a container which contains numbers and strings elements. I would like to pass the element one by one to a vi. But I don't know how to extract the element respectively.
Is there a way to get the container's element one by one? Something like: Array[1], Array[i+1] will simply work for array, but what about container? I can't do Container[i]. It will return error.
Thanks a lot in advance!
Solved!
Go to Solution.

Hi 
By using your way I get the correct element number and element name. That's a great help. Thanks a lot!
But regarding the element value you were saying to use "locals.x = cont.name". The problem is that the name I get from "GetNthSubPropertyName" is a string. Then if I pass cont.name into locals.x, locals.x gets the string value "cont.name" rather than the real value of the container's element. It could be, in my case, a number or a string. 
Is there a kind of function like "GetNthSubPropertyValue" which could obtain the value of a local container, or do you have another way of achieving this?

Similar Messages

  • How to get Elements from old computer to new?

    Hello,
    I bought elements last year sometime for my ibook, but just recently upgraded to an imac. I would like to get elements on my new computer but can't figure how to.
    I also can't seem to find my serial number anywhere.
    any suggestions?

    You will need to reinstall it. Do not attempt to bring it over with migration assistant, since PSE is far more complex than a normal neat mac app package and the MA isn't programmed to find alll the bits and bobs. If you bought PSE as a download, go to the main page of adobe.com and look for My Adobe and work your way through the links there and hopefully you'll still have a download link. If you registered it you will also find your serial number there, regardless of whether you bought a disc or a download.

  • E4X : How to get elements that contain a string pattern in the node name?

    Is there a way to extract children from an XMLList where the node name of a child contains a string pattern?
    For example :
    <record>
         <XblahX/>
         <cow/>
         <YblahY/>
    </record>
    How to get the elements of record that have a node name that contains the string "blah"?

    var rec:XML = <record>
         <XblahX/>
         <cow/>
         <YblahY/>
    </record>;
    var r:RegExp = /blah/;
    var elems:XMLList = rec.children().(localName().search(r)>-1);
    trace(elems.toXMLString())

  • Get elements from the list

    Hi,
    I get the Session list with this statement:
    session.list();
    To get it I used:
    session.get("username");
    I want to get username, userfirstname, and userlastname into
    separate TextInput UI components.
    Only what I have so far is lastResult for all three
    components.
    Could you please help me?
    Thanks,
    Slava

    Hi,
    Can you please clarify the following
    1. what is the format of the data in the lastResult
    2. what is this session.list(). Is it on the server?
    3. how are the userFirstname and other variables available to
    the Flex client
    4. If the values are coming from web server, How are
    accessing the web server and in format are the values returned.
    Thanks

  • XPath: get element from node with namespace?

    I have a problem retrieving an element value via XPath. The XML is like
    <?xml version="1.0"  encoding="UTF-8"?>
    <SOAP:Envelope ...>
        <SOAP:Header>
        </SOAP:Header>
        <SOAP:Body>
            <A xmlns="myns/">
                <B>
                    <C>
                        <D>123</D>
    ...I want to retrieve node 'D'. I was able to select node 'A' with this XPath:
    //SOAP:Body/child::*[namespace-uri()='myns']but can't get further. E.g.
    //SOAP:Body/child::*[namespace-uri()='myns']/Bdoesn't work ...?

    I have a problem retrieving an element value via
    XPath. The XML is like
    <?xml version="1.0"  encoding="UTF-8"?>
    <SOAP:Envelope ...>
    <SOAP:Header>
    </SOAP:Header>
    <SOAP:Body>
    <A xmlns="myns/">
    <B>
    <C>
    <D>123</D>
    ode]
    I want to retrieve node 'D'. I was able to select
    node 'A' with this XPath://SOAP:Body/child::*[namespace-uri()='myns']
    but can't get further. E.g.
    //SOAP:Body/child::*[namespace-uri()='myns']/Bdoesn't work ...?
    Is there any solution to this problem?

  • Get elements from external sites with rest

    Hello!!!
    I have a site collection in SPO2013 and i would like to read texts from a Drupal site and show it in my SP site. Is possible to do that with REST? if so, how? Is there some tutorial?
    Thanks!!!

    Hello,
    Yes you can create list items inside your SharePoint site using rest api. here is the simple function for your understating,
    // Adding a list item with the metadata provided
    function addListItem(url, listname, metadata, success, failure) {
    // Prepping our update
    var item = $.extend({
    "__metadata": { "type": getListItemType(listname)}
    }, metadata);
    // Executing our add
    $.ajax({
    url: url + "/_api/web/lists/getbytitle('" + listname + "')/items",
    type: "POST",
    contentType: "application/json;odata=verbose",
    data: JSON.stringify(item),
    headers: {
    "Accept": "application/json;odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val()
    success: function (data) {
    success(data); // Returns the newly created list item information
    error: function (data) {
    failure(data);
    you can refer to the article below which explains basic CRUD operations using REST api  with simple code  examples:
    http://www.plusconsulting.com/blog/2013/05/crud-on-list-items-using-rest-services-jquery/
    Regards,
    Subhash Reddy.
    subhash reddy

  • Strange problem with removing element from node

    Hi,
    I have a problem when I removed elements from a node.
    here is the code:
    String text = "123456";
    IANode nodeA= wdContext.nodeA();
    wdContext.nodeB().invalidate();
    IBNode nodeB = wdContext.nodeB();
    for(int i=0; i<nodeA.size(); i++)
    IAElement e = nodeA.getEt_Emp_RespElementAt(i);
    if (e.getID().compareTo(text)!= 0)
         nodeB.removeElement(e);
    else
    wdComponentAPI.getMessageManager().reportSuccess(e.getID() + " was not removed");
    The node A does have a row with field "ID" equals to 123456.
    When running the application, it does write that "123456" was not removed...but it removes it....In fact my table is now empty.
    How is it possible if it didn't perform the remove operation for ID = 123456 ?
    Thanks in advance.

    David,
    Because you are iterating node in wrong direction: see my reply to your post Re: Loop problem (seems that you assigns me 2 points without reading reply, and mark it as solved just because you stop solving it
    So, in example in this thread, you must iterate node B in reverse direction, get element from B and remove it from B if it has some specific ID.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • I try to create an html for IPad. The html page contains an element overlapping a video, now it works as for view but the focus is still with video. This denies the event of overlapping element from occuring. Can please anyone help to solve this issue?

    I try to create an html for IPad. The html page contains an element overlapping a video, now it works as for view but the focus is still with video. This denies the event of overlapping element from occuring. Can please anyone help to solve this issue?

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • How can i get all elements from a arraylist

    Hello everyone
    I have an arraylist with 40 elemets inside it.
    I want to be able to get the first 10 elements of the arraylist and put them into a sql statement (I can do this ok) but the problem is when i want to get the next 10 elements (from 10 to 20) they will not execute to the database. is this possible with just one prepared statement?
    thanks
    piper

    Hello Ken this is my code so far, And i keep getting the error
    binary data would be truncated.
    And if i change the values in the for loop i get an exception null.
    I do not know what is wrong with this so could you be so kind as to. help me thaks
    piper
    try {
          String data = "jdbc:odbc:myProject";
                 Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
             Connection conn = DriverManager.getConnection(data,"","");
          int rows=0;
         PreparedStatement ps = conn.prepareStatement(
         "INSERT INTO Ben (Phone,addr1,addr2,PostCode) VALUES (?,?,?,?)");
              Iterator io = arr3.iterator();
                   while (io.hasNext())
                        for (int pos = 1; pos <=4; pos++)
                             String sf = (String)io.next();
                             ps.setString(pos,sf);
                        rows += ps.executeUpdate();
                        System.out.println("inserted" + rows + " rows");
         ps.close();
         return;
            }catch (Exception e1) {
                     System.err.println("Got an exception! ");
                     System.err.println(e1.getMessage());

  • Get selected elements from a table

    Hi all,
    I have a requirement like i m enhancing standard component in that i have added one button on click of that i want fetch the selected line item from the table ( which is a normal table). selection mode is auto.
    i tried with  the following code.
    DATA:lr_element                   TYPE REF TO if_wd_context_element,
           lv_index                     TYPE i.
    *--Get selected element
      lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
    ****Here itself its throughing dump because lr_element is initial***************
    *--get selected element index.
      lv_index = lr_element->get_index( ).
    can any one help me what is the wrong.. else suggest me how to get the selected elements from a table....
    Thanks in advance.

    *--Get selected element
    lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
    if  lr_element is bound.
    lv_index = lr_element->get_index( ).
    endif.
    Instead you can directly read the node if that row is a lead selected one.
    lo_node = wd_context->get_child_node( name = 'EMP' ).  "Emp is node name
    lo_ele = lo_node->get_lead_selection( ).
    or
    lv_index = lo_node->get_lead_selection_index( ).
    where is the above code written..is it written in OnLeadSelect event of the TABLE..
    can any one help me what is the wrong.. else suggest me how to get the selected elements from a table....
    As the selection mode is Auto there is no multiple selection..hence try to use the lead selection only.
    Edited by: Lekha on Jan 3, 2012 6:47 PM

  • How to get the values of all elements and sub elements from  following xml

    how to get the values of all elements and sub elements from following xml...
    <?xml version="1.0" encoding="UTF-8" ?>
    <List_AML_Finacle xmlns="http://3i-infotech.com/Cust_AML_Finacle.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://3i-infotech.com/Cust_AML_Finacle.xsd List_AML_Finacle.xsd">
    <TransactionID>TransactionID</TransactionID>
    <Match>
    <Src_Matched_Field>Src_Matched_Field</Src_Matched_Field>
    <List_Matched_Field>
    <FSFM_Matches>
    <NUMBER>NUMBER</NUMBER>
    <TERROR>TERROR</TERROR>
    <TU>TU</TU>
    <NAMEU>NAMEU</NAMEU>
    <DESCRIPT>DESCRIPT</DESCRIPT>
    <KODCR>KODCR</KODCR>
    <KODCN>KODCN</KODCN>
    <AMR>AMR</AMR>
    <ADDRESS>ADDRESS</ADDRESS>
    <SD>SD</SD>
    <RG>RG</RG>
    <ND>ND</ND>
    <VD>VD</VD>
    <GR>GR</GR>
    <YR>YR</YR>
    <MR>MR</MR>
    <CB_DATE>CB_DATE</CB_DATE>
    <CE_DATE>CE_DATE</CE_DATE>
    <DIRECTOR>DIRECTOR</DIRECTOR>
    <FOUNDER>FOUNDER</FOUNDER>
    <TERRTYPE>TERRTYPE</TERRTYPE>
    </FSFM_Matches>
    <OfacMatchDetails>
    <UID>UID</UID>
    <TITLE>TITLE</TITLE>
    <SDNTYPE>SDNTYPE</SDNTYPE>
    <REMARKS>REMARKS</REMARKS>
    <ID_UID>ID_UID</ID_UID>
    <IDTYPE>IDTYPE</IDTYPE>
    <IDNUMBER>IDNUMBER</IDNUMBER>
    <IDCOUNTRY>IDCOUNTRY</IDCOUNTRY>
    <ISSUEDATE>ISSUEDATE</ISSUEDATE>
    <EXPIRATIONDATE>EXPIRATIONDATE</EXPIRATIONDATE>
    <ADDRESS1>ADDRESS1</ADDRESS1>
    <ADDRESS2>ADDRESS2</ADDRESS2>
    <ADDRESS3>ADDRESS3</ADDRESS3>
    <CITY>CITY</CITY>
    <STATEORPROVINCE>STATEORPROVINCE</STATEORPROVINCE>
    <POSTALCODE>POSTALCODE</POSTALCODE>
    <COUNTRY>COUNTRY</COUNTRY>
    </OfacMatchDetails>
    </List_Matched_Field>
    </Match>
    </List_AML_Finacle>

    avoid multi post
    http://forum.java.sun.com/thread.jspa?threadID=5249519

  • Everytime I try to update to iOS5 on my iPhone 4 I get an error containing 0xE while it is trying to backup data from the iPhone.  I have done everything suggested in Apple support.  How can I upgrade to iOS5 without losing all the data on my phone?

    Everytime I try to update to iOS5 on my iPhone 4 I get an error containing 0xE while it is backing up data from the iPhone before installing the new operating system.  I have done everything suggested in Apple support with no success.  I still get the error everytime (about 5 minutes into backing up iPhone data).  How can I upgrade to iOS5 without losing all the data on my iPhone (the error message says that if I continue I will lose all data on the phone)?  If I have already synced the phone before upgrading the OS, would I be able to restore my data after installing the new OS by syncing after the OS upgrade is complete?  Any help would be greatly appreciated. 

    I had the same problem today and was able to resolve it without having to do a restore or reset. The problem had something to do with my mail accounts. The upgrade reset my mail settings, switching both my gmail and my .mac mail to "archive all mail". I went into the General Settings, disabled that setting, and resynced the phone. The "other" storage allottment dropped back down to less than a gig.
    Before you restore or reset, I would try that first.

  • How can I get Elements 12 to load raw files from my Nikon D5300. I have installed DNG Conv. 8.7.1

    I cannot get Elements 12 to recognise and load NEF files from my Nikon D5300. I have downloaded and installed the latest DNG coverter software 8.7.1 but Elements still refuses to load any NEF files.
    regards Ian.

    Hi,
    You shouldn't need to use the DNG converter unless you are using the MAC app version. The D5300 should be supported by Camera Raw 8.3 which should be compatible with Photoshop Elements 12.
    In the editor go to Help -> About Plug-in -> Camera Raw to see which version you have loaded. The latest for Photoshop Elements 12 is 8.5. If you have an older one then go to the Help menu and select Updates.
    If you are up to date, then you may have use old Nikon software to access the NEF files and that is known to corrupt them so that Photoshop Elements can't read them.
    Brian

  • How to create workflow container element from workflow builder?

    How to create workflow container element from workflow builder?

    in workflow
    three are five container, for each container we have define according to requirement of that particular container.
    1. event container
    2. workflow container
    3. task container
    4. method container
    5. rule container
    1. event container
    in evernt contianer we have to create elements in BOR where we create event in parameters
    2. workflow container
    in workflow container we have to create elements in workflow builder itself. in left side of the screen we see <double click to create element>
    3. task container
    in task container we have to create in task itself it has a tab called container elements
    4. method container
    in method container we have to create in BOR. it is created in parameter of that BOR.
    5. rule container
    in rule container we have to create in PFAC transaction

  • Premier elements 10. Quits when opening "get files from..."

    How do I fix this issue: APE10 open, sets up a new project, but when I try to "get files" from "files an folders" it quits.
    Thanks

    luiscue
    There is a serious known issue with Premiere Elements 10 on a computer that uses a NVIDIA GeForce video card/graphics card. The answer to date has been to roll back
    the driver version to about May 2013. There is an Announcement at the top of this forum about all this, and much more information to be found elsewhere
    ATR Premiere Elements Troubleshooting: PE10: NVIDIA Video Card Driver Roll Back
    I am not sure if an automatic update of the driver version may have taken the driver version from the much older date to current version which is triggering your present situation.
    I am strictly an Elements Windows user so I am not sure if the following NVIDIA GeForce 9400 M driver version would work in your Mac computer environment.
    GeForce 320.49 May 23, 2013. The following is the NVIDIA GeForce 9400 M but listed on Windows
    NVIDIA Driver Downloads - Advanced Search
    The other consideration is the use of Premiere Elements 10 OS10.10.2. I have not seen any reports confirming that Premiere Elements 10 is compatible with OS 10.10.2.
    But then again, you report "It worked well 3 months ago. First time it has done it." Where you using the same operating system then as now?
    You can also factor into all this the usual drill considerations...
    a. Are you working with a pen and tablet device instead of mouse?
    b. Does the problem exist with antivirus and firewall(s) disabled?
    c. Have you deleted the Adobe Premiere Elements Prefs file
    Users/Owner/Libraries/Application Support/Adobe/Premiere Elements/10.0
    d. Is the latest version of QuickTime installed on your computer?
    Please review and consider and then we can discuss this further.
    Thank you for the follow up.
    ATR
    Add On..Since I am strictly an Elements Windows user, please indicate anywhere in the above where the question would not be applicable to Mac.

Maybe you are looking for