Skip to main content

Celonis Product Documentation

iFrame
Overview

Placement

View

or

Profile View

Required KM objects

--

Introduction to iFrame

Use the Attribute component on (Profile) Views to embed external websites or PDFs. Important here is that not all websites can be embedded because some disallow it like www.google.com.

41196733.png
Basic configuration

Please find below an example on the most basic configuration of an "iFrame" component:

Attribute

Required

Type

Description

src

true

URL

Defines the URL of the website or document (e.g. PDF) which gets embedded.

Important

Some websites like e.g. Google don't allow to be iframed. In case your iframed website doesn't show up, please reach out to the website admin.

Info

optimised for component editor

View

id: iframe
type: iframe
settings:
  src: https://www.celonis.com 
Advanced configuration

Please find below some more advanced configuration options for the iframe to unveil the full power.

Attribute

Required

Type

Possible values

Default Value

Description

height

false

String

-

-

Defines the height in pixel or percentage of the iframe.

width

false

String

-

-

Defines the width in pixel or percentage of the iframe.

placeholders

false

-

-

-

Defines placeholders that get retrieved from the KM and can be used in the src attribute. This can be useful if you want to embed an iframe on a Profile View.

field

false

Record.Attribute or KPI

-

-

References a KM object.

id

false

String

Defines the identifier of the placeholder, in case it needs to be overwritten in an extension.

Info

optimised for component editor

View

id: iframe
type: iframe
settings:
  src: https://www.celonis.com/{0}/{1}.pdf #{0} injects the parameters into the URL. 
  height: 300px 
  width: 100% 
  placeholders: 
        - field: INVOICE.PATH0 
          id: 100
    - field: INVOICE.PATH1 
          id: 200