Update Datalinks - Zoho Show

Note: This task is applicable to all services except Zoho Creator.

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

ParameterDescriptionData type
<response>Variable that holds update statusKEY-VALUE
<rid>

ID of the presentation

Note:

  • You can get the presentation ID (rid) directly from the presentation URL.
  • The URL of a Zoho Show presentation will be in the following format:

https://show.zoho.in/show/open/{rid}

TEXT
<dataFieldsList>List of data link IDs and their new valuesLIST
<connection>Name of the Zoho Show connectionCONNECTION

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" }