Update Datalinks - Zoho Show
Note:
- This task is applicable to all services except Zoho Creator.
- Each time the zoho.show.updateDataLinks integration task is executed, it triggers an API request in the back-end. This call is deducted from the external calls limit available for the service from which the task is executed, based on your pricing plan.
- Only actual executions that receive a response (whether success or failure) are counted, not the number of times the task appears in the script. For example, if zoho.show.updateDataLinks integration task is placed inside a for each task that iterates five times, the number of external calls consumed will be five, even though the task appears only once in the script.
Overview
This task is used to update one or more data link values in a presentation.
Syntax
<response> = zoho.show.updateDataLinks(<rid>, <dataFieldsList> <connection>);
Scope
ZohoShow.showedit.UPDATE
Parameter
| Parameter | Description | Data type |
| <response> | Variable that holds update status | KEY-VALUE |
| <rid> | ID of the presentation Note:
https://show.zoho.in/show/open/{rid} | TEXT |
| <dataFieldsList> | List of data link IDs and their new values | LIST |
| <connection> | Name of the Zoho Show connection | CONNECTION |
Example
The following script updates multiple data links in a presentation
rid = "xfXXXXXX"; field1 = Map(); field1.put("dataFieldId","C1XXX-XXX-XXX-XXX-XXX"); field1.put("dataFieldValue","Nivesha"); field2 = Map(); field2.put("dataFieldId","28XXX-XXX-XXX-XXX-XXX"); field2.put("dataFieldValue","1234"); dataFieldsList = List(); dataFieldsList.add(field1); dataFieldsList.add(field2); response = zoho.show.updateDataLinks(rid,dataFieldsList,"zoho_show_connection");
where:
xfXXXXXX
This is the presentation ID.
field1,field2
Key value that holds the ID and the value of the Data Field ID.
dataFieldsList
List of Data Fields that has to be updated
zoho_show_connection
This is the text that represents the name of the connection link.
Response
{
"Updated datafields": "{"C1XXX-XXX-XXX-XXX-XXX":"Nivesha","28XXX-XXX-XXX-XXX-XXX":"1234"}",
"status": "success" }
"Updated datafields": "{"C1XXX-XXX-XXX-XXX-XXX":"Nivesha","28XXX-XXX-XXX-XXX-XXX":"1234"}",
"status": "success" }