SnapLogic

This extension requires a trial or active MindTouch Deki Enterprise license.

 

Embed data from SnapLogic pipelines.  Related Links: Extension Overview, DekiScript Overview, Extension Demos.

Assembly: mindtouch.snaplogic
SID: sid://mindtouch.com/ent/2008/09/snaplogic
License: Enterprise

This service requires Deki Wiki 8.08 or later.

To enable this extension, follow these steps:

  1. Go to Service management in the Control Panel of your wiki.
  2. Under Add Service, click on Local, and select type Extension.
  3. Enter a description and the extension SID: sid://mindtouch.com/ent/2008/09/snaplogic
  4. Add any additional configuration settings that are required by the extension (see below).
  5. Click on add service.

Configuration:

Before the SnapLogic extension can be used, it must be configured with the access information to the SnapLogic server.

Config Key Description
server SnapLogic server URI.
path-prefix Optional. Add prefix to 'path' arguments in function calls.
path-suffix Optional. Add suffix to 'path' arguments in function calls.

If you need to configure multiple servers for the same wiki, register this extension once for each server.  Use the following preference to specify a unique namespace value for each registration.  Invoke the service using this value instead of snaplogic.  For example, if you set namespace=sn, you would invoke the service with sn.json("...") instead of snaplogic.json("...").

Preference Description
namespace Specifies a custom namespace (default: access)

Functions:


SnapLogic.Json(path : str, args : map, ttl : num) : any

Query a SnapLogic pipeline and return the results in JSON format.

Parameters:

Name Type Description
path str Path to pipeline.
args map Optional. Query parameters. (default: none)
ttl num Optional. Caching duration in seconds. (range: 60 - 86400; default: 300)
Tag page
You must login to post a comment.
Powered by MindTouch Deki v.8.08.2