Enhancements to Client script?

Enhancements to Client script?

Hi Zoho CRM,

I've been extensively using Client Scripts to enhance our Deal form experience, particularly for real time validations and auto updating fields based on specific logic. However, I've encountered a challenge regarding permission boundaries.

Example: Segmenting customers by their Annual Revenue, and I'm attempting to auto update a picklist field named "Segment" directly on the edit page using a Client Script. The issue arises because the user editing the record has read only access to the "Segment" field. This read only permission seems to completely inhibit the script's functionality; it doesn't throw an error but simply fails to execute the update.

I fully understand the importance of permission boundaries. However, in this specific instance, the business logic dictates an internal system update, not a user initiated change. Despite this, the script operates within the user's restricted context, which significantly limits its utility in enterprise workflows.

Therefore, I'd like to propose a feature request to enhance Client Script capabilities:
      1. Temporary Elevation of Context: Could Client Scripts be allowed to temporarily elevate their context to system/admin for specific operations, ideally with appropriate safeguards?
      2. Server Side Function Trigger: Alternatively, could Client Scripts be enabled to trigger a server side function (similar to how a blueprint or custom button does) to securely and scalably handle updates?
      3. Secure Update API: A third option could be an API, such as ZOHO.CRM.API.secureUpdateField(), that explicitly allows the script to update a field even if the user lacks direct edit permissions.

Currently, I'm using workarounds like hidden fields, mirror values, and post save workflows, which are functional but feel overly complex for what should be a straightforward automated rule.

It would be greatly beneficial if Client Scripts could have more robust capabilities, moving beyond just UI decoration to truly streamline complex business logic.

Thank you for your time and for developing tools that we appreciate pushing to their limits.

Cheers,
Tiru

    Access your files securely from anywhere









                          Zoho Developer Community




                                                • Desk Community Learning Series


                                                • Digest


                                                • Functions


                                                • Meetups


                                                • Kbase


                                                • Resources


                                                • Glossary


                                                • Desk Marketplace


                                                • MVP Corner


                                                • Word of the Day


                                                • Ask the Experts



                                                          • Sticky Posts

                                                          • Kaizen #217 - Actions APIs : Tasks

                                                            Welcome to another week of Kaizen! In last week's post we discussed Email Notifications APIs which act as the link between your Workflow automations and you. We have discussed how Zylker Cloud Services uses Email Notifications API in their custom dashboard.
                                                          • Kaizen #216 - Actions APIs : Email Notifications

                                                            Welcome to another week of Kaizen! For the last three weeks, we have been discussing Zylker's workflows. We successfully updated a dormant workflow, built a new one from the ground up and more. But our work is not finished—these automated processes are
                                                          • 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
                                                          • 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.
                                                          • Kaizen #210 - Answering your Questions | Event Management System using ZDK CLI

                                                            Hello Everyone, Welcome back to yet another post in the Kaizen Series! As you already may know, for the Kaizen #200 milestone, we asked for your feedback and many of you suggested topics for us to discuss. We have been writing on these topics over the


                                                          Manage your brands on social media



                                                                Zoho TeamInbox Resources



                                                                    Zoho CRM Plus Resources

                                                                      Zoho Books Resources


                                                                        Zoho Subscriptions Resources

                                                                          Zoho Projects Resources


                                                                            Zoho Sprints Resources


                                                                              Qntrl Resources


                                                                                Zoho Creator Resources



                                                                                    Zoho CRM Resources

                                                                                    • CRM Community Learning Series

                                                                                      CRM Community Learning Series


                                                                                    • Kaizen

                                                                                      Kaizen

                                                                                    • Functions

                                                                                      Functions

                                                                                    • Meetups

                                                                                      Meetups

                                                                                    • Kbase

                                                                                      Kbase

                                                                                    • Resources

                                                                                      Resources

                                                                                    • Digest

                                                                                      Digest

                                                                                    • CRM Marketplace

                                                                                      CRM Marketplace

                                                                                    • MVP Corner

                                                                                      MVP Corner







                                                                                        Design. Discuss. Deliver.

                                                                                        Create visually engaging stories with Zoho Show.

                                                                                        Get Started Now


                                                                                          Zoho Show Resources

                                                                                            Zoho Writer

                                                                                            Get Started. Write Away!

                                                                                            Writer is a powerful online word processor, designed for collaborative work.

                                                                                              Zoho CRM コンテンツ






                                                                                                Nederlandse Hulpbronnen


                                                                                                    ご検討中の方