Plugin JavaScript Function showFileLink()

function module_class_name.showFileLink(
requests
)

Summary

This generates a link to your showFile() method.

Where You Can Use It

Anywhere in your JavaScript code in the front-end. From Zenario 7.0.6 onwards.

Parameters

requests

Either a request string, or an object with the requests as keys/values.

Return Value

A URL to call your showFile() method with the provided requests.

Example

plugin_class_name.showFile({id: 17});