Leopard Chat Client
  • Quick Start
  • Screenshots
  • Setup
    • Extension Helper
    • Context Variables
      • Greeting Message
      • Channel
      • User's Time Zone
      • Location Context Parameters
    • Build Variables
  • Content Styling
    • CSS Styles
    • Icons
    • Markdown & HTML
  • Components Simple Syntax
  • Components
    • Answer Borders
    • Audio Player
    • Auto Open Leopard with Link
    • Alerts
    • Buttons and Lists
    • Card
    • Response Icons
    • Date & Time Pickers
    • Emergency Button
    • Expensive Operations
    • Field Masks
    • Chat Field Types (Email, Password, Location, Upload)
    • Forms
      • Feedback Form
      • Custom Forms
        • Example Config
        • Postback Object
        • Button Object
        • Field Types
        • Style Object
        • Icons Object
        • Masks
        • Validation
    • Google Map
    • Help Text
    • HTML Modal
    • Hyperlinks
    • Images
      • Image
      • Image Carousel
    • Tables
      • Tables - Simple
      • Tables - Advanced
    • Theme Change
    • Toasts
    • Language Auto Switch
    • Minimize Chat after Delay
    • Multiple Components - Same Response
    • Modal Size & Positioning
    • Open Long Response in Modal
    • Print Icon
    • Prompt Trigger Polling
    • Splitting Answers - Chunks
    • Video Player
  • Administration Area
    • Solution Configuration
    • Demo Mode - iFrames & URLs
    • ASR and TTS
  • Integrations
    • Logging / Reporting
    • Social Authentication
    • Live Chat
  • Embedding / Production
Powered by GitBook
On this page
  • Main Site URL
  • Output Node URLs
  1. Administration Area

Demo Mode - iFrames & URLs

Leopard when configured in "demoMode" displayed a configured site in an iFrame behind the chat window. Teneo responses that have URLs will trigger a redirect within this iFrame.

PreviousSolution ConfigurationNextASR and TTS

Last updated 4 years ago

Main Site URL

When creating a new solution configuration in the Leopard's Admin Area you have the option of defining an IFRAME url.

If Leopard is served over a HTTPS url then you will want to make certain that both the Teneo Solution URL and the IFRAME url are both available over HTTPS

Some sites don't like to be Iframed. This is most likely caused by the website sending back headers to instruct your browser not to IFRAME the site. You can work around this by installing a X-Frame buster extension in your browser. There are plenty of extensions that help with this. Here's one I use:

Output Node URLs

You can use the Studio functionality on an output node to specify a URL along with the answer text. Leopard is always looking for the existence of these URLs in the response and if found will tell the iframe to load that URL.

You can specify both absolute URLs and relative ones. Relative URLs must be relative to the first IFRAME url using in the Leopard configuration for that solution.

Therefore is your original web page was:

Then the following relative path URL on an output node:

./another-folder/index.html

Will result in a redirect to:

https://chrome.google.com/webstore/detail/ignore-x-frame-headers/gleekbfjekiniecknbkamfmkohkpodhe
https://mysite.com/mysite/index.html
https://mysite.com/mysite/another-folder/index.html