Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

External HTML code

RobinCW6
Level 1
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
BrianKasingli
Correct answer by
Community Advisor
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
BrianKasingli
Correct answer by
Community Advisor
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

Nikhil-Kumar
Community Advisor
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