Opening and reading a file in Deluge for use in a sort of bulk update

Opening and reading a file in Deluge for use in a sort of bulk update

I want to be able to update a large number of projects, and the tasks contained in them, by using a file.  The use case would be that i would have a record per project and data that would apply to various tasks in columns in the file.  The file would be delimited to indicate the columns.

So I would open the file, read the first record and parse it, and execute update to the corresponding tasks.  Then move on to the next record and repeat until EOF.

I've tried this to read a file:

  1.  fileVariable = invokeUrl
  2.  [
  3.  url: "I would have the file url here" 
  4.  type: GET
  5.  ];
  6.  

  7. response = fileVariable.getFileContent();
  8. info response;
  9.  
  10.  return "success";
when i do this, i get the following message:



Can anyone help me out here.  Extra points if you can help with the parsing of a record and moving to the next.

If there is a better way to update a large number of projects and their tasks, I'd be open to it.  When last I checked, importing project is only workable a single project at a time, so this is not really a viable option.

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now