Expand my Community achievements bar.

SOLVED

component tab is coming from super type

Avatar

Level 3

Hi,

i created a component  X, X resource super type is  "tabs"  core component
in my X component  dialog  we created few tabs and fields like item,properties, accesblity
but if you see in image first items tab is coming from superType , this is happening in  one of the environemnt

in remaining other environments  i can see the tabs only which we created from  X dialog 

now how to avoid this "items" tab  in this one of the environement

user96222_0-1702531022924.png

we tried deleting the entire component and reinstalled but  still same issue

 





Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @user96222 
You can hide the tab which is coming from parent resources

  • sling:hideResource ( Boolean)

    Indicates whether the resources should be completely hidden, including its children.

There are other options to hide th e subpath(tab): https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/sling-resource-mer... 



Arun Patidar

View solution in original post

9 Replies

Avatar

Community Advisor

Hi @user96222 , Can you check the core components version in the environment which has issue and update it accordingly to the one that you are having across other environments.

 

 

Thanks,

Krishna

Avatar

Level 3

@krishna_sai @aanchal-sikka 
the env which im facing issue  , i can see core component difference like the "item" tab is present in this environment so issue is coming

in other environmnet , this tab is not there, so it is working  fine

all env component version is same.

now how i can  find which version of  all core components is there in my env or which package is responsible to get update of core component or which dependcy?

is it core.wcm.component.content?

Avatar

Community Advisor

@user96222 

 

Yes, please check the version number of the package 

aanchalsikka_0-1702547934086.png

 


Aanchal Sikka

Avatar

Community Advisor

@user96222 

 

The extra item tab, whats the path?


Aanchal Sikka

Avatar

Level 3

path:/apps/core/wcm/components/tabs/v1/tabs/cq:dialog/content/items/tabs/items/tabitems
"tabitems" is extra

Avatar

Community Advisor

@user96222 

 

Please compare this with /libs.

It appears someone has extended the component and added an extra node in /apps


Aanchal Sikka

Avatar

Community Advisor

@krishna_sai 

 

Please verify all the instances. Is there a version mismatch?

If yes, adapt code as per the latest AEMaaCS version. Use latest AEM SDK for local development.

 


Aanchal Sikka

Avatar

Correct answer by
Community Advisor

Hi @user96222 
You can hide the tab which is coming from parent resources

  • sling:hideResource ( Boolean)

    Indicates whether the resources should be completely hidden, including its children.

There are other options to hide th e subpath(tab): https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/sling-resource-mer... 



Arun Patidar