component tab is coming from super type | Community
Skip to main content
Level 3
December 14, 2023
Solved

component tab is coming from super type

  • December 14, 2023
  • 3 replies
  • 1669 views

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



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

 





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 arunpatidar

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-merger.html?lang=en#properties 

3 replies

krishna_sai
Community Advisor
Community Advisor
December 14, 2023

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

user96222Author
Level 3
December 14, 2023

@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?

aanchal-sikka
Community Advisor
Community Advisor
December 14, 2023

@user96222 

 

Yes, please check the version number of the package 

 

Aanchal Sikka
aanchal-sikka
Community Advisor
Community Advisor
December 14, 2023

@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
arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
December 15, 2023

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-merger.html?lang=en#properties 

Arun Patidar