External HTML code

RobinCW6

31-08-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

BrianKasingli

MVP

31-08-2020

@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>

 

 

Answers (1)

Answers (1)

Nikhil-Kumar

MVP

31-08-2020

@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