open windows explorer (network path) from servicenow catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2022 05:58 AM
I have a requirement related to opening Windows explorer on clicking Network (UNC) path.
We already have network file paths stored in a ServiceNow table.
This UNC path would be displayed on a catalog item form and when user clicks on the path it should open the windows explorer and not the browser. Please suggest the best way to achieve it.
- Labels:
-
Architect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2022 06:04 AM - edited ‎11-10-2022 06:09 AM
Use the content Items and define the path in URL Field , where you need re-direct
Use this in Url :"C:\Program Files\Internet Explorer\iexplore.exe"http---ur url
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2022 07:10 AM
No, I need it on catalog item. Based on a selection of reference field, path populates and when user clicks on it, it should open the path in windows explorer.
So i want to know how to open it automatically in windows explorer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2022 01:16 AM
Hi @Developer3
Try using Macros on the catalog Item to open a windows explorer
Let me know if you need more information on the macros https://docs.servicenow.com/en-US/bundle/tokyo-application-development/page/script/server-scripting/...
Best Regards
Rajesh