Vendor MindTouch
Type Extension
Categories Advanced
Requires MindTouch 1.8.3 or later
OS Restriction None
Status Stable
License Free/Open Source
SID (service id) sid://mindtouch.com/2007/12/dapper
Assembly mindtouch.deki.services

 

Table of Contents

Description

This extension contains functions for embedding Dapps from Dapper.net.

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

Tutorial: Take advantage of the Dapper extension


dapp.html(name : str, xpath : str, input : uri, args : map) : any

Show a single HTML value from a Dapp.

Parameters:

Name Type Description
name str Name of Dapp to invoke
xpath str Optional. xpath to select value (default: first field in Dapp)
input uri Optional. Input uri (default: as defined by the Dapp)
args map Optional. Dapp arguments (default: none)

   


dapp.list(name : str, xpath : str, input : uri, args : map) : any

Collect values as a list from a Dapp.

Parameters:

Name Type Description
name str Name of Dapp to invoke
xpath str Optional. xpath for collecting values (default: all groups in Dapp)
input uri Optional. Input uri (default: as defined by the Dapp)
args map Optional. Dapp arguments (default: none)

   


dapp.run(name : str, xpath : str, input : uri, args : map, publish : str, subscribe : str) : xml

Run a Dapp and publish its results.

Parameters:

Name Type Description
name str Name of Dapp to invoke
xpath str Optional. xpath for collecting values (default: all groups in Dapp)
input uri Optional. Input uri (default: as defined by the Dapp)
args map Optional. Dapp arguments (default: none)
publish str Optional. Publish on channel (default: \"default\")
subscribe str Optional. Subscribe to channel (default: nil)

   


dapp.table(name : str, xpath : str, input : uri, args : map) : xml

Show results from a Dapp as a table.

Parameters:

Name Type Description
name str Name of Dapp to invoke
xpath str Optional. xpath for collecting values (default: all groups in Dapp)
input uri Optional. Input uri (default: as defined by the Dapp)
args map Optional. Dapp arguments (default: none)

   


dapp.value(name : str, xpath : str, input : uri, args : map) : any

Show a single value from a Dapp.

Parameters:

Name Type Description
name str Name of Dapp to invoke
xpath str Optional. xpath to select value (default: first field in Dapp)
input uri Optional. Input uri (default: as defined by the Dapp)
args map Optional. Dapp arguments (default: none)

   


dapp.xml(name : str, input : uri, args : map) : xml

Retrieve the XML for a Dapp. (This function requires Deki Wiki 8.05 or later)

Parameters:

Name Type Description
name str Name of Dapp to invoke
input uri Optional. Input uri (default: as defined by the Dapp)
args map Optional. Dapp arguments (default: none)

  


    

Tag page
You must login to post a comment.