In an endeavor to do Headless usecase sample, I have attempted to create content Fragment Model.
In AEM 6.5 Under Tools>Assets>Content Fragment Model (http://localhost:4502/libs/dam/cfm/models/console/content/models.html/conf )
I have created Content Fragment Model and published it.
After clicking the publish button, I got notification "INFOModel xyzFragment scheduled for publishing." I don't know were to see the status of the publish action. If any one know please guide me.(question 1)
In an assumption its published, I have proceeded to create the "Content Fragment" under Assets>Files>Create -> Content Fragment. But I could see only "Simple Fragment" listed. I could not see the above Content Fragment Model in the list. This gives me a doubt that content fragment model is not published. Please clarify(Question 2)
Solved! Go to Solution.
Views
Replies
Total Likes
Hi, I can't tell answer with much certainty with the information you've provided, so here are a few pointers for your investigation. Just before I get started, you're not trying to create the Content Fragment on the Publisher, right? I'm just asking because in your question you say "In an assumption its published, I have proceeded to create the "Content Fragment" under Assets>Files>Create -> Content Fragment" but:
Moving on, here are questions you might want to ask:
You should have created your Model under a project folder (by default creating a Model at the root folder is disabled). You have to be in a folder with the same name in Assets in order to use your Models. Here is an example of what I mean (using We.Retail):
On your Author instance, go to Tools > Deployment > Replication
Here, click on Agents on author. You should see the following agent in the list:
If like me you have a warning about a blocked queue (in my case its because my Publisher instance ins't running) then your model never made it to Publisher. For more details, click on Default Agent (publish) and you can see what items are in the queue, test your replication and/or view replication logs.
You can't see the model in your Touch UI, but there anything in the JCR? on your Author instance, go to the CRX DE console (http://localhost:4502/crx/de/index.jsp). Find your model in the JCR tree, it should be at /conf/<your-project>/settings/dam/cfm/models/<model-name> or thereabouts (if you've created a custom folder structure, find it here).
Once you have the path, check it on your Publisher instance and see if it is present.
Try out these avenues and tell me how it goes If it's not any of those at least you should be able to get an idea of where the problem might be.
Hi, I can't tell answer with much certainty with the information you've provided, so here are a few pointers for your investigation. Just before I get started, you're not trying to create the Content Fragment on the Publisher, right? I'm just asking because in your question you say "In an assumption its published, I have proceeded to create the "Content Fragment" under Assets>Files>Create -> Content Fragment" but:
Moving on, here are questions you might want to ask:
You should have created your Model under a project folder (by default creating a Model at the root folder is disabled). You have to be in a folder with the same name in Assets in order to use your Models. Here is an example of what I mean (using We.Retail):
On your Author instance, go to Tools > Deployment > Replication
Here, click on Agents on author. You should see the following agent in the list:
If like me you have a warning about a blocked queue (in my case its because my Publisher instance ins't running) then your model never made it to Publisher. For more details, click on Default Agent (publish) and you can see what items are in the queue, test your replication and/or view replication logs.
You can't see the model in your Touch UI, but there anything in the JCR? on your Author instance, go to the CRX DE console (http://localhost:4502/crx/de/index.jsp). Find your model in the JCR tree, it should be at /conf/<your-project>/settings/dam/cfm/models/<model-name> or thereabouts (if you've created a custom folder structure, find it here).
Once you have the path, check it on your Publisher instance and see if it is present.
Try out these avenues and tell me how it goes If it's not any of those at least you should be able to get an idea of where the problem might be.
After clicking the publish button, I got notification "INFOModel xyzFragment scheduled for publishing." I don't know were to see the status of the publish action. If any one know please guide me.(question 1)
Check the replication queue status or the relevant properties in /crx/de, I don't think there is any dashboard for same
In an assumption its published, I have proceeded to create the "Content Fragment" under Assets>Files>Create -> Content Fragment. But I could see only "Simple Fragment" listed. I could not see the above Content Fragment Model in the list. This gives me a doubt that content fragment model is not published. Please clarify(Question 2)
Enable the configuration as mentioned @ Content Fragment Models
When the configuration global is enabled for content fragment models, then any models that users create can be used in any Assets folder. To use other configurations (i.e. excluding global) with a comparable Assets folder, then you have to define the connection. This is done using Configuration in the Cloud Services tab of the Folder Properties of the appropriate folder.
Views
Likes
Replies