
| Token | Description |
|---|---|
| displayName | Sets the display name of the component shown in the structure panel |
| src | URL or path of the content displayed in the IFrame |
| width | Defines width of the IFrame (pixels or percentages) |
| height | Defines height of the IFrame (pixels or percentages) |
| paddingClass | Configures spacing around the IFrame using CSS classes |
| events | Configures component events |
| ON_PAGE_LOAD (Events) | Triggered when IFrame content has finished loading |
| ON_INIT (Events) | Triggered when the IFrame component is initialized |
| ON_DESTROY (Events) | Triggered when the IFrame component is removed from the DOM |
| visibilityPolicySetId | Determines visibility of the component based on policy sets |
| displayConditions | Conditions for showing or hiding the IFrame |
| id | Unique identifier for programmatic access |
| dataTestId | Testing hook ID for automated testing |
| enableAsHotspot | Enables component as a guided tour hotspot |
| guidedTourHotSpotTitle | Title for guided tour hotspot (supports translations) |
| guidedTourHotSpotDescription | Description for guided tour hotspot (supports translations) |
(Configured in General Properties)
"Payment Gateway IFrame" allows for easy identification of the component's purpose in the application structure, making it easier for developers to locate and work with this specific IFrame. (Configured in Visual Properties)
"https://example.com/reports" will embed the reports page, while "${context.reportUrl}" would use a URL from the current context. This property is crucial as it determines what content will be displayed in the IFrame. 
(Configured in Visibility Properties)
(Configured in Visual Properties)
"800px" creates a fixed-width IFrame, while "100%" makes the IFrame expand to fill the width of its container. Setting the appropriate width ensures the embedded content is displayed correctly within your layout. "600px" creates a fixed-height IFrame, while "100%" makes the IFrame expand to fill the height of its container. Setting a proper height prevents unnecessary scrolling and ensures the embedded content is fully visible. "p-4" adds medium padding on all sides of the component, improving its visual integration within its container. 
(Configured in Events)
(Configured in Authorization)
"secureContentPolicy" restricts the IFrame visibility to users with permissions to view potentially sensitive external content. This ensures that embedded content is only shown to authorized users. (Configured in Testing Hooks)
"paymentGatewayFrame" enables targeted manipulation of this specific IFrame component through scripts or automated tests. "payment-gateway-iframe" allows test scripts to reliably locate this component during automated testing. {"en-US": "Payment Gateway", "de-DE": "Zahlungs-Gateway"} provides clear identification during guided tours. {"en-US": "This area displays our secure payment processing system", "de-DE": "Dieser Bereich zeigt unser sicheres Zahlungsabwicklungssystem"} provides detailed instructions during guided tours. src to a trusted, task-relevant URL or a template expression (e.g., "${context.reportUrl}").displayConditions).visibilityPolicySetId).displayName).width, height).paddingClass).width: "100%" and an appropriate height to avoid double scrollbars.visibilityPolicySetId).visibilityPolicySetId, displayConditions).guidedTourHotSpotTitle, guidedTourHotSpotDescription).displayName for authoring clarity only; it does not surface to end users.| Do | Don’t | Article setting(s) |
|---|---|---|
Bind src to the exact page/app users need (static or via template). |
Point src to a generic landing page that forces extra navigation. |
src |
| Show the frame only when inputs exist (e.g., selected item). | Render an empty frame that looks broken. | displayConditions |
| Gate sensitive embeds with policies. | Rely on the embedded site to block access after render. | visibilityPolicySetId |
| Use percentages/pixels to size thoughtfully and avoid double scrollbars. | Leave default sizes so content overflows or feels cramped. | width, height |
| Add outer spacing so the frame doesn’t touch neighboring UI. | Jam the frame edge-to-edge with no visual separation. | paddingClass |
Treat ON_PAGE_LOAD as the readiness signal. |
Guess readiness with arbitrary delays. | events.ON_PAGE_LOAD |
| Clean up on unmount. | Leave timers/listeners running after navigation. | events.ON_DESTROY |
| Provide stable test hooks. | Select the frame with brittle DOM selectors. | id, dataTestId |
| Localize hotspot captions for onboarding. | Ship English-only guidance. | guidedTourHotSpotTitle, guidedTourHotSpotDescription |
| Give the instance a purposeful name for authors. | Keep ambiguous defaults that hinder maintenance. | displayName |
visibilityPolicySetId).displayConditions).dataTestId, id).guidedTourHotSpotTitle, guidedTourHotSpotDescription, enableAsHotspot).paddingClass to avoid crowding touch targets adjacent to the frame.