Expand my Community achievements bar.

SOLVED

With service pack 6.5.21 - Core Component 2.25.4 - Tabs and accordion component having the deep link in URL (.i.e. id is appending in URL )

Avatar

Level 2

Looking for Solution to remove the deep link (.i.e. id need to remove from the ID URL ) using the service pack 6.5.21 and core component 2.25.4.

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi, 

 

This feature is intended for you to have a way to "deeplink" into a specific tab or slide [1]. So, removing this functionality would require updating the JavaScript responsible for updating the URL. I believe you would need to change this file: https://github.com/adobe/aem-core-wcm-components/blob/b5e6a560f3d4c29a68313ae07b9670b265067d7a/conte... 

 

[1].https://experienceleague.adobe.com/en/docs/experience-manager-core-components/using/wcm-components/t...

EstebanBustamante_0-1719956213828.png

 


Hope this helps.



Esteban Bustamante

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi, 

 

This feature is intended for you to have a way to "deeplink" into a specific tab or slide [1]. So, removing this functionality would require updating the JavaScript responsible for updating the URL. I believe you would need to change this file: https://github.com/adobe/aem-core-wcm-components/blob/b5e6a560f3d4c29a68313ae07b9670b265067d7a/conte... 

 

[1].https://experienceleague.adobe.com/en/docs/experience-manager-core-components/using/wcm-components/t...

EstebanBustamante_0-1719956213828.png

 


Hope this helps.



Esteban Bustamante

Avatar

Community Advisor

Hi @Kummari_DilipKu 
Maybe you can check keepHash, and make it configurable in the component so that you disable/enable URL update for particular component

/**
* Navigates to the item at the provided index and ensures the active tab gains focus
*
* @private
* @param {Number} index The index of the item to navigate to
* @param {Boolean} keepHash true to keep the hash in the URL, false to update it
*/

 

 



Arun Patidar