Public URL's... Save yourself some headache..

Public URL's... Save yourself some headache..

Zoho Creator's public URL string system is many things..

1. Wonderful Feature for quickly sharing views
2. Consistent and stable (the same string is generated and used for a single view's different data types; hash,perma,html,xsl,json, etc)

3. It's a pain to build private but quasi-public facing applications! 

I've written many public URL manager functions  (holding all your public string URL's in a static map variable an then referencing them that way). 

One thing I came across when doing some work with a JSON view is that the public string HAS A PARAM KEY NAME!

It's privateLink=

This means that instead of using the normal http://creator.zoho.com/owner/appname/view-perma/view/public_string

You can now use

http://creator.zoho.com/owner/appname/view-perma/view/?param1=value1&param2=value2&privateLink=public_string

Why does this matter? 

YOU CAN USE THIS PARAM IN YOUR HTML VIEW!

You can actually pass this param to a view and save it's value to your html view! This means that daisy chaining links
with the correct public string is much easier!