6 Replies Latest reply on May 14, 2008 3:36 PM by Novian

    Passing arrayCollection to .cfm

    Mark Forsberg Level 1
      I am attempting to pass several small arrayCollections along with a
      file upload.

      variables.myAssignedRoles = assignedRoles; //arrayCollections
      variables.myAssignedGroups = assignedGroups;
      variables.myAssignedApprovers = assignedApprovers;

      var request:URLRequest = new URLRequest(UploadURL);
      request.method = URLRequestMethod.POST;
      request.data = variables;

      This is passed to a page, upload.cfm, where the file is processed. I
      then want to pass the arrayCollections? to a .cfc for further

      By the time the passing is done my cfdump shows [Object Object], but
      for the life of me I can't figure out how to access the data in that
      object. Is there any way for me to get the data from the object at
      the .cfc end? I've tried looping over the Object as an array, struct
      and query. All three throw errors.

      Thanks for the help.

      Mark F.