In AEM 6.4.3, resource-type not found in coral3 | Community
Skip to main content
Level 4
Feb 7, 2019 6:58 PM UTC
Solved

In AEM 6.4.3, resource-type not found in coral3

We are on 6.4.3, and don't see the coral3 replacement for following resource types. Is there any reference to these?

1.  cq/gui/components/authoring/dialog/note .

2.  granite/ui/components/foundation/section

3. /libs/granite/ui/components/foundation/layouts/tabs  - We don't even see layout folder inside "/libs/granite/ui/components/coral/foundation"

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
Feb 7, 2019 7:07 PM UTC

Refer the below link. You can find the explanation here --

Migration Guide to CoralUI 3-based — Granite UI 1.0 documentation

The new set will not use the layout concept anymore. This is to increase the simplicity of the understanding of Granite UI. Each layout component thus becomes a standard component.

The layout mechanic itself is still there for other to use if needed.

Before:

+ mytabs - sling:resourceType = "granite/ui/components/foundation/container" + layout - sling:resourceType = "granite/ui/components/foundation/layouts/tabs" + items + tab1 - jcr:title = "Tab 1" - sling:resourceType = "granite/ui/components/foundation/container" + tab2 - jcr:title = "Tab 2" - sling:resourceType = "granite/ui/components/foundation/container" + layoutConfig - active = true

After:

+ mytabs - sling:resourceType = "granite/ui/components/coral/foundation/tabs" + items + tab1 - jcr:title = "Tab 1" - sling:resourceType = "granite/ui/components/coral/foundation/container" + tab2 - jcr:title = "Tab 2" - sling:resourceType = "granite/ui/components/coral/foundation/container" + parentConfig - active = true

6 replies

arunpatidar
New Participant
Feb 8, 2019 7:21 AM UTC

Hi,

If note resource type is not available you can use alternative heading resource type. Heading comes with different level as well. you can use level 6 for normal text like note.

Heading — Granite UI 1.0 documentation

Translate
Arun Patidar
Gaurav-Behl
Level 10
Feb 7, 2019 9:08 PM UTC

If you are sure that it doesn't work then you may want to open a ticket for the same.

Translate
karanmahiAuthor
Level 4
Feb 7, 2019 8:55 PM UTC

This "cq/gui/components/authoring/dialog/note" used to work in 6.3 and there used to be note field in dialog. But in 6.4.3, it doesn't work (note field is not shown).

Translate
Gaurav-Behl
Level 10
Feb 7, 2019 8:08 PM UTC

I believe that is still the same path. 'cq/gui/components/authoring/dialog' works fine with 6.4.3 

coral3 changes are under 'coral/foundation' rather than 'foundation'.

Translate
karanmahiAuthor
Level 4
Feb 7, 2019 8:03 PM UTC

Thanks, gauravb10066713 for the documentation. But, still, I could not find coral 3 replacement for "cq/gui/components/authoring/dialog/note". Do you have any reference for this?

Translate
Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
Feb 7, 2019 7:07 PM UTC

Refer the below link. You can find the explanation here --

Migration Guide to CoralUI 3-based — Granite UI 1.0 documentation

The new set will not use the layout concept anymore. This is to increase the simplicity of the understanding of Granite UI. Each layout component thus becomes a standard component.

The layout mechanic itself is still there for other to use if needed.

Before:

+ mytabs - sling:resourceType = "granite/ui/components/foundation/container" + layout - sling:resourceType = "granite/ui/components/foundation/layouts/tabs" + items + tab1 - jcr:title = "Tab 1" - sling:resourceType = "granite/ui/components/foundation/container" + tab2 - jcr:title = "Tab 2" - sling:resourceType = "granite/ui/components/foundation/container" + layoutConfig - active = true

After:

+ mytabs - sling:resourceType = "granite/ui/components/coral/foundation/tabs" + items + tab1 - jcr:title = "Tab 1" - sling:resourceType = "granite/ui/components/coral/foundation/container" + tab2 - jcr:title = "Tab 2" - sling:resourceType = "granite/ui/components/coral/foundation/container" + parentConfig - active = true

Translate