open windows explorer (network path) from servicenow catalog item

Developer3
Tera Expert

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.

3 REPLIES 3

yesubabu Jonnal
Tera Contributor

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

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

Rajesh Annepak1
Kilo Guru

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