Get Embed Links - Zoho Show

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

Overview

This task is used to fetch embed links present in the slides of a presentation.

Syntax

<response> = zoho.show.getEmbedLinks(<rid>, <from>, <limit>, <connection>);

Scope

ZohoShow.showdocinfo.READ

Parameter

ParameterDescriptionData type
<response>Variable that holds embed link detailsKEY-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
<from>Starting index of slideNUMBER
<limit>Number of slides to retrieveNUMBER
<connection>Name of the Zoho Show connectionCONNECTION

Example

The following script fetches embed links in a presentation. In this example it fetches embed links from the first 20 slides.

rid = "xfXXXXXX";
from = 1;
limit = 20;
response = zoho.show.getEmbedLinks(rid,from,limit,"zoho_show_connection");

where:

xfXXXXXX
This is the presentation ID.
zoho_show_connection
This is the text that represents the name of the connection link.

Response

{
  "slides": [
    {
      "slideId": "90XXX-XXX-XXX-XXX-XXX",
      "embeds": [
        {
          "embedUrl": "https://analytics.zoho.com/slideshow-view/318*****/31804*****/90********?frameorigin=https://show.zoho.com,https://show.zohopublic.com",
          "embedShapeId": "7FXXX-XXX-XXX-XXX-XXX"
        }
      ]
    }
  ],
  "totalSlides": 4
}