5 Replies Latest reply on Jan 25, 2007 2:50 PM by BaileyBurger

    Number of rows from HTTPService

    BaileyBurger Level 1
      Greetings!

      I'm making a httpservice call to a CF template that returns a playlist in xml. The HTTPService result attribute calls a function that is to iterate over the returned xml and place it into an array so that I can manipulate the playlist within the array and not have to change it on the server.

      My problem is that I can not figure out how to get the number of records returned in the xml. I've tried serveral approaches similar to:
      if (myServiceName.lastResult.length == 0) Alert.show('No Records');
      but can't seem to get any to work.

      I would appreciate any insight! Thanks!