none
How to call "Open with Explorer" command in Document Library from hyperlink in SharePoint 2010

    Question

  • Hi,

    How can I call Sharepoint document library "open with Explorer" command from one of the hyperlink in sharepoint 2010? any idea ? thanks.

    Thursday, April 11, 2013 7:06 AM

Answers

  • Hi,

    Please check this becuase its working in my environment.

    1. Open Content Editor WP & Add below source. 

    <a href='#' onClick = "javascript:CoreInvoke('NavigateHttpFolder', 'http://sp2010found/sites/test/Shared Documents', '_blank');"> Name </a>


    Manoj | SharePoint

    Friday, April 12, 2013 8:25 AM

All replies

  • Hi,

    You need to change the hyperlink,

    from
    http://ServerName/managedpath/library/Pictures

    to
    \\ServerName\managedpath\library\Pictures

    Regards
    Pieter

    Thursday, April 11, 2013 12:06 PM
  • Hi

    <a href="ServerName\managedpath\library\Pictures">Name</a> in SharePoint 2010 Page. But still got issues.

    Friday, April 12, 2013 4:02 AM
  • Hi WilliamLin,

    You have to run CoreInvoke methid on onClientClick as below.

    OnClientClick = "javascript:CoreInvoke('NavigateHttpFolder', yourHttpPathToOpen, '_blank');"


    Manoj | SharePoint

    Friday, April 12, 2013 5:40 AM
  • ...you added the link wrong

    When you add it like such : <a href="\\ServerName\managedpath\Shared%20Documents">Name</a>

    It get's coverted to the link below : 
    <a href="file://ServerName/managedpath/Shared%20Documents">Name</a>

    Notice the "file:// tag.

    Regards

    Pieter

    Friday, April 12, 2013 8:00 AM
  • Hi,

    Please check this becuase its working in my environment.

    1. Open Content Editor WP & Add below source. 

    <a href='#' onClick = "javascript:CoreInvoke('NavigateHttpFolder', 'http://sp2010found/sites/test/Shared Documents', '_blank');"> Name </a>


    Manoj | SharePoint

    Friday, April 12, 2013 8:25 AM
  • Javascript:CoreInvoke should work, sharepoint also uses same to open document library in windows explorer.

    you can check this by using F12(Developer tool ) and select image(from ribbon UI) which activate windows explorer. and try to use same javascript/link.


    If this helps Please mark it answer or Vote As Helpful.

    Thanks
    Siddharth Vaghasia

    Sunday, April 14, 2013 5:35 PM
  • Hello,

    Here is your HTML code for hyperlink. Add it in CEWP on your page.

    <a href='#' onClick="javascript:CoreInvoke('NavigateHttpFolder', 'http://ServerPath/DocumentLibraryName/', '_blank');">Click Here</a>

    Please make sure about below points.

    1.) Go to Administration Tools --> Services. and check WebClient service is running or not. If not then please do start it.

    2.) You will not able to see WebClient service on Windows Server 2008R2 by default. You need to install Desktop Experience feature on your machine and then restart it. You will be able to see WebClient Service in Services under Administration Tools. Now you can start it.

    3.) This will work with IE Browsers only.

    Thanks,Please mark it as an answer if it helped.
    Monday, April 15, 2013 8:35 AM