In the topic Zoho Creator URL Patterns we learned about the default URLs to access a Zoho Creator application and its forms, reports and pages. In this topic, we will learn about the functionality based URLs to set default values for form fields, edit individual records by passing record-ID in the URL, set criteria for and print reports and pages.
All URL formats will use the following:
<base_url> | the base URL of your Creator account For example, its creatorapp.zoho.com if your account belongs to Zoho's US DC, and is app.zohocreator.eu if it belongs to Zoho's EU DC. |
<account_owner_name> | is the username of owner of the Creator account in which the application exists |
<app_link_name> | is the link name of the Zoho Creator application |
<form_link_name> | is the link Name of the component - form, report, or page, respectively |
You can also access the components (forms, reports and pages) in your Zoho Creator application using their permalinks. As the word suggests, a permalink is a permanent link; it refers to the URL of a particular webpage (a form, report or page, here).
The format of permalinks of your app's components are as given below:
Permalink of forms | You may embed your form in your website, blog, etc. by using the below given format, |
Permalink of reports | You may embed your report in your website, blog, etc. by using the below given format, |
Permalink of pages | You may embed your page in your website, blog, etc. by using the below given format, |
The default values for Form Fields can be set by passing additional parameters in the Form's URL. For example, to automatically load a value for the Field Employee ID in the Employee Manager Application, the default value is passed as query string (Employee_ID=1234) in the Form's URL, where Employee_ID is the Deluge script name of the Field in the Employee Form.
The Form's URL with query string will be in the below formats:
For the multi select and checkbox fields, there can be the need to set multiple values. For this, the values must be comma-separated in the URL. For example, if the values "Manager" and "Programmer" are to be set for the field Roles in the Employee Form, the URL will be: https://creatorapp.zoho.com/zchelp/employee-manager/#Form:Employee?Roles=Manager,Programmer
You may note that when you access your form in your Zoho Creator application, the focus gets set on the first Field of the Form, i.e., the cursor appears on the first Field of the Form.
Assume that you have a website or blog, in which you have embedded your form. When your webpage is accessed, this default auto-focus behavior will scroll your webpage to where your form is placed. This may hinder a user's experience as the content present above the embedded form gets skipped. To handle this, Zoho Creator provides the zc_Focus parameter.
Value for zc_Focus | Intended behavior |
true |
|
false |
|
The URL to view and edit individual records using their record-ID is given below. This will display the Zoho Creator Form in Edit mode.
Refer to the topic Editing Records via Record ID for more information.
You can filter the data displayed by a report by setting the filter criteria as querystring in its URL. Filtering using multiple criteria is supported — use an ampersand character (&) to separate two field-value pairs. Below are examples of filtering the Employee Manager application's Employee View report. This report's URL:
https://creatorapp.zoho.com/zchelp/employee-manager/#Report:Employee_View
where, FieldName1 and FieldName2 are the link names of the fields in the form
Examples:
where,
Fieldname1 | is the link name of the Field in your Form |
Fieldname1_op | is the parameter that links the Fields and Operators |
constant | is the value that refers to the operator that will act on the respective fields. Refer to this table to view the list of all Operators and their Constants. |
Examples:
For example, the URL to have this report display only those employee records where the employee is in some administrative role, is as follows. In this application, Role is a checkbox field and 26 is the constant that identifies the CONTAINS operator.
https://creatorapp.zoho.com/zchelp/employee-manager/#Report:Employee_View?Roles=Admin&Roles_op=26
where, StartingValue and EndingValue can be a number, decimal value, or date
Example: The URL to have this report display only those employee records where the date of joining is between 10-Sep-2019 and 30-Mar-2020, is as follows. The Date of Joining field in this application is of type date and 58 is the constant that identifies the BETWEEN operator.
https://creatorapp.zoho.com/zchelp/employee-manager/#Report:Employee_View?Date_of_Joining=10-Sep-2019;30-Mar-2020&Date_of_Joining_op=58
Operator | Constant |
EQUAL | 18 |
NOT_EQUAL | 19 |
LESS_THAN | 20 |
GREATER_THAN | 21 |
LESS_EQUAL | 22 |
GREATER_EQUAL | 23 |
STARTS_WITH | 24 |
ENDS_WITH | 25 |
CONTAINS | 26 |
NOT_CONTAINS | 27 |
LIKE | 28 |
EMPTY | 29 |
NOT_EMPTY | 30 |
YESTERDAY | 31 |
TODAY | 32 |
TOMORROW | 33 |
LAST_7_DAYS | 34 |
LAST_30_DAYS | 35 |
LAST_60_DAYS | 36 |
LAST_90_DAYS | 37 |
LAST_120_DAYS | 38 |
NEXT_7_DAYS | 39 |
NEXT_30_DAYS | 40 |
NEXT_60_DAYS | 41 |
NEXT_90_DAYS | 42 |
NEXT_120_DAYS | 43 |
LAST_MONTH | 44 |
THIS_MONTH | 45 |
NEXT_MONTH | 46 |
CURR_PREV_MONTH | 47 |
CURR_NEXT_MONTH | 48 |
TRUE | 49 |
FALSE | 50 |
LAST_YEAR | 51 |
CURRENT_YEAR | 52 |
NEXT_YEAR | 53 |
PREVIOUS_2_YEAR | 54 |
NEXT_2_YEAR | 55 |
CURRENT_PREVIOUS_YEAR | 56 |
CURRENT_NEXT_YEAR | 57 |
BETWEEN | 58 |
THIS_WEEK | 59 |
LAST_WEEK | 60 |
NEXT_WEEK | 61 |
CURRENT_PREVIOUS_WEEK | 62 |
CURRENT_NEXT_WEEK | 63 |
LAST_N_DAYS | 64 |
NEXT_N_DAYS | 65 |
LAST_N_WEEK | 66 |
NEXT_N_WEEK | 67 |
LAST_N_MONTH | 68 |
NEXT_N_MONTH | 69 |
LAST_N_YEAR | 70 |
NEXT_N_YEAR | 71 |
IN | 72 |
Example: https://creatorapp.zoho.com/zchelp/employee-manager/print/Employee_View
Example: The URL to print Employee records belonging to the "Engineering" Department is,
https://creatorapp.zoho.com/zchelp/employee-manager/print/Employee_View?Department=Engineering
FieldName1 & FieldName2 | are the Deluge script names for the Fields in the Form |
FieldName1_op & FieldName2_op | are parameter names for the Operator ("FieldName" appended with "_op") |
constant | is the value assigned for each Operator. Refer this table to view the list of all Operators and their Constants |
Example: The URL to print records with Employee ID GREATER_THAN 1235,
https://creatorapp.zoho.com/zchelp/employee-manager/print/Employee_View?Employee_ID=1235&Employee_ID_op=21
where, <StartingValue> and <EndingValue> can be any number, decimal or date.
Example: The URL to print records with Date_of_Joining between any two dates is given below. Here, Date_of_Joining is a Date Field.
https://creatorapp.zoho.com/zchelp/employee-manager/print/Employee_View?Date_of_Joining=18-Jan-2006;30-Apr-2007&Date_of_Joining_op=58
Example: Consider a sales management application, where a user has the invoice data and wants to import that data to the invoices report. The user can do it in a conventional way, or you can let user to import data directly with one click by attaching the URL as a button panel in the application page. When the user clicks the button, he will be directed to the import interface and by selecting the invoice file, data will be imported to the specified report.
https://creatorapp.zoho.com/zchelp/sales-management/report/invoices/import
Pages can also accept URL parameters. You may access the below given URL as an example (parameter emp is being passed a value).
The URL format to print a Page with parameter is given below,
where,
paramName | is the name of the parameter defined in the Page |
paramValue | is the value passed to the parameter that is defined in the Page |
Example: The URL to print a Page named "TestHTML" with paramName "dept" and paramValue as "Engineering" is given below. Here, the paramName "dept" is the name of the parameter defined in the Page to fetch records with the specified paramValue.
https://creatorapp.zoho.com/zchelp/employee-manager/print/TestHTML?dept=Engineering
For example https://creatorapp.zoho.com/export/sampleapps/customer-support/pdf/More_Details_Html_View?ticketID=104
where ticketID is the name of the parameter defined in the Page
You can add the following parameters to customize certain aspects of the output PDF:
Parameter | Values | Default value | Purpose |
zc_FileName | (as required) | The page's display name | To set the name of the output PDF file. For example: https://creatorapp.zoho.com/export/sampleapps/customer-support/pdf/Most_Recent_Solution?zc_FileName=DownloadReport |
zc_PdfOrientation | portrait, landscape | portrait | To set the orientation in which the page's contents will be exported. For example: https://creatorapp.zoho.com/export/sampleapps/customer-support/pdf/Most_Recent_Solution?zc_PdfOrientation=landscape |
zc_PdfSize | Letter, A4, Legal, Executive | Letter | To set the page size of the output PDF file. For example: https://creatorapp.zoho.com/export/sampleapps/customer-support/pdf/Most_Recent_Solution?zc_PdfSize=A4 |
zc_PdfHeight | 20 to 5600 | A4 height i.e. 297mm/1122px | To set the height of the output PDF file. For example: https://creatorapp.zoho.com/export/sampleapps/customer-support/pdf/Most_Recent_Solution?zc_PdfHeight=1000 |
zc_PdfWidth | 20 to 5600 | A4 width i.e. 210mm/793px | To set the width of the output PDF file. For example: https://creatorapp.zoho.com/export/sampleapps/customer-support/pdf/Most_Recent_Solution?zc_PdfWidth=700 |
zc_PageNumber | true, false | false | To number the pages of the output PDF file. For example: https://creatorapp.zoho.com/export/sampleapps/customer-support/pdf/Most_Recent_Solution?zc_PageNumber=true |
Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.
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.
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.