How to set up Image Field Merges from Creator to Writer

How to set up Image Field Merges from Creator to Writer

Zoho Writer supports only public image URL to perform merge operations. So to achieve this please add an image field in both your Creator app and Writer's merge template and use one of the two ways: 

Convert the image as a downloadable link in Creator:

  1. Publish your Creator's form report with these steps and get the published key. The published key will be in this format:

 

 https://creatorapp.zohopublic.com/<AppOwnerName>/<AppName>/report-perma/<ReportLinkName>/qvGRXuEHg9AQT5CguhV27krp***** 

The highlighted key will be used as 'PublishedLinkKey' in the Deluge script.

 

  1. Create public links for your images in Deluge. Here's a sample code to create downloadable link of your images in the Creator form.

employeerecord = Employee_Timesheet_Form[ID==input.ID];

info employeerecord.Timer_Screenshot;

imageLink = employeerecord.Timer_Screenshot.getsuffix("image/");

imageLink = employeerecord.getPrefix("\"");

imageURL = "https://creatorexport.zoho.com/file/<AppOwnerName>/<AppName>/<ReportLinkName>/" + input.ID + "/<ImageFieldName>/image-download/<PublishedLinkKey>?filepath=/" + imageLink;  

info imageURL; 

 

Here's a sample Creator imageURL:

 

https://creatorexport.zoho.com/file/go*****/employee_****/Employee_*****/1309016000000318035/Timer_Screenshot/image-download/qvGRXuEHg9AQT5CguhV27krp*****?filepath=/1656509699030.png

 

  1. You can use this imageURL to merge the Creator image with Writer.

 

Upload the image to Zoho WorkDrive and create an external download link.

  1. Upload your image and create an external download link in Zoho WorkDrive with these steps. Here's a sample WorkDrive URL:

 

https://workdrive.zohoexternal.com/external/b24042070f8fb42d******/download?directDownload=True

 

  1. Pass this URL as imageURL in your Deluge script and perform your output operations via Zoho Writer's Deluge tasks or Zoho Writer's API.

 

Here's a sample Deluge code to merge and send the document as an email with Zoho Writer's API.

 

data= map();

data.put("employee_name",employeerecord.Employee_Name);

data.put (“employee_email”, employeerecord.Employee_email);

data.put("project_name", employeerecord.Project_Name);

data.put("date",employeerecord.Date_field);

data.put("total_hours_worked", employeerecord.Total_Hours_Worked);

data.put("timer_screenshot", imageURL);

data.put("task_details", employeerecord.Task_Details);

data.put("date", employeerecord.Subform_Date);

data.put("hours_worked", employeerecord.Hours_worked);

data.put("task_description", employeerecord.Task_Description);

param = Map();

param.put("message", "Please find your work details for the past week");

param.put("subject", "Work Details");

param.put("merge_data", {"data":data});

param.put("output_format", "inline");

param.put("recipient_email",employeerecord.Employee_email);

param.put("from_email", "paxyz@zylker.com");

invokeurl

[

url: "https://zohoapis.com/writer/api/v1/documents/eb4kob******/merge/email"

type: post

parameters: param

connection: ""

];


      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit

                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsFormstack alternativeEncrypted Forms

                              Wufoo alternativeSecure Forms

                              TypeformWCAG


                                          Create. Review. Publish.

                                          Write, edit, collaborate on, and publish documents to different content management platforms.

                                          Get Started Now




                                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                Manage your brands on social media


                                                                  • Desk Community Learning Series


                                                                  • Digest


                                                                  • Functions


                                                                  • Meetups


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner


                                                                  • Word of the Day


                                                                  • Ask the Experts


                                                                    Zoho Sheet Resources

                                                                     

                                                                        Zoho Forms Resources


                                                                          Secure your business
                                                                          communication with Zoho Mail


                                                                          Mail on the move with
                                                                          Zoho Mail mobile application

                                                                            Stay on top of your schedule
                                                                            at all times


                                                                            Carry your calendar with you
                                                                            Anytime, anywhere




                                                                                  Zoho Sign Resources

                                                                                    Sign, Paperless!

                                                                                    Sign and send business documents on the go!

                                                                                    Get Started Now




                                                                                            Zoho TeamInbox Resources





                                                                                                      Zoho DataPrep Demo

                                                                                                      Get a personalized demo or POC

                                                                                                      REGISTER NOW


                                                                                                        Design. Discuss. Deliver.

                                                                                                        Create visually engaging stories with Zoho Show.

                                                                                                        Get Started Now








                                                                                                                            • Related Articles

                                                                                                                            • Getting started with document merge in Zoho Writer

                                                                                                                              Overview Zoho Writer’s template-based document generation lets you automatically create personalized documents by merging pre-designed templates with data from spreadsheets, forms, CRMs, or APIs. Merge fields pull in real data to generate contracts, ...
                                                                                                                            • How to setup image type merge field in Zoho Writer

                                                                                                                              Overview The Image Field Merge feature in Zoho Writer lets you dynamically insert images (like profile photos, product images, logos, or scanned documents) into templates during a mail merge. You can map image fields from your data source—such as ...
                                                                                                                            • How to merge subform fields and image field via Zoho Writer's Merge APIs?

                                                                                                                              Overview Zoho Writer's Merge API enables the dynamic population of documents using data from Zoho CRM. This includes merging not only standard fields but also related list (subform) fields and image fields. This guide outlines the steps required to ...
                                                                                                                            • How to position images in Zoho Writer

                                                                                                                              Overview Position controls let you place images exactly where you want them, whether inline with text or floating on the page. You can use presets or advanced custom settings to align images relative to the page, margins, columns, or paragraphs. ...
                                                                                                                            • How to format and style images in Zoho Writer

                                                                                                                              Overview After inserting an image, you can adjust its size, apply styles, change wrapping, add alt text, or crop it. These options help you present visuals clearly and make documents more accessible. Steps How to adjust image dimensions Click the ...
                                                                                                                              Wherever you are is as good as
                                                                                                                              your workplace

                                                                                                                                Resources

                                                                                                                                Videos

                                                                                                                                Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                eBooks

                                                                                                                                Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                Webinars

                                                                                                                                Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                CRM Tips

                                                                                                                                Make the most of Zoho CRM with these useful tips.



                                                                                                                                  Zoho Show Resources