In AEM 6.4.3, resource-type not found in coral3 | Community
Skip to main content
Level 4
February 7, 2019
Solved

In AEM 6.4.3, resource-type not found in coral3

  • February 7, 2019
  • 6 replies
  • 1637 views

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.
Best answer by Gaurav-Behl

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

Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
February 7, 2019

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

karanmahiAuthor
Level 4
February 7, 2019

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?

Gaurav-Behl
Level 10
February 7, 2019

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'.

karanmahiAuthor
Level 4
February 7, 2019

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).

Gaurav-Behl
Level 10
February 7, 2019

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

arunpatidar
Community Advisor
Community Advisor
February 8, 2019

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

Arun Patidar