IFrame YAML Configuration Reference

You can define an IFrame client extension with a client-extension.yaml file.

Data Usage

This client-extension.yaml file defines an IFrame client extension:

able-iframe:
    name: Able IFrame
    type: iframe
    url: https://arnab-datta.github.io/counter-app

The required url property points to the HTML page to embed within the IFrame widget.

The example workspace includes a complete IFrame client extension.

YAML Properties

These properties are specific to IFrame client extensions:

NameData TypeDefault ValueDescription
friendlyURLMappingString The mapping of a friendly URL prefix to the specific IFrame widget.
portletCategoryNameString The menu category of the IFrame widget.
urlURL (Required) The complete URL to the HTML page to embed within the IFrame widget.
instanceableTrue/falsefalseWhether the IFrame widget can appear multiple times on a page.

See Frontend Client Extension Properties for properties common to all frontend client extensions.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy