Skip to main content
New Participant
June 11, 2021

Embed external site

  • June 11, 2021
  • 9 replies
  • 2829 views

I have created a Tbymeleaf Spring simple app that provides a simple html page as output. I want to embed this site into aem and have tried extending the Embed component with a custom url processor, but when rendering the page I only see the URL. Is there a way to render the output of an external system???

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

9 replies

shelly-goel
Employee
June 14, 2021

@espinari  - You can use iframe and embed the site url in it to render on AEM page

espinariAuthor
New Participant
June 14, 2021
@shelly-goel I totally forgot to mention that the iframe is not an option (I used it for testing purposes and it works).
Vijayalakshmi_S
New Participant
June 14, 2021

Hi @espinari,

Can you confirm if you have HTL file in the name of the custom processor. If yes, how are you including the content from external site. 

espinariAuthor
New Participant
June 14, 2021

Hi @vijayalakshmi_s,

 

I extended the embed component and created the htl file with the same name as the custom url processor (as suggested by Adobe). To render the content of the external html I used an iframe, but just for testing purposes..... I would like to know if there is another way to render the content without using an iframe (I reckon the pinterest out of the box component uses a js library to render the content, so maybe that's something I need to get done, unfortunately Im no expert with js).

chaudharynick
New Participant
June 13, 2021

Can you inspect the page and look for console logs/errors.

Also, in the component dialog box what type checkbox have you selected?

espinariAuthor
New Participant
June 14, 2021
@chaudharynick no console errors. It is "URL" that's why I implemented a custom URL processor