How to upload a file to form file upload field using deluge in ZOHO People ?

How to upload a file to form file upload field using deluge in ZOHO People ?

Hello. Could you please answer: how to upload a file to form file upload field using deluge in ZOHO People ?

We have a custom form “Candidate_files”. There is the upload field “Fhoto”. And also we have another form “Employee_files” with the same field “Photo”. The objective: copy file from field “Photo” in “Candidate_files” to field “Photo” in “Employee_files”. I use code:

response = zoho.people.getRecordByID("Candidate_files",46625000002191406);
file_path = response.GetJson("Photo_downloadUrl");
//try to get file
file_variable = invokeurl
[
url :file_path
type : GET
connection:"people_connection"
response-format:FILE
];

And what next? How to upload the value in file_variable to form file upload field “Photo” in “Employee_files” ?



    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
                                          • Sticky Posts

                                          • Meet the Zoho People experts in your city!

                                            Dear users,   We are delighted to invite you to the Zoho People's user community meetup. We are stoked to visit our users in their cities and help them with all things Zoho People.   Join us for a day of insightful Zoho sessions, interactions with other


                                          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 WorkDrive Resources



                                                                    Zoho Campaigns Resources

                                                                      Zoho CRM Resources

                                                                      • CRM Community Learning Series

                                                                        CRM Community Learning Series


                                                                      • Tips

                                                                        Tips

                                                                      • 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