Ways to Hide the Passing of Variables by URL Strings

Ways to Hide the Passing of Variables by URL Strings

I was recently working with a client on a rather complex search form for his ZC database. Rather than create multiple views with filters, the client wanted a single form that would create these views on the fly. This is mostly possible with functionality-based URL strings, but there issues with this as detailed below
  1. are no provisions to make "group-by" views
  2. there are limitations to the Boolean operations in the url strings: for example with view criteria you can do much more
  3. the strings can become very long, complicating programming and possibly hitting built-in limits
  4. the url strings are shown in the browser
    • it just looks sloppy
    • it exposes some of the code logic
    • it enables users to experiment with criteria changes in the browser, potentially exposing data he should not see
I'm suggesting new aspects when using openUrl in deluge.

      1. Offer a box to click to obfuscate the url string: In other words, the url would just appear in the browser as the application/view/form url. Server-side processing of the actual url is performed to deliver the customized view.

      2. Offer a space to add code, much like we do with view criteria, to filter a url's view.

Items one and two are mutually exclusive and only work from withing the application context. Item 1 a feature that could be added to all openUrl's currently used in ZC code. I cannot think of any instance where complicated url strings are necessary to display in the browser window - maybe with the exception of iCal feeds. Item 2 can only work with views of data and may have to be a new deluge command, like openCriteriaUrl.

I'm also suggesting new aspects outside the application context. For example, if you email someone a link to a view (or form), it will necessarily display ugly url strings with criteria. There's only two ways to deal with this

      3. Set-up a list with code numbers in one column and the intended url string in another such that the email's url looks something like creator.zoho.com/admin/mydata/My_View/_zcParams=1357983 where code 1357983 would then present the user with a view (where the url criteria is hidden)

      4. Upon clicking a criteria-laden url in an email (or website), ZC would immediately employ Item 1 above, essentially reloading the page with the criteria hidden. 

Cheers,
John Whitney

    Access your files securely from anywhere







                            Zoho Developer Community





                                                  Use cases

                                                  Make the most of Zoho Desk with the use cases.

                                                   
                                                    

                                                  eBooks

                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho Desk.

                                                   
                                                    

                                                  Videos

                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho Desk.

                                                   
                                                    

                                                  Webinar

                                                  Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                   
                                                    
                                                  • Desk Community Learning Series


                                                  • Meetups


                                                  • Ask the Experts


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner






                                                            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 Writer

                                                                                              Get Started. Write Away!

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

                                                                                                Zoho CRM コンテンツ








                                                                                                  Nederlandse Hulpbronnen


                                                                                                      ご検討中の方