I've built some content fragments and added them to a page in my Author instance, but when i publish this pages the content fragments does not appears
Page in my Author instance
Page in my Author instance
as we can see i have a content fragment in the page, but when i publish the page it look like this:
Page in my publish instance
Page in my publish instance
is there any additional step to publish a page with a content fragment?
does anyone have a idea of how can i solve this?
Solved! Go to Solution.
Can you please check if CF also got published? Check your publisher instance.
CF is an assets, try to locate under assets and publish it manually.
Are you getting any error in publisher instance?
-Kautuk
Views
Replies
Total Likes
Can you please check if CF also got published? Check your publisher instance.
CF is an assets, try to locate under assets and publish it manually.
Are you getting any error in publisher instance?
-Kautuk
Views
Replies
Total Likes
This means the CF itself may not exist on Pub. It would be like a component. If that component does not exist on the PUB instance, then it will not show up in the page being served from a PUB instance.
Views
Replies
Total Likes
The CF was not published, and when i manually published the CF, the page worked.
so every time i use a CF in my page it will be necessary to upload the CF manually, right?
but when i publish my page, all the content shouldn't be published together?
Views
Replies
Total Likes
Like components - you need to get them into the publish instance. You can use Packages for this purpose.
Publishing pages that contain CF will not automatically move them to the Pub instance.
Views
Replies
Total Likes
Ok, Thanks.
Views
Replies
Total Likes
Here;s what I found -
When you publish a page that reference a content fragment that was modified but not published yet, then the publish screen will show you all the references to Content Fragments so that Authors are enabled to publish them.
On the other hand, when publishing a content fragment, authors would not know the pages that are referencing that content fragment.
I wish at least the references can be shown as it currently does for an image asset -
Please correct me if my understanding is wrong.
If my Content Fragment has a content reference to an asset for example an image which is yet not published and if I publish my page , AEM asks for content fragment to publish but it doesn't ask for the image asset to be published.
Is there a way to configure such thing so AEM also asks for the image referred in content fragment to be published when I publish my page ?
That would be a transitive reference, and of course checking these is also possible. But depending on your content this will take longer. Though, it should not be too hard to implement, see [1] for a way to implement such a ReferenceProvider.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies