WoodWing Help Center

Elvis 4 action plug-ins setting - userInterface

Elvis 4 action plug-ins setting - userInterface

(4) Required setting

Controls where the plugin's url is opened:

  • in a tab,
  • in a dialog
  • in an external web browser.
<action>
    <userInterface>...</userInterface>
</action>

Tab - <tab/>

Open the url in a tab.

The URL opened in a tab.

Dialog - <dialog/>

Open the url in a dialog.

Parameters

width

Dialog width in pixels.

Optional. Default is 800.

height

Dialog height in pixels.

Optional. Default is 600.

The URL opened in a dialog.

External browser - <externalBrowser/>

Open the url in the system's default (external) browser.

Parameters

loadInIframe

Defines if the URL is opened in an iframe.

Set to true when the URL is a HTML page, in this case the URL is loaded in an iframe which consumes the complete browser window. The elvisContext is available via JavaScript, via parent.elvisContext.

Set to false, or do not specify when the URL is a server side page (JSP, PHP, ASP, etc). The elvisContext is available as POST variable, formatted in JSON.

Optional. Default is "false".

The URL opened in a browser

Examples

Open a tab

<userInterface>
    <tab/>
<userInterface>

Open a dialog with default dimensions

<userInterface>
    <dialog/>
<userInterface>

Open a dialog with a custom width and height

<userInterface>
    <dialog width="500" height="400"/>
<userInterface>

Open an external browser with default settings

<userInterface>
    <externalBrowser/>
<userInterface>

Open an external browser and load the URL in an iframe

<userInterface>
    <externalBrowser loadInIframe="true"/>
<userInterface>
Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.