How do I print a record - The not so simple method

How do I print a record - The not so simple method

You can also invoke a custom function to open the record in a new page and subsequently print it. To do so, Please follow the steps mentioned below:

  • Click on "Edit this application" and click on "Script" tab.
  • Click on "Functions" displayed in the top left corner. [Below the various tabs.]
  • You can create a function, viz Print_Rec, with an argument. In this case the argument can be an interger.
  • Drag and drop the openUrl task into the deluge editor.
  • Click on "edit" of the openUrl task.
  • Specify the following url string:
"http://creator.zoho.com/%22+zoho.adminuser+%22/%22+zoho.appname+%22/print/view_Link_Name/ID="+input.ID

where view_Link_Name is the view from which the records are to be printed and input.ID is the incoming ID argument. 
  • Select the openUrl in as "New Window".
  • Click Done to add the task and click "Save Script" to save the function.
  • Mouse over the "Views" tab and navigate to the view in which this function is to be included.
  • From the left pane, from under "Display", click on "Column Properties".
  • Select the "ID" field to be displayed in the view.
  • Form under "Actions" in the left pane, click on "Custom Actions".
  • Specify the function name to be displayed in the view, select the "Print_Rec" function that we just created and pass the "ID" as the argument.
  • Click "Done" to save.
When you access the view now, you can see the function being displayed next to each record. Clicking on the function will execute the function

    • Related Articles

    • How do I print a single record?

      While the entire view can be printed directly, there are two ways to print a single record. The simple way is to right click the "View" link, displayed next to the record and click on "Open Link in New Tab/Open Link in New Window".  Once the record ...
    • How do I print records in Zoho CRM?

      In Zoho CRM, you can print the following: The list of all the records (Leads, Contacts, Accounts, Cases etc.) with some basic information from the list view. Each record with all the details related to the record. To print records Click the ...
    • Change payment method

      Sign in to Zoho One. Click your account icon in the top-right corner to reveal the sidebar. Under Subscription, click Manage. Click Your Store Details in the top-right corner, then click Payment Method. Go to the Payment Method  tab, then ...
    • For the updateRecords method, where can I get the value for record ID?

      The value for the unique record ID will be available in the XML response obtained after inserting or fetching the records.   For Example: <FL val="Id">508020000016189251</FL>
    • Print Mailing Labels

      Introduction Mailing labels are commonly used on letters and packages to identify the addressee and the sender information. These labels are used for various business purposes, like sending a monthly billing statement to your clients, sending ...