Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

External HTML code

Avatar

Level 1

Hello community,

 

I start and use AEM WCM as CMS for my Website, do you know if it is possible to integrate an external coded page (in the form of an iframe) in a module? And if so the template to use?

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@RobinCW6 
To use include an external webpage via iframe, you can create a new component. This new component will allow authors to configure the iframe url that will be presented to the page; this is because AEM sites do not provide an out of the box iframe component. 

The expected HTML output will look something like this. 

 

<iframe src="https://www.example.com" title="Example Website"></iframe>

 

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@RobinCW6 
To use include an external webpage via iframe, you can create a new component. This new component will allow authors to configure the iframe url that will be presented to the page; this is because AEM sites do not provide an out of the box iframe component. 

The expected HTML output will look something like this. 

 

<iframe src="https://www.example.com" title="Example Website"></iframe>

 

 

Avatar

Community Advisor

@RobinCW6 -

You can use it in iframe as mentioned by @BrianKasingli. Create a component in mentioned way and drag and drop. 
Try keeping the source URL authorable .

Thanks,
Nikhil Kumar