Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Exported experience fragment content giving error while adding as offer in activity


Level 9



I have created a custom experience fragment template because of our need. I am using OOTB clould config to export experience fragment content to target. The export to target is successful and in target i can see the content through externalizer urls. 


Now when i try to use that experience fragment offer into activity, it doesn't include the experience fragment content which i can access through externalizer urls instead it give me below 


<head><meta http-equiv="content-type" content="text/html; charset=UTF-8"/>

<link rel="stylesheet" href="/etc.clientlibs/foundation/clientlibs/main.css" type="text/css">
<script type="text/javascript" src="/etc.clientlibs/clientlibs/granite/jquery.js"></script>
<script type="text/javascript" src="/etc.clientlibs/clientlibs/granite/utils.js"></script>
<script type="text/javascript" src="/etc.clientlibs/clientlibs/granite/jquery/granite.js"></script>
<script type="text/javascript" src="/etc.clientlibs/foundation/clientlibs/jquery.js"></script>
<script type="text/javascript" src="/etc.clientlibs/foundation/clientlibs/shared.js"></script>
<script type="text/javascript" src="/etc.clientlibs/foundation/clientlibs/main.js"></script>

<body class="xf-web-container">

<!-- Error while including component -->



Now if i use OOTB experience fragment template for same content -->export to target and then use it as offer, it works fine.


Not sure if i am missing something which is not allowing it to render it there when included to activity.


Note: Currently i am using externalizer url which is inside vpn but as it works for OOTB template perfectly fine, i don't see any issue for custom experience fragment template.



Looking for help!!





Topics help categorize Community content and increase your ability to discover relevant content.

3 Replies


Community Advisor

What is the sling:resourceSuperType for your XF page component?



Arun Patidar


Level 9
Yes, i have extended the base exp frag template and created my custom template. the template page content comes perfectly fine when it is access directly the page url but it throws error when i access same page via exp frag offer. still debugging!!


Level 4
Have you published the content to a publish environment?