- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2017 09:48 PM
Is there a way to check and fix a broken link? How to detect the same and automatically fix it using a script dynamically? I have referred to some of the documentations here https://community.servicenow.com/thread/177341?q=Broken%20links but was not of much help as it is not answered. Is there a way I can schedule a job to do a daily, weekly and monthly check and generate a report or trigger an alert when there is a broken link found.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2017 01:45 AM
Dear Mr. Ankur Bawiskar,
Just include any website link here W3C Link Checker and you will come to know the results. Likewise, I want it on ServiceNow and the remaining is as mentioned in the query above. Hope, this I am sure makes it more specific. This I also believe is like answering my own question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2017 12:03 AM
Hi Manjunath,
Following links should be helpful. They use client side jquery to determine the link broken or not.
jquery - Checking if a URL is broken in Javascript - Stack Overflow
javascript - detect external broken links - Stack Overflow
javascript - How to check broken links in a webpage using Casperjs? - Stack Overflow
JavaScript/jQuery check broken links - Stack Overflow
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2017 12:19 AM
Hi,
So, copying and pasting the answers of the JavaScript/jQuery program specified as solutions on ServiceNow would help. Is my understanding correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2017 09:48 AM
Hi Nandan,
That links should help you proceed in right direction I think so. Also I think there is no clear solution to achieve this in ServiceNow itself without using jQuery plugin etc. So you can try that option as well.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader