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

Not able to find content fragment in published pages in publisher instance

Avatar

Avatar
Boost 10
Level 2
Adarsh1998
Level 2

Likes

11 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Give Back 10
View profile

Avatar
Boost 10
Level 2
Adarsh1998
Level 2

Likes

11 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Give Back 10
View profile
Adarsh1998
Level 2

10-05-2021

 I have one query regarding Content Fragment, I have Custom Content Fragment in my Author Instance and i dragged and dropped on to my page and i replicated that project and manually published that content fragment as well...but i'm not able to see content fragment on my page in publisher instance but i'm able to see the content fragment under Assets in publisher instance. Please, Help me out.

 

Below is Author Instnace Page

Adarsh1998_0-1620711374227.png

 

Below is the Publisher Instance Page

Adarsh1998_1-1620711405188.png

 

Replies

Avatar

Avatar
Boost 5
Level 5
Ritesh_M
Level 5

Likes

85 likes

Total Posts

67 posts

Correct Reply

23 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Boost 5
Level 5
Ritesh_M
Level 5

Likes

85 likes

Total Posts

67 posts

Correct Reply

23 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
Level 5

10-05-2021

Hi @Adarsh1998 ,

 

Have you validated that the page has been published successfully and not in replication queue. Also check through CRXDE if the page has CF data stored on node. Do you see any issue in logs?

 

Also, check if on publish http://localhost:4503/api/assets.json gives you a JSON which has added CF details.

Avatar

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

551 likes

Total Posts

663 posts

Correct Reply

191 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

551 likes

Total Posts

663 posts

Correct Reply

191 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile
asutosh_jena
Level 10

10-05-2021

Hi @Adarsh1998 

 

Content Fragments are created out of content fragment models and to make the content fragment work on publish instance, the content fragment model also needs to be available on publish instance.

 

Please check if you have the content fragment along with model is also available on publish instance.

Check the replication queue and see if all the contentn fragments are pushed to publish instance and nothing is pending in queue.

 

You can check the error.log in publish instance which will give the cause of error why the content fragment is not loading in publish.

 

Also in publish instance you do not have to use editer.html in the URL. the direct page URL can be accessed without any selector as the editor.html is only used on author instance.

 

Thanks!

Avatar

Avatar
Boost 10
Level 2
Adarsh1998
Level 2

Likes

11 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Give Back 10
View profile

Avatar
Boost 10
Level 2
Adarsh1998
Level 2

Likes

11 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Give Back 10
View profile
Adarsh1998
Level 2

10-05-2021

Avatar

Avatar
Boost 10
Level 2
Adarsh1998
Level 2

Likes

11 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Give Back 10
View profile

Avatar
Boost 10
Level 2
Adarsh1998
Level 2

Likes

11 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Give Back 10
View profile
Adarsh1998
Level 2

10-05-2021

Appreciate your help, the CF is published and able to see it under assets & CF Models are even present in publisher. when i'm trying to use the we-retail simple content fragment on we-retail pages then i'm able to see it in publisher instance but when i'm using that we-retail simple content fragment in any of my custom pages it is not available in publisher instance

Avatar

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

551 likes

Total Posts

663 posts

Correct Reply

191 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

551 likes

Total Posts

663 posts

Correct Reply

191 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile
asutosh_jena
Level 10

10-05-2021

Please check the error log and see what errors are coming there.

Avatar

Avatar
Boost 5
Level 5
Ritesh_M
Level 5

Likes

85 likes

Total Posts

67 posts

Correct Reply

23 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Boost 5
Level 5
Ritesh_M
Level 5

Likes

85 likes

Total Posts

67 posts

Correct Reply

23 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
Level 5

10-05-2021

@Adarsh1998  Is that a custom component in which you are dropping CF, might be something is breaking somewhere in there, do you see any console error or something in server logs.

Avatar

Avatar
Boost 10
Level 2
Adarsh1998
Level 2

Likes

11 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Give Back 10
View profile

Avatar
Boost 10
Level 2
Adarsh1998
Level 2

Likes

11 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Give Back 10
View profile
Adarsh1998
Level 2

10-05-2021

@asutosh_jena, can you guide me where to find that error log

Avatar

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

551 likes

Total Posts

663 posts

Correct Reply

191 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

551 likes

Total Posts

663 posts

Correct Reply

191 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile
asutosh_jena
Level 10

10-05-2021

You can find it under your aem installation location crx-quickstart/logs/error.log.

Avatar

Avatar
Boost 10
Level 2
Adarsh1998
Level 2

Likes

11 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Give Back 10
View profile

Avatar
Boost 10
Level 2
Adarsh1998
Level 2

Likes

11 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Give Back 10
View profile
Adarsh1998
Level 2

10-05-2021

log: 2021-05-11 10:43:56 - INFO - publish : Agent updated. State is enabled and valid 2021-05-11 10:43:56 - INFO - publish : Agent started. 2021-05-11 11:05:02 - INFO - publish : Creating content for path /content/orchard/Language_Master/en/cf 2021-05-11 11:05:02 - INFO - publish : Create new HttpClient for Default Agent 2021-05-11 11:05:02 - INFO - publish : * Auth User: admin 2021-05-11 11:05:02 - INFO - publish : * HTTP Version: 1.1 2021-05-11 11:05:02 - INFO - publish : Sending POST request to http://localhost:4503/bin/receive?sling:authRequestLogin=1 2021-05-11 11:05:02 - INFO - publish : sent. Response: 200 OK 2021-05-11 11:05:02 - INFO - publish : ------------------------------------------------ 2021-05-11 11:05:02 - INFO - publish : Sending message to localhost:4503 2021-05-11 11:05:02 - INFO - publish : >> POST /bin/receive HTTP/1.0 2021-05-11 11:05:02 - INFO - publish : >> Action: Delete 2021-05-11 11:05:02 - INFO - publish : >> Path: /content/orchard/Language_Master/en/cf 2021-05-11 11:05:02 - INFO - publish : >> Handle: /content/orchard/Language_Master/en/cf 2021-05-11 11:05:02 - INFO - publish : >> Referer: about:blank 2021-05-11 11:05:02 - INFO - publish : >> Content-Length: 0 2021-05-11 11:05:02 - INFO - publish : >> Content-Type: application/octet-stream 2021-05-11 11:05:02 - INFO - publish : -- 2021-05-11 11:05:02 - INFO - publish : << HTTP/1.1 200 OK 2021-05-11 11:05:02 - INFO - publish : << Date: Tue, 11 May 2021 05:35:02 GMT 2021-05-11 11:05:02 - INFO - publish : << X-Content-Type-Options: nosniff 2021-05-11 11:05:02 - INFO - publish : << Content-Type: text/plain;charset=utf-8 2021-05-11 11:05:02 - INFO - publish : << Content-Length: 28 2021-05-11 11:05:02 - INFO - publish : << 2021-05-11 11:05:02 - INFO - publish : << ReplicationAction DELETE ok. 2021-05-11 11:05:02 - INFO - publish : Message sent. 2021-05-11 11:05:02 - INFO - publish : ------------------------------------------------ 2021-05-11 11:05:02 - INFO - publish : Replication (DELETE) of /content/orchard/Language_Master/en/cf successful.