How can I find the item number?

Good day everyone!
If I have a drop down list and want to find the number of the selected item, how do I work it out?
The boundItem method gives me the current data value, but I need the item number. The mission is to add instances to another drop down list with child nodes of the value chosen in the first drop down list.
I've tried out the currentRecordNumber property, but I can't make it work. In Adobe XML Form object Model Reference they puts up
xfa.dataWindow.currentRecordNumber
but without any further reference to the current dropdownlist in that code, I don't understand how it works.
Please help me out.
best regards,
Håkon Helliesen

Hi!<br /><br />Thank you for your response! <br />I still don't get it right though after trying different methods over and over again and I therefore have two questions.<br /><br />1) Why do you use the <i>getElement</i> method to get an attribute? It would make more sense to me if you suggested the <i>getAttribute</i> method instead. Now, I have been trying out some different combinations of these two methods with the @ symbol, but without success. The getAttribute is described both in this forum and in the Adobe XML Form Object Model 2.2 Reference, but always in combination with recordSet. The recordSet object is a part of the sourceSet model which is used in OLEDB connections. I don't use that and wonder if I could use the getAttribute solely on the dataValue itself. I.e.the loaded XML looks somewhat like this:<br /><cars><br /><carowner carproducer="Ford">Person A</carowner><br /><carowner carproducer="VW">Person B</carowner><br /><carowner carproducer="Lexus">Person C</carowner><br /><carowner carproducer="Ford">Person D</carowner><br /><carowner carproducer="Nissan">Person E</carowner><br /><carowner carproducer="Volvo">Person F</carowner><br /><carowner carproducer="VW">Person G</carowner><br /><carowner carproducer="Ford">Person H</carowner><br /></cars><br /><br />var persons = xfa.resolveNode("$data.car");<br /><br />for (counter=0; counter<a.length; counter++)<br />{<br /><br />if (persons.nodes.item(counter).getAttribute("carproducer").value=="Ford")<br />{<br /><br />listBox1.addItem(persons.nodes.item(counter).value;<br /><br />}<br /><br />};<br /><br />Certainly there would be several faults in the code above, but please comment the getAttribute part.<br /><br />2)<br />All this (the methodology above) is described in the Acrobat JavaScript Scripting Reference for Acrobat 7.0 in the chapter showing the XMLData object (page 639) using a applyXPath and parse. If I use copy&paste from this manual and insert as a function in a script object,it works just fine. Are there any tips on how I can make it work on the nodeList XFA object?<br />The following test is attached to the description of the applyXPath method:<br /><i>NOTE: An exception is thrown when the value of this parameter is a nodeList XFA object instead the root of an XML tree, as required.</i><br /><br />best regards, <br />Håkon

Similar Messages

  • How can I find the serial number for my stolen iPad that's associated with my apple ID ?

    How can I find the serial number for my stolen iPad that's associated with my apple ID ?

    If you registered it with Apple check your registered items at Your Support Profile for Registered Purchases. Also, see iOS- How to find the serial number, IMEI, MEID, CDN, and ICCID number.
    What To Do If Your iDevice Is Lost Or Stolen
    If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. What to do if your iOS device is lost or stolen
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
      8. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)

  • How can I find the serial number for my creative suite CS6 I bought it from a store.

    How can I find the serial number for my creative suite CS6 I bought it from a store.

    https://www.adobe.com/account.html for serial numbers or subscriptions on your Adobe page... or
    Lost serial # http://helpx.adobe.com/x-productkb/global/find-serial-number.html

  • How can we find the Idoc number which posts the material document in SAP

    Hi All,
    How can we find the Idoc number which posts the material document in SAP. We could not able to find the IDOC number from the material document which was posted by Idoc.
    Thanks
    Chandru

    Hi,
    In MIGO you can go to service of object(Just above show overview) and check 5th option workflow you will find the idoc number.
    regards
    suresh

  • HT201386 how can I find the Image number of a particular photo in the Photos app included with iPad Air?

    how can I find the Image number of a particular photo in the Photos app included with iPad Air?

    Hello yamacutta,
    Thanks for using Apple Support Communities.
    The Photos app will not show you the actual file name of the photo.  However when you go through the image import process on your computer, you should be able to see both the thumbnail of the photo, as well as the filename of the image.
    Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support
    Take care,
    Alex H.

  • Trial version. Today I have downloaded the program with the serial number, now I'm doing the istallation he asks me the serial number, I put it and he tells me that I need also the serial number of the previous version. How can I find the serial number of

    1 month ago I Downloaded a trial version. Today I have downloaded the program with the serial number, now I'm doing the istallation he asks me the serial number, I put it and he tells me that I need also the serial number of the previous version. How can I find the serial number of the trial version?

    What program, and did you buy the UPGRADE version, or the FULL version?
    Your description indicates that you bought an upgrade version... which requires proof of a previous version to install
    So, if you had A and you bought A+ you need to provide your A serial number during install so A+ knows you are legal

  • HT200164 How can i find the serial number of a Logic Pro  downloaded from AppStore. (Without any booklet)

    How can i find the serial number of a Logic Pro  downloaded from AppStore. (Without any booklet)

    Hi
    The Appstore version does not require a serial number
    CCT

  • HT4759 How can I find the serial number toy device that has been stolen? I have looked in my account on iTunes and go to manage devices but only option is to delete that device?

    My daughters iPod was stolen today and I disabled it and tracked it on the find iPhone to an address but law enforcement can't do anything yet since they have now turned the iPod off which means it's off the radar now but for the life of me I can not find the serial number in my iTunes account to give the investigator so that he can put the info into a data base for pawn shops. Help???

    Try here >  How to find the serial number of your Apple hardware product
    I hope you find it.

  • How can I find the serial number from CS4 for my mac? I remembered it being on the box, but now I can't find it, and they website I thought to have registered it to doesn't recognize the e-mail I would have used then I got it.

    I don't know if this is the right place to ask this, but the website recommend I ask here. I bought the CS4 when I bought my macbook pro in when I was in college. I remember there being 2 serial numbers, so I could install to one other computer. That macbook pro finally died, and now I have a new mac which I am trying to re-install the creative suite on, only I can't find the serial number.  The two stickers on the back of the CS4 box (which i thought were the serial numbers) don't look like that they're asking for, and the website listed on the inside of the box for me to register to doesn't recognize my e-mail (which hasn't changed since buying CS4).  Any idea where I could find the serial number?

    To locate the serial number:
    http://helpx.adobe.com/x-productkb/global/find-serial-number.html

  • HT4061 my phone wont turn on so how can i find the serial number

    my phone wont turn on so how can i find the serial number

    Did you read this section from the article you linked:
    If you have access to your computer, but not your device

  • I downloaded aperture. How can i find the serial number

    How can i find the serial number

    Then you will have to contact Apple: Try these links:
    Pro Application Replacement Serial Numbers: http://support.apple.com/kb/HT1861
    Troubleshooting Professional Application Serial Numbers:
    http://support.apple.com/kb/TS2005

  • How can I find the router number for airport extreme card?

    I am trying (unsuccessfully) to wirelessly connect my PlayStation 3 to my iMac Duo using the built in Airport Extreme Card.
    Can someone please tell me how to find the router number for the built-in Airport? I am using OSX 10.4.9. The wireless card type on my Mac info is "Airport Extreme (Ox14E4, Ox89)".
    Thanks in advance.

    Since the iMac is using OS X's Internet Sharing, the iMac is acting as a router. The router IP address created by the iMac is dependent on the IP address assigned to the iMac. The first 2 numbers are the same but the last 2 are .2.1.
    For instance:
    If your iMac is getting an IP address of 192.168.0.200 your Mac's router IP address will be 192.168.2.1
    Similarly, if your iMac is getting an IP address of 10.0.1.200 your Mac's router IP address will be 10.0.2.1
    So
    Open Network Utility.
    Click on "Info". Under "Please select a network interface for information" select "Network Interface (en0)" to see what IP address the iMac has been assigned.
    Click on "Info". Under "Please select a network interface for information" select "Network Interface (en1)" to see what IP address the iMac is using as the router address on the wireless interface.

  • I don't have original docs-- how can I find the serial number in the software itself?

    Hello all,
    I recently purchased a macbook pro from eBay which had Flash CS4 already installed on it, but which didn't come with the original documentation or CDs that would have had the serial number.  The seller said he would send along the appropriate numbers when he tracked them down, but he never got back to me again.  I'd like to upgrade to Flash CS5 now, so is there any way I can find the serial number through the software itself?  I've seen similar threads to this one elsewhere in the forums and the most promising answers have involved people locating truncated numbers in the software and asking Adobe to decrypt them.  Unfortunately, I can't even find these truncated numbers...  anyone have advice?
    Thanks

    Chances are you do not own the rights to use or have that software installed on that machine.  If the seller was only going to supply you with numbers and not transfer his/her license thru Adobe channels (http://kb2.adobe.com/cps/152/tn_15281.html), the seller would probably be in violation of the End User License Agreement (illegally providing a copy to another individual). If the seller still retains the license, the copy on your machine would have to have been erased before the sale... and still needs to be.
    This is likely to apply to other software that was installed on the machine by the seller.

  • My ipod was been lost for a week. How can I find the serial number of my ipod on my computer? Please help!

    My ipod is lost!!! Someone needs to answer my question. PLEASEEE

    The serial number will not help you find it, but here is how to finde the serial number:
    iPod: How to find the serial number

  • How can I find the serial number of my "60w MagSafe Plug", without having it physically?

    I have lost my charger of mi PowerBook, and someone else found it, so he asked me for the serial number, but i cant find it anywere.
    Can someone help me?

    Well i will try to convince them, because i don´t find the serial number on the documentation. If someone could find it will help a lot. thanks to shldr2thewheel, John Galtand tjk

Maybe you are looking for

  • How can I rename my document in Adobe Reader?

    HHow can I rename my document in Adobe Reader? The app has changed a lot. HELP!

  • Help required in creating function module which reads payroll clusters.

    Hi , We have a requirement where in we need to create a function module for reading a sequence of tables from payroll clusters. This function module does two functions: 1.Read the payroll results from one system. 2.write the payroll results to other

  • BI-Publisher Bursting : JMS

    Hello Experts!!! We are trying to implement Bursting in BI-P 11g. The prerequisite for same is that Enterprise schedular and JMS show status as Passed(Path : Administrator->Manage BIP->Schedular Configurations ->Schedular Diagnostics). However, we ar

  • HT201303 i need to change my payment info

    can,t change my payment info have new credit card will not allow me to change!

  • KB2956087 changes Outlook 2013 room booking

    A few users started to complain they were getting error messages when trying to book meetings in our Room Calendars. They were using Outlook 2013 in schedule view, where they used to be able to double click in a Room Calendar, and that would automati