How to set up image field from Creator in Writer

How to set up image field from Creator in 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: ""

];


    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









                                            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

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

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

                                                                                                              • How to use Zoho WorkDrive images into Writer merge fields?

                                                                                                                Zoho Writer only accepts Public URL for the image fields in Mail merge. If the images are stored in Zoho WorkDrive, you can create a downloadable link and use it as an input value for the image field. This can be done in the following three ways; a) ...
                                                                                                              • How to merge Writer templates using Zoho Flow?

                                                                                                                We're working on a Zoho Flow-Writer integration to help you pick template documents from Writer, place merge fields on them and merge it with data from Zoho Services. Find below steps to merge Writer Documents and with Zoho Creator Form fields. Steps ...
                                                                                                              • How to configure workflows to run Writer mail merge tasks?

                                                                                                                Workflow Rules in Zoho CRM are a set of actions including email notifications, and field updates that are executed when specific conditions are met. You can create a workflow rule and set an action to automate Writer's Mail Merge Tasks. (Ex: Merge ...
                                                                                                              • I could not paste images in my Writer document.

                                                                                                                Image paste in Writer might fail due to any one of the following reasons:  1. The image is copied from MS Word. As a workaround, download the image from MS Word and upload it to Writer from your local machine. 2. If the image source is a web URL, ...
                                                                                                              • Zoho Mail Extension for Writer

                                                                                                                Zoho Mail is a simple yet powerful collaborative communication platform for businesses of all sizes. The Zoho Mail extension integrates seamlessly with Zoho Writer and allows users to instantly share the desired content as an attachment. Steps to ...
                                                                                                                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