Set Organization Variable

Set Organization Variable

This guide will help you with the following:
      1. Syntax
      2. Example
      3. Response Format

You can set the value of a custom variable (Custom Properties in Extension and Org Settings in Vertical Solution) using the zoho.crm.invokeConnector() deluge task.

Syntax

  1. <Response> = zoho.crm.invokeConnector("crm.set", <valueMap Map>);
where,
  1. <Response> is the task response returned as a Map. It will have details of the success or failure of updation.
  2. <valueMap Map> The map containing the key, value pair denoting the API name of the custom variable to be updated, and the value with which the custom variable should be updated. You can find the information about the API name of the custom variable in the following places:
    In a Vertical solution: Click Company Settings in the left pane and click Org Settings.
    In an Extension: Click Custom Properties in the left pane.

Example

Update the value of a custom variable Score with value 50.
  1. valueMap = Map();
  2. valueMap.put("apiname","Score");
  3. valueMap.put("value",50);
  4. resp = zoho.crm.invokeConnector("crm.set",valueMap);
  5. info resp;

Response Format

  1. {"status_code":"200","response":"{\"Score\":\"50\",\"message\":\"New value updated successfully.\"}"}

    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

                                                                                                      • Get Organization Variable

                                                                                                        This guide will help you with the following:       1. Syntax       2. Example       3. Response Format You can fetch the value of a custom variable (Custom Properties in Extension and Org Settings in Vertical Solution) using ...
                                                                                                      • Data Access - Collection variable

                                                                                                        This guide will help you with the following: Overview Declaring a collection variable Aggregate functions Fetch field value from the first record Fetch values of a field from all the records in a collection Updating field value in a collection ...
                                                                                                      • Set Charset

                                                                                                        Overview The setCharset task is used to set a Charset to a file object. The file will be encoded with the specified Charset while sending in a HTTP request using invoke URL task. Syntax <file_variable>.setCharSet(<charset>); where: Example The ...
                                                                                                      • Set File Name

                                                                                                        Description The setFileName task is used to set the specified name for a file object. Syntax <file_variable>.setFileName(<name>); where: Example The following example sets the name - sampleFile for the file fetched from the web:  response = invokeUrl ...
                                                                                                      • Set File Type

                                                                                                        Description The setFileType task is used to set the specified file type to a file object. The file will be treated as the specified type while sending an HTTP request using the invoke URL task. Note: If the actual file type and the assigned file type ...
                                                                                                        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