Prefill "field_data" on Zoho Sign not populating

Prefill "field_data" on Zoho Sign not populating

I'm trying to prefill some information from CRM Plus into a template using the zoho sign deluge task but for some reason, the data passed into the "field_data" object doesn't prefill the form.

A few notes
  1. I've confirmed that the function is successfully getting the info from CRM and applying it to the object
  2. Some of the returned fields from the CRM are null as they hadn't been entered yet (which is a possible use case, we'd like to prefill the info we have leaving anything we don't have blank)
  3. The field_data object is using field_text_data, field_date_data, field_boolean_data, and field_radio_data to hold the field data
  4. I've confirmed that the field labels provided in the field_data object match the field labels in the template
Code:
  1. PacketID is a function argument which is a zoho record
  2. A wrapper function is used for the zoho crm GetRecordById task which returns null to the parent function upon an error
  3. The standard State field in CRM was replaced with a dropdown for both Accounts and Contacts
  1. //Structure Variable Declarations
  2. response = Map();
  3. params = Map();
  4. data = Map();
  5. templates = Map();
  6. actions = List();
  7. field_data = Map();
  8. field_date_data = Map();
  9. field_boolean_data = Map();
  10. field_text_data = Map();
  11. field_radio_data = Map();

  12. //Get Records from CRM
  13. Packet = standalone.GetRecordById("Application_Packets",PacketID);
  14. if(Packet.isNull())
  15. {
  16. info "Error getting Application Packet";
  17. return null;
  18. }
  19. Participant = standalone.GetRecordById("Client_Company_Relations",Packet.get("Application_Participant").get("id"));
  20. if(Participant.isNull())
  21. {
  22. info "Error getting Application Participant";
  23. return null;
  24. }
  25. Contact = standalone.GetRecordById("Contacts",Packet.get("Client_Contact_Record").get("id"));
  26. if(Contact.isNull())
  27. {
  28. info "Error getting Contact";
  29. return null;
  30. }
  31. Account = standalone.GetRecordById("Accounts",Packet.get("Company_Account_Record").get("id"));
  32. if(Account.isNull())
  33. {
  34. info "Error getting Account";
  35. return null;
  36. }

  37. //Apply TemplateID to response structure
  38. response.put("templateID",<template id>); //template id redacted

  39. //Apply field data to field_data child objects
  40. field_text_data.put("Business Legal Name",Account.get("Account_Name"));
  41. field_text_data.put("Business DBA Name",Account.get("DBA_Name"));
  42. field_date_data.put("Start Date",Account.get("Business_Start_Date").toString("dd MMMM yyyy"));
  43. field_text_data.put("Business Website",Account.get("Website"));
  44. field_text_data.put("Business Address 1",Account.get("Street"));
  45. field_text_data.put("Business Address 2",Account.get("Street_2"));
  46. field_text_data.put("Business City",Account.get("City"));
  47. field_radio_data.put("Business State",Account.get("State"));
  48. field_text_data.put("Business Zip",Account.get("Zip_Code"));
  49. field_text_data.put("Business Phone 1",Account.get("Phone"));
  50. field_text_data.put("Business Phone 2",Account.get("Secondary Phone"));
  51. field_text_data.put("Business Fax",Account.get("Fax"));
  52. field_text_data.put("First Name",Contact.get("First_Name"));
  53. field_text_data.put("Last Name",Contact.get("Last_Name"));
  54. field_radio_data.put("Salutaion",Contact.get("Salutation"));
  55. field_text_data.put("Business Title",Participant.get("Company_Title"));
  56. field_text_data.put("Owner Percent",Participant.get("Ownership_Percent"));
  57. field_date_data.put("DOB",Contact.get("Date_of_Birth").toString("dd MMMM yyyy"));
  58. field_boolean_data.put("Is US Citizen",Contact.get("Is_US_Citizen"));
  59. field_radio_data.put("Preferred Contact Method",Contact.get("Preferred_Contact_Method"));
  60. field_text_data.put("Address 1",Contact.get("Mailing_Street"));
  61. field_text_data.put("Address 2",Contact.get("Mailing_Street_2"));
  62. field_text_data.put("City",Contact.get("Mailing_City"));
  63. field_radio_data.put("State",Contact.get("State"));
  64. field_text_data.put("Zip",Contact.get("Mailing_Zip"));
  65. field_text_data.put("Primary Phone",Contact.get("Primary_Phone"));
  66. field_text_data.put("Secondary Phone",Contact.get("Secondary_Phone"));
  67. field_text_data.put("Fax",Contact.get("Fax"));
  68. field_text_data.put("Client Email",Contact.get("Email"));

  69. //Apply child objects to field_data
  70. field_data.put("field_text_data", field_text_data);
  71. field_data.put("field_boolean_data", field_boolean_data);
  72. field_data.put("field_date_data", field_date_data);
  73. field_data.put("field_radio_data", field_radio_data);

  74. //Create Applicant Signer Action
  75. signerObj1 = Map();
  76. signerObj1.put("recipient_name",Contact.get("First_Name") + " " + Contact.get("Last_Name"));
  77. signerObj1.put("recipient_email",Contact.get("Email"));
  78. signerObj1.put("action_id","383560000000030044");
  79. signerObj1.put("action_type","SIGN");
  80. signerObj1.put("signing_order",1);
  81. signerObj1.put("role","Applicant");
  82. signerObj1.put("verify_recipient",false);
  83. signerObj1.put("private_notes","Kindly confirm and complete all the details in the funding application and accept it by signing.");
  84. actions.add(signerObj1);

  85. //Create Representative Signer Action
  86. signerObj2 = Map();
  87. signerObj2.put("recipient_name",Packet.get("Owner").get("name"));
  88. signerObj2.put("recipient_email",Packet.get("Owner").get("email"));
  89. signerObj2.put("action_id","383560000000030046");
  90. signerObj2.put("action_type","VIEW");
  91. signerObj2.put("signing_order",2);
  92. signerObj2.put("role","Representative");
  93. signerObj2.put("verify_recipient",false);
  94. actions.add(signerObj2);

  95. //Build and return completed Sign Args
  96. templates.put("field_data", field_data);
  97. templates.put("actions",actions);

  98. data.put("templates", templates);

  99. params.put("data",data);
  100. params.put("is_quicksend", true);

  101. response.put("params", params);

  102. return response;
                                                                                                                                                                                                                    These generated parameters are then passed to another deluge function that sends the Sign request (also using PacketID as a function parameter and a wrapper function for zoho's toMap function).
                                                                                                                                                                                                                    1. args = standalone.ToMap(standalone.GetAppOptions(PacketId));
                                                                                                                                                                                                                    2. signResponse = zoho.sign.createUsingTemplate(args.get("templateID"), args.get("params"), "zohosign");

                                                                                                                                                                                                                    3. return signResponse;
                                                                                                                                                                                                                    This successfully sends the sign request to the specified record but it doesn't prefill the data.  Any help would be greatly appreciated!
                                                                                                                                                                                                                      • Recent Topics

                                                                                                                                                                                                                      • Kaizen #152 - Client Script Support for the new Canvas Record Forms

                                                                                                                                                                                                                        Hello everyone! Have you ever wanted to trigger actions on click of a canvas button, icon, or text mandatory forms in Create/Edit and Clone Pages? Have you ever wanted to control how elements behave on the new Canvas Record Forms? This can be achieved
                                                                                                                                                                                                                      • Adding hyperlinks in CRM emails time automatically

                                                                                                                                                                                                                        It may just be me, but when I am writing an email to a lead, I find inserting a hyperlink very time consuming. Granted, I can use templates but there are a ton of scenarios where I might want to put a link in to an website that wouldnt require me to go though the effort of creating a template.  Ideally, the crm would identify that I that a string of text is a URL and insert the hyperlink automatically, just like microsoft outlook or gmail. Has anyone else had this same experience and found a way
                                                                                                                                                                                                                      • Enhance "Applications Usage" with Date Filters, Historical Analytics & App-Level Breakdown

                                                                                                                                                                                                                        Hello Zoho Creator Team, We are writing to request a critical enhancement to the Applications Usage section to improve our ability to monitor, analyze, and manage our platform consumption over time. While the current view of today’s usage is helpful for
                                                                                                                                                                                                                      • External File Share - Allow delete

                                                                                                                                                                                                                        Hi Team, when I share an external link and give it edit rights the external user can add but not delete files and folders. what am i doing wrong?
                                                                                                                                                                                                                      • Cliq iOS can't see shared screen

                                                                                                                                                                                                                        Hello, I had this morning a video call with a colleague. She is using Cliq Desktop MacOS and wanted to share her screen with me. I'm on iPad. I noticed, while she shared her screen, I could only see her video, but not the shared screen... Does Cliq iOS is able to display shared screen, or is it somewhere else to be found ? Regards
                                                                                                                                                                                                                      • Tables from ZohoSheets remove images when updated from source

                                                                                                                                                                                                                        I have a few tables from a ZohoSheet in a ZohoWriter document that will remove the images in the cells when I refresh from the source. The source still has the images in the table when I go to refresh. After updating from the source, as you can see the
                                                                                                                                                                                                                      • Empowered Custom Views: Cross-Module Criteria Now Supported in Zoho CRM

                                                                                                                                                                                                                        Hello everyone, We’re excited to introduce cross-module criteria support in custom views! Custom views provide personalized perspectives on your data and that you can save for future use. You can share these views with all users or specific individuals
                                                                                                                                                                                                                      • Where is the Global Search field?

                                                                                                                                                                                                                        I am looking for an alternative to SF.com. Zoho CRM seems to be work fine, and be customizable in terms of the fields and reports. But there's one big thing missing and it's going to prevent us from using it: there's no global search box at the top of
                                                                                                                                                                                                                      • Enhancements to finance suite integrations

                                                                                                                                                                                                                        Update: Based on your feedback, we’ve updated the capabilities for integration users. In addition to the Estimates module, they can now create, view, and edit records in all the finance modules including Sales Order, Invoices, Purchase Order. We're also
                                                                                                                                                                                                                      • How to notify all members on any updates to zoho crm?

                                                                                                                                                                                                                        Hi, I am using the free version of zoho CRM and currently seeing this will work for our company. We are a small company and wanted to be more informed about all the changes in zoho. 1. How do I s et notifications that go to the team for any and all changes
                                                                                                                                                                                                                      • How to change the format for phone numbers?

                                                                                                                                                                                                                        Mobile phone numbers are currently formatted (###) ###-####.  How can I change this to a more appropriate forms for Australia being either #### ### ### or (#)### ### ###?
                                                                                                                                                                                                                      • Unattended Access on Android without Play Store

                                                                                                                                                                                                                        I'm testing Zoho Assist for remote config and maintenance of our IoT devices. The devices are running Android 8.1 and do NOT have Google Play Store installed, nor can it be installed. I've been able to install Zoho Assist on the devices and load the enrollment
                                                                                                                                                                                                                      • How can I bold text on Zoho Forms submit buttons?

                                                                                                                                                                                                                        In the old theme builder, I could bold the text on a form's submit button. With the new theme builder, I can only change the text of the header or fields in the form, and not the button itself.
                                                                                                                                                                                                                      • Open Sans Font in Zoho Books is not Open Sans.

                                                                                                                                                                                                                        Font choice in customising PDF Templates is very limited, we cannot upload custom fonts, and to make things worse, the font names are not accurate. I selected Open Sans, and thought the system was bugging, but no, Open Sans is not Open Sans. The real
                                                                                                                                                                                                                      • Is it possible to embed Zoho Bookmarks in the Cliq sidebar?

                                                                                                                                                                                                                        Is there any way that each Zoho user can access their bookmarks (that live in https://bookmarks.zoho.eu/ which is technically a part of Zoho Mail) directly within Cliq? As a widget, or an item in the sidebar? My team does not use Mail, it uses Cliq all
                                                                                                                                                                                                                      • Show Attachments in the customer portal

                                                                                                                                                                                                                        Hi, is it possible to show the Attachments list in the portal for the particular module? Bests.
                                                                                                                                                                                                                      • Kaizen #142: How to Navigate to Another Page in Zoho CRM using Client Script

                                                                                                                                                                                                                        Hello everyone! Welcome back to another exciting Kaizen post. In this post, let us see how you can you navigate to different Pages using Client Script. In this Kaizen post, Need to Navigate to different Pages Client Script ZDKs related to navigation A.
                                                                                                                                                                                                                      • Navigate with Ease: Announcing Improvements to Your Zoho CRM for Everyone's Setup Experience

                                                                                                                                                                                                                        Hello Everyone, We’re thrilled to announce new enhancements to the Setup Menu in our Zoho CRM for Everyone system, designed to simplify your workday and streamline your overall experience. What's New? Addition of a Setup Homepage Faster Search in Setup
                                                                                                                                                                                                                      • Zoho Projects Webhook fails with HTTP Error 0

                                                                                                                                                                                                                        Hello Zoho Community, I am pulling my hair out over this one. I have setup a very basic http(s) server that always responds "ok" and code 200 to incoming GET requests. It will accept any parameters, and any path. Really, all it does is say "ok," and log
                                                                                                                                                                                                                      • API 500 Error

                                                                                                                                                                                                                        Hello amazing ZOHO Projects Community, I get this message. How can we solve this? { "error": { "status_code": "500", "method": "GET", "instance": "/api/v3/portal/2010147XXXX/projects/2679160000003XXXX/timesheet", "title": "INTERNAL_SERVER_ERROR", "error_type":
                                                                                                                                                                                                                      • ZOHO Campaignで表のカラムの幅を調整したい。

                                                                                                                                                                                                                        表を作成した際、個々のカラムの幅を調整したいのですが、方法が分かりません。 どなたかご存じの方ご教示ください。
                                                                                                                                                                                                                      • Currency abbreviations

                                                                                                                                                                                                                        Hello, Im stuck, and need help. I need the currency fields for example, opportunity value, or total revenue, to be abbreviated, lets say for 1,000 - 1K, 1,000,000 - 1M, and so on, how should I do this?
                                                                                                                                                                                                                      • Unable to use Sign "You have entereed some invalid characters"

                                                                                                                                                                                                                        Unable to use Sign "You have entered some invalid characters" I do not see any invalid characters. The text in "Leave a Note" is plain text which I entered directly into the field. See attached screenshot
                                                                                                                                                                                                                      • Auto-upload Creator Files to WorkDrive

                                                                                                                                                                                                                        Hi everyone, I’m working on a workflow that uploads files from Zoho Creator to specific subfolders in Zoho WorkDrive, as illustrated in the attached diagram. My Creator application form has two multi-file upload fields, and I want—on successful form submission—to
                                                                                                                                                                                                                      • Tables for Europe Datacenter customers?

                                                                                                                                                                                                                        It's been over a year now for the launch of Zoho Tables - and still not available für EU DC customers. When will it be available?
                                                                                                                                                                                                                      • Creator Change History: Ways to improve

                                                                                                                                                                                                                        Hi Everyone, Recently been working in developing this change history(an idea from Zoho Forms) - unlike forms that you can this with a click but using Creator, we can use "old" keyword. The concept I come up with is to put the result in a table however,
                                                                                                                                                                                                                      • Cannot connect to 365 business calendar and Teams, says personal but it is not.

                                                                                                                                                                                                                        hi I have a number of users connected to their 365 business accounts. Adding a new user and it thinks hes got 365 personal edition. He does not.... Anyone know what's going on. Trying for days now. Bookings go into his MS calendar but as its thinks its
                                                                                                                                                                                                                      • Exciting Updates to the Kiosk Studio Feature in Zoho CRM!

                                                                                                                                                                                                                        Hello Everyone, We are here again with a series of new enhancements to Kiosk Studio, designed to elevate your experience and bring even greater efficiency to your business processes. These updates build upon our ongoing commitment to making Kiosk a powerful
                                                                                                                                                                                                                      • Kaizen #129 : Client Script Support for Blueprints

                                                                                                                                                                                                                        Hello everyone! Welcome to another week of Kaizen. Today, let us discuss about how you can use Client Script during a Blueprint transtion to meet your requirements. This Kaizen post will provide solution for the post - Need non-mandatory fields in blueprint
                                                                                                                                                                                                                      • Search Bar Improvement for Zoho Commerce

                                                                                                                                                                                                                        Hey everyone, I've been using Zoho Commerce for a bit now, and I think the search bar could really use an upgrade. Right now, it doesn't show products in a dropdown as you type, which would make finding items a lot faster. On Shopify, for example, you
                                                                                                                                                                                                                      • Making digital signatures accessible to all: Introducing accessibility controls in Zoho Sign

                                                                                                                                                                                                                        Hi there! At Zoho Sign, we are committed to building an inclusive digital experience for all our users. As part of our ongoing efforts to align with Web Content Accessibility Guidelines (WCAG), we’re updating the application with support that will go
                                                                                                                                                                                                                      • Account Owner Field From Accounts Module to be Displayed in Contacts module

                                                                                                                                                                                                                        I have a field in the Accounts Module in the CRM called "Account Owner" i want that field to be also mapped into the Contacts Module custom single line field called "Account Manager".
                                                                                                                                                                                                                      • Update a field in the ZOHO Form, basis numeric value in another field in the same form

                                                                                                                                                                                                                        I am trying to create a questionnaire in ZOHO, where clients need to answer 10 questions, and basis response, values are assigned. I have created a total score field where the sum of the values is stored. But i am unable to create a rule whereby another
                                                                                                                                                                                                                      • Default Sorting on Related Lists

                                                                                                                                                                                                                        Is it possible to set the default sorting options on the related lists. For example on the Contact Details view I have related lists for activities, emails, products cases, notes etc... currently: Activities 'created date' newest first Emails - 'created
                                                                                                                                                                                                                      • How to update "Lead Status" to more than 100 records

                                                                                                                                                                                                                        Hello Zoho CRM, How do I update "Lead Status" to more than 100 records at once? To give you a background, these leads were uploaded or Imported at once but the lead status record was incorrectly chosen. So since there was a way to quickly add records in the system no matter how many they are, we are also wondering if there is a quicker way to update these records to the correct "Lead Status". I hope our concern makes sense and that there will be a fix for it. All the best, Jonathan
                                                                                                                                                                                                                      • Meet up de Zoho en Bilbao

                                                                                                                                                                                                                        Buenos días comunidad! Estamos estudiando hacer un Meet up en Bilbao desde zoho y varios Partners. Para que la experiencia sea excelente, queremos saber cuantas pesonas se vendrían a Bilbao al evento. Y para que sea lo mas útil posible, que temas dentro
                                                                                                                                                                                                                      • Option to Customize Career Site URL Without “/jobs/Careers”

                                                                                                                                                                                                                        Dear Zoho Recruit Team, I hope you are doing well. We would like to request an enhancement to the Career Site URL structure in Zoho Recruit. In the old version of the career site, our URL was simply: 👉 https://jobs.domain.com However, after moving to
                                                                                                                                                                                                                      • In Zoho inventory Converting sales return to cerdit note from using Api from Creator Error details: {"code":-1,"message":"Invalid Sales Return ID."}

                                                                                                                                                                                                                        In Zoho inventory Converting sales return to cerdit note from using Api from Creator Error details: {"code":-1,"message":"Invalid Sales Return ID."} this is button Function used in the Creator map Inventory.Create_Credit_note(int CRE_ID) { return_value
                                                                                                                                                                                                                      • Marketing Tip #2: Recover lost sales with abandoned cart emails

                                                                                                                                                                                                                        Did you know most online shoppers don’t complete checkout? Automated cart recovery emails are an easy way to bring them back. A simple reminder can recover sales you’d otherwise lose. Try this today: Enable abandoned cart emails in Zoho Commerce and set
                                                                                                                                                                                                                      • Billing Management: #9 Usage Billing in IoTs

                                                                                                                                                                                                                        We live in a world where connectivity has become a lifestyle rather than a luxury. From smart thermostats that adjust your home's temperature to GPS trackers monitoring end-to-end fleets and sensors that optimize energy grids, the Internet of Things has
                                                                                                                                                                                                                      • Next Page