1. Handlebars Helpers
  2. Stub URL

Handlebars Helpers

Stub URL

Returns a URL that links directly to the stub on Stubber

NOTE

Use the Stub Link helper to return a full anchor tag with the Stub URL.

Uses

  • Use to create a link directly to the stub on Stubber
  • Uses a short URL to link to the stub

Usage

Helper name : stuburl

Parameter Description
1 The stubref to create the URL for
2 The LID data to pass into the stub (optional)
3 The action name to open the specific action (optional)
4 The stub block to open only the certain stub block (optional)

eg. {{#stuburl [stubref] [lid] [action_name] [stub_block]}{{/stuburl}}

Examples

Encrypt personal identity information

Example definition:

loading...

Substituted definition

loading...

Advanced usage

You can optionally add these extra arguments

  • LID: Learn more
  • Action name: to open the specific action
  • Stub block: to open only the certain stub block

Example definition:

loading...

Substituted definition

loading...