Hi Community,
In one of the components. Input is a list of tag paths based on the tags input. All the articles that have this tag are pulled out and displayed as featured articles. CLIENT HAS SUDDENLY RELOCATED / renamed a few no.of tags in PROD Directly. Now, in the component the input she gave the location of the new tags. It pulls pages that were created post this tag renaming. But not the old pages, since the repository has already saved the old tag-id and when Lucene search looks into the pages with the new tag-id, it is not found and therefore old pages are not returned. She says the pages should know about the relocation and Lucene has to pick old pages too.
I know we can write out a script to rename tag-id in the repository level either as a servlet or fiddle script. But is there any other way/tool to immediately do this in PROD Directly?
Views
Replies
Total Likes
Try this, Create the OLD TAG on the same location. Then the existing features will be up again.
Then use the move option to change to the NEW name and new location. The reference of each page should be automatically changed.
Hi, @kiran_22_12, Not sure how your client relocated the tags. Reference will be immediately updated if you rename the tags using Move operation.
I see the crxde has got the cq: moved property with the new location.Therefore the component shows the new reference in dialog . But however pages are retaining the old tag-id in repo. And so new search is not done
Hi @kiran_22_12, Looks like OOTB functionality is not available for Content Tags.
Yess, then I would have to script out the solution.
Views
Like
Replies