Update Embed Link - Zoho Show
Note: This task is applicable to all services except Zoho Creator.
Overview
This task is used to update an embed URL in the specific slide of a presentation.
Syntax
<response> = zoho.show.updateEmbedUrl(<rid>, <slideId>, <embedShapeId>, <embedUrl>, <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 |
| <slideId> | ID of the slide containing the embed | TEXT |
| <embedShapeId> | ID of the embed shape | TEXT |
| <embedUrl> | New embed URL | TEXT |
| <connection> | Name of Zoho Show connection | CONNECTION |
Example
The following script updates an embed link in a specific slide of a presentation.
rid = "xfXXXXXX"; slideId = "C0XXX-XXX-XXX-XXX-XXX"; embedUrl = "https://www.zoho.com/embed/26XXXX?si=maXXX_sXXX"; embedShapeId = "D2XXX-XXX-XXX-XXX-XXX"; response = zoho.show.updateDataLinks(rid,slideId,embedShapeId,embedUrl,"zoho_show_connection");
where:
xfXXXXXX
This is the presentation ID.
C0XXX-XXX-XXX-XXX-XXX
ID of the slide containing embed
D2XXX-XXX-XXX-XXX-XXX
ID of the shape containing embed
zoho_show_connection
This is the text that represents the name of the connection link.
Response
{
"Updated embed url": "https://www.zoho.com/embed/26XXXX?si=maXXX_sXXX",
"status": "success"
}
"Updated embed url": "https://www.zoho.com/embed/26XXXX?si=maXXX_sXXX",
"status": "success"
}