Customization - Using Custom Buttons

Customization - Using Custom Buttons

This guide will help you with the following:
  1. Create Custom Button 
  2. Define Button Action 
  3. Edit Custom Button 
  4. Delete Custom Button 
In addition to modules, fields, pages, links, and a lot of other elements, Zoho Developer also allows you to create new button actions with the help of a feature called Custom Buttons. These buttons can help your subscribers perform predefined actions with a single click.

Zoho Developer has some standard buttons that are used to execute various predefined actions. For example, Convert is a standard button used to convert a Lead to Contact, Account or Potential. Similarly, Clone is another standard button that is used to clone any record within your CRM account. By default, these buttons will be available to your Vertical CRM application. Likewise, you can create new buttons and define a set of actions based on your requirements.However, you cannot add a custom button in the activities module. Custom Buttons can be used to connect your CRM with third party applications, connect different CRM modules or connect with other Zoho applications.

Create Custom Button

To create a custom button
  1. Log in to Zoho Developer Console and click CRM for Verticals
  2. In the Vertical CRM page, select the application in which the field has to be added.
  3. Click Customize in the left pane and select Buttons tab at the top of the page.
  4. In the Buttons page, click Create New Button.
  5. In the Create Your Button page, do the following:
    1. Choose the module where you want to create a custom button.
    2. For easy identification, name your button.
      The button name should not exceed 30 characters.
    3. Click the AddDescription link and specify the details of your custom button.
      The description should not exceed 250 characters.
    4. Choose the location of your custom button from the drop-down list.
      Custom buttons can be placed in 5 different places in your CRM - Create/Clone page, Edit page, View page, List View page and next to each record in the list view.
      Note that you can add a maximum of 2 buttons in each of these locations. 

    5. Choose an action to be executed when a user clicks the custom button. You can either define your own action by writing a custom function or invoking a URL based on your needs.
      It is mandatory to choose the button action.
  6. Select the profiles that will be able to access this button. 


  7. Click Save.

Define Button Action

Every custom button should be associated with an action when a user clicks the button. You can choose the button action in any of the following ways:
  1. Write your own custom functions (powered by Deluge Script Editor)
  2. Invoke a URL.

Write your own custom function

Using our Deluge Script Editor, you can start defining your own button action by writing a new custom function. See Also Deluge Script - Reference Guide .
To write your own custom function
  1. Create a custom button and choose your button action as Writing Custom Function from the drop-down list.
  2. In the Deluge Script page, do the following:
    1. Specify your Function Name.
    2. Write your required function in Deluge Script Editor. See Also Program Custom Functions 
  3. Click Save and Execute Script to validate your code.
    If there are no errors, your script is ready to associate with the custom button. 

  4. Click Save.
  5. The script will be associated with the custom button. Choose different user profiles to check who can access the custom button and click Save in the Create Your Button page. Whenever you click on the custom button, the associated function will be triggered and the required action will be performed in one click.

Response Tracking

You can create an alert or show a pop-up notification whenever users click on the custom button. This response should be configured while writing the custom function using the deluge script editor. If any open URL tasks are configured in custom function, the last open URL task will be opened as per your configuration either in a new tab or a new window or a pop-up window. By default, empty string will be returned for every custom function that you associate with your custom button.

Custom Functions Limits:

The overall custom functions usage limits is shown below. This limit is applicable for the custom functions used for workflow automation, custom buttons and custom related lists.

Integration Tasks - 25000 API calls/day using deluge.
Get Data - 25000 calls/day
Post Data - 25000 calls/day
Send Email - 1000 emails/day

Note
  1. Workflow rules can also be triggered through the custom function executed from custom button by using the CRM API integration tasks inside Deluge Scripting.

Invoke a URL

Using Invoke a URL, you can allow your users to open a URL in a click of a button. This will open a desired action either on a new window, on the existing window itself or on a new tab.

Here is an example that shows how you can invoke a URL using a custom button.

Visit Company profiles of Leads in CRM: You can include a custom field in your contacts module, where your subscribers can specify the Company Name. By creating a URL that is associated with a particular company, they can directly go to the account's company profile by just clicking the custom button (This custom button can be placed while creating, cloning or viewing a record based on your requirements). For example: The link can be: http://techcrunch.com/topic/company/${Accounts.Company}

Note
  1. The content of the URL can be dynamic and you can merge the URL with module fields. In case of List view, the merge fields should be comma separated.
To invoke a URL in a click of a button
  1. Create a custom button and choose your button action as Invoking a URL from the drop-down list.

  2. Enter the value to construct the URL.s
    The URL length should not exceed 3000 characters.
  3. Select the Fields from the drop-down list. This will insert the field variable as part of the URL. 

  4. Choose where you want to show the button action.
  5. Select the profile to which the custom button needs to be accessible.
  6. Click Save.

Edit Custom Button

You can edit the existing custom buttons whenever required.
To edit a custom button
  1. In your application's homepage, click Customize in the left pane and select Buttons tab at the top of the page.
    In the Buttons page, all the existing custom buttons will be listed.
  2. Choose the required button that you want to edit and click the Edit icon.
  3. In the Edit Your Button page, edit the button name, button action, etc. as per your requirements.
 

Delete Custom Button

You can delete the custom button anytime.
To delete a custom button
  1. In your application's homepage, click Customize in the left pane and select Buttons tab at the top of the page.
    In the Buttons page, all the existing custom buttons will be listed.
  2. Choose the required button that you want to delete and click the Delete icon.

    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

                                                                                                          • Custom Buttons and Links

                                                                                                            The guide will help you with the following: Create a custom button Define button action  Invoke a URL  Writing a custom function  Edit a custom button  Delete a custom button  Add a link  Delete a link  ​Based on the specifics of your industry and ...
                                                                                                          • Customization - Creating Custom Fields

                                                                                                            This guide will help you with the following: Custom Fields Custom Field Limits Add Custom Fields Edit Custom Fields Delete Custom Fields Create Currency Fields Add Pick List Values Add Multi-Select Pick List Values Create Lookup Field Create Auto ...
                                                                                                          • Customization - Working with Custom Modules

                                                                                                            This guide will help you with: Add Custom Modules  Edit Custom Modules  Link Custom Modules With Other Modules  Manage Modules  Delete Custom Modules  Zoho Developer offers more than 10 standard modules for Sales, Marketing, Customer Support and ...
                                                                                                          • Customization - Adding Custom Related Lists

                                                                                                            This guide will help you with the following: Add Custom Related Lists Create Custom Functions  Example  Edit Custom Related Lists   Delete Custom Related Lists  Each record created by your subscribers in your vertical CRM has the option to associate ...
                                                                                                          • Customization - Using Subforms

                                                                                                            This guide will help you with the following: Create a Subform Associate fields from a lookup module Add an aggregate field Manage Field Properties Edit a Subform Delete a Subform View Field Limits Use Subform data in Reports A Subform is an effective ...
                                                                                                            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