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

Avatar

Avatar
Boost 100
Level 7
rush_pawan
Level 7

Likes

127 likes

Total Posts

192 posts

Correct reply

81 solutions
Top badges earned
Boost 100
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Boost 100
Level 7
rush_pawan
Level 7

Likes

127 likes

Total Posts

192 posts

Correct reply

81 solutions
Top badges earned
Boost 100
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile
rush_pawan
Level 7

23-10-2020

Hello,

 

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 

 

<!DOCTYPE HTML>
<html>
<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>



















<title>exp-frag-luh-target-verify</title>
</head>
<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!!

 

THanks,

Pawan

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,462 likes

Total Posts

3,329 posts

Correct reply

949 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,462 likes

Total Posts

3,329 posts

Correct reply

949 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

25-10-2020

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

 

sling:resourceSuperType="cq/experience-fragments/components/xfpage"