Launching External Websites Using Flex Links
You can launch external websites or web-apps by adding flex links to the customizable panels (example: Overview, Profile Details, Stay Details) of the Profile, Reservation, Block and Event presentation pages and the Reservation Check in page.
Flex links can be either a static or dynamic URL.
-
Static URL — A static URL launches a web page where the URL is always the same value.
-
Dynamic URL — A dynamic URL is variable based on values from fields referenced in the link. A dynamic URL can be used to launch an external website or web application and pass OPERA Cloud values in the URL as path or parameter components. For example, you could configure the following dynamic flex link to append the guest’s membership number in the URL:
https://myreward.com/?MemberID=#{bindings.MembershipIdNo.inputValue}
The following properties are available for flex links:
Table 1-11 Flex Link Properties
| Property | Description |
|---|---|
|
Text |
Enter the text to appear as the window header. |
|
Destination |
The Expression field would
contain a string value such as: |
|
Disabled |
|
|
Displayed |
|
|
Launch URL Mode |
Defines how the Destination URL is launched:
|
|
Auto Launch Condition |
Enabled when Launch URL Mode = Pop-Up.
|
|
Automatic Page Refresh |
Select check box to enforce a refresh for OPERA Cloud page when the browser window, browser tab or pop-up window is closed. This is useful when the external website has updated OPERA Cloud via an integration. |
Supported Browser Events
| Event | Description | Parameters | Example | ||||||
|---|---|---|---|---|---|---|---|---|---|
|
KEEP_ALIVE_EVENT |
Keeps the ADF Session active by invoking a server event. Note that this should be called optimally as this can cause the browser to be chatty. Typically, implement a throttle pattern when invoking this event. The external application should invoke this to prevent OPERA Cloud time out and closing the application |
N/A |
|
||||||
|
SET_HEADER_EVENT |
Set the header used in the modal pop-up. |
|
|
||||||
|
SET_DIMENSION_EVENT |
Set the dimension of the pop-up (and iFrame) rendering the external application. The value needs to be a string of either "percentage" or "pixel" value. |
|
|
||||||
|
DO_RETURN_EVENT |
Close the OPERA Cloud pop-up and trigger a "Refresh" based on the check box set in the Page Composer "Automatic Page Refresh" |
N/A |
|
Related Topics
Parent topic: About Page Composer