function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PRANAB KISHORE PANDAPRANAB KISHORE PANDA 

anchor link

Hello

My customer is looking for validating 30000 anchor links in the knowledge article. Is there any automated way to validate those?  Please let us know.
Vishwajeet kumarVishwajeet kumar
Hello,
What kind of validation is needed, Link Access or Link Content or Something else?

Thanks
PRANAB KISHORE PANDAPRANAB KISHORE PANDA
Hi Viswa, Thanks for responding. I need to verify the by clicking the anchor link the user should jump to the corresponding section in the article.
Vishwajeet kumarVishwajeet kumar
Checkout this article (https://salesforce.stackexchange.com/questions/289728/validate-url-is-active-link) . You can use the method in LWC controller or Visualforce to validate urls provided you have all Url stored in salesforce as a file or stored in object records.I think object records will work better because you can mark some field on them valid/True if access to link is successful.

it is a recommandation and has not been tried by me before. Take first step to validate this method before doing any operation on bulk data.

Thanks