Zoho Extension
Vendor
MindTouch
Type Script
Categories Documents
Requires MindTouch Deki 1.8.3 or later
Status Stable
License Free/Open Source
Manifest http://scripts.mindtouch.com/zoho.xml

 

Table of Contents

Description

This extension contains functions for embedding Zoho applications.

See also How to add a script, Using the Extension Dialog, Learn about DekiScript, Extensions Directory.


Functions

zoho.creator(user, form, view) : xml

Embed a Zoho Creator form.

Parameters:

NameTypeDescription
userstrZoho account username.
formstrForm of data that you want to embed.
viewstrView of data that you want to embed.


zoho.meeting(user, key, width, height) : xml

Embed a Zoho meeting overview.

Parameters:

NameTypeDescription
userstrZoho account username.
keystrKey of meeting that you want to embed. (remove spaces in meeting key)
widthnum(optional) Width of viewer. (default: 425px)
heightnum(optional) Height of viewer. (default: 425px)


Script Source

<extension>
  <title>Zoho Extension</title>
  <label>Zoho</label>
  <description>This extension contains functions for embedding Zoho applications.</description>
  <copyright>Copyright (c) 2006-2009 MindTouch, Inc.</copyright>
  <uri.help>http://wiki.developer.mindtouch.com/MindTouch_Deki/Extensions/Zoho</uri.help>
  <uri.logo>http://scripts.mindtouch.com/logos/zoho.png</uri.logo>
  <namespace>zoho</namespace>

  <function>
    <name>creator</name>
    <description>Embed a Zoho Creator form.</description>
    <param name="user" type="str">Zoho account username.</param>
    <param name="form" type="str">Form of data that you want to embed.</param>
    <param name="view" type="str">View of data that you want to embed.</param>
    <return>
      <html xmlns:eval="http://mindtouch.com/2007/dekiscript">
        <body>
          <iframe height='500px' width='100%' frameborder='0' scrolling='auto' eval:src="'http://creator.zoho.com/'.. uri.encode(args.user) .. '/'.. uri.encode(args.form) .. '/view-embed/'.. uri.encode(args.view) .. '/'"/>
        </body>
        <tail>
        </tail>
      </html>
    </return>
  </function>

  <function>
    <name>meeting</name>
    <description>Embed a Zoho meeting overview.</description>
    <param name="user" type="str">Zoho account username.</param>
    <param name="key" type="str">Key of meeting that you want to embed. (remove spaces in meeting key)</param>
    <param name="width" type="num" optional="true">Width of viewer. (default: 425px)</param>
    <param name="height" type="num" optional="true">Height of viewer. (default: 425px)</param>
    <return>
      <html xmlns:eval="http://mindtouch.com/2007/dekiscript">
        <body>
          <iframe eval:width="web.size(args.width ?? 425)" eval:height="web.size(args.height ?? 425)"  eval:src="'http://meeting.zoho.com/login/embedzohomeeting.jsp?userName='.. uri.encode(args.user) .. '&amp;meetingKey='.. uri.encode(args.key) .. '&amp;newWindow=false'" frameborder="0"/>
        </body>
        <tail>
        </tail>
      </html>
    </return>
  </function>
</extension>

 

Tag page
You must login to post a comment.