Use XSL Templates to Transform Action Responses

You can transform the action responses returned by Yammer Connector using XSL templates. You must write your own XSL templates and save them with either an .xsl or .tmpl file extension.

After creating the templates, you must configure Yammer Connector to use them, and then apply them to the relevant actions.

To enable XSL transformations

  1. Ensure that the autnxslt library is located in the same directory as your configuration file. If the library is not included in your installation, you can obtain it from HPE Support.
  2. Open the Yammer Connector configuration file in a text editor.
  3. In the [Server] section, ensure that the XSLTemplates parameter is set to true.

    Caution: If XSLTemplates is set to true and the autnxslt library is not present in the same directory as the configuration file, the server will not start.

  4. (Optional) In the [Paths] section, set the TemplateDirectory parameter to the path to the directory that contains your XSL templates. The default directory is acitemplates.
  5. Save and close the configuration file.
  6. Restart Yammer Connector for your changes to take effect.

To apply a template to action output

Example XSL Templates

Yammer Connector includes the following sample XSL templates, in the acitemplates folder:

XSL Template Description
LuaDebug Transforms the output from the LuaDebug action, to assist with debugging Lua scripts.