Extension pointers - Simple yet significant pointers #13: On change of field value for CRM variables
CRM variables provide global access to a variable across an entire extension. They also help in the storage of user-specific data provided by the user at the time of installation, which can later be fetched to perform data functionalities.
Additionally, the Zoho CRM Developer platform lets you perform logicaI functions whenever the value of a CRM variable changes. If you want to perform a function when the value of your CRM variable changes, you can use the CRM variable's field value on change script to achieve your desired functionality.
How to perform a function on field value change of CRM variable
- Choose Custom Properties from the left panel of the Zoho Developer console, under Build. Click Write Script associated and available next to your CRM variable.
- Write the code logic in the custom function Deluge script editor and click Save. You can fetch the old and new value of CRM variable and perform the functionality using that in the function.
➤ The syntax for getting the old value of the custom variable is:
<oldvalue> = input.variableMap.get("oldvalue");
|
➤ The syntax for getting the new value of the custom variable is:
<newvalue> = input.variableMap.get("newvalue");
|
- When the extension is published and installed in the Zoho CRM account, whenever the value of the CRM variable changes, the script of field value change is triggered and its functionality occurs.
SEE ALSO
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Sticky Posts
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
Extension pointers for integrating Zoho CRM with Zoho products #8: Upload and manage Zoho Workdrive folders and files from within Zoho CRM
Keeping records on your customers and business prospects is essential for tracking data, conducting follow-ups, and running a business smoothly. When you use two separate applications, and store relevant data in each, checking and tracking data becomes
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.
Extension pointers #13: Handle cases with personalized solutions using custom actions
In our last post, we detailed the steps involved in creating a custom action and the workflow from the developer and end user's side. Now let's look at a working example of how we can create a custom action and implement it in a Zoho CRM account to make
Extension pointers - Simple yet significant pointers #13: On change of field value for CRM variables
CRM variables provide global access to a variable across an entire extension. They also help in the storage of user-specific data provided by the user at the time of installation, which can later be fetched to perform data functionalities. Additionally,
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.