I'm just looking to confirm something I'm running into here.
I'm setting up a Content Fragment using Granite dialog fields we've used elsewhere through our AEM instance.
We have an Icon Picker which is an instance of granite/ui/components/coral/foundation/form/autocomplete
We have a Color Picker which is an instance of granite/ui/components/coral/foundation/form/colorfield
We have a Select which is an instance of granite/ui/components/coral/foundation/form/select
When I deploy my code, I see my model in CRX with all fields but these three fields don't appear when I create a fragment or when I look at the model editor.
Additionally we have a checkbox and several fields use scs-show-when in granite:data to try and show/hide those fields, it seems to have no effect on the fields.
Do Content Fragments not support these features? Since it's all Granite UI I was hoping they would but maybe I'm wrong.
I don't see any errors in the borwser or in my AEM logs so I'm at a loss for what else might be going on.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @NarwhalAoibhe please refer:
https://blogs.perficient.com/2020/10/20/adding-a-color-picker-to-the-aem-content-fragment-model-edit...
And try to align your other fields this way.
I've tried following along with that, everything looks equal, however when I open the Content Fragment Model Editor and add the new Color Picker there are no properties available for it.Saw in the github issues for the download that the new item node needs to be color-field rather than color-picker. There's also a fieldMetaTypes attribute which is set to color-field. Works now.
Color-field works fine but if I try to add a node now for autocomplete it breaks the Content Fragment Model Editor. Trying to identify something in the logs for a hint on what needs to be fixed but if you've got any ideas that would be great.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies