Web Item Target

Defines the way a web item link is opened in the browser, such as in a modal or inline dialog.

Inline Dialog Example

1
2
3
4
5
6
7
8
9
10
11
{
  "target": {
    "type": "inlinedialog",
    "options": {
      "onHover": true,
      "offsetX": "30px",
      "offsetY": "20px"
    }
  }
}

Dialog Example

1
2
3
4
5
6
7
8
9
10
{
  "target": {
    "type": "dialog",
    "options": {
      "height": "100px",
      "width": "200px"
    }
  }
}

Common Dialog Module Example

1
2
3
4
5
6
7
8
9
{
  "target": {
    "type": "dialogmodule",
    "options": {
      "key": "dialog-module-key"
    }
  }
}

More details for this use-case can be found on the Dialog Module page.

Properties

options
Type
Description

An object containing options which vary based on the type of web item target you are implementing.

Currently-allowed options are:


type
Type
Defaults to
page
Allowed values
  • page
  • PAGE
  • dialog
  • DIALOG
  • inlinedialog
  • INLINEDIALOG
  • dialogmodule
  • DIALOGMODULE
Description

Defines how the web-item content should be loaded by the page. By default, the web-item is loaded in the same page. The target can be set to open the web-item url as a modal dialog or an inline dialog.


Rate this page: