A web part for SP 2007/2010 and other SharePoint v3/v4 based technologies.
Provides a file explorer view to a home drive by appending the current users login name (SAMAccountName) to the UNC Path provided.
Utilised with Audiences (MOSS only) this can by used based on user role.
Real World Usage
As a SharePoint consultant who has worked in many government and educational institutions, home drives provisioned from Active Directory and mapped (via group policy) to My Documents is common place.
Although MOSS can be used for storage, sometimes this cannot be realistic due to budget or the required architecture changes. This means that MOSS is implemented along side File Shares etc...
To aid end user buy in, clients have requested that I implement end users home drives into MOSS to ensure that whatever the end user needs (personal files, information, search etc...) it can found in the new MOSS system.
Currently the Page Viewer Web Part supplied in WSS and MOSS cannot take variables such as %username% (as used in windows). This simple but effective web part simply appends the current logged in username to the supplied UNC Path (\\fileserver\username) and
places the URL into an IFrame.
Utilised with Audiences (MOSS only), this web part can be used multiple times to deal with different user roles, where File Share paths maybe different (Teacher, Student, Admin Staff for example).
Ensuring Search is configured to index the file shares means that the user can truly use MOSS for the central integration piece of their IT environment.
Explorer View (Web Part)
Please note that the supplied installer will not work with SharePoint Foundation / SharePoint Server 2010 environments as this was made for WSS 3.0 / MOSS. To install on SharePoint 2010 environments, please download the WSP file and run the command
"stsadm -o addsolution -filename <path to WSP + filename>". The solution will then appear in Central Administration where the solution can be deployed.
Once deployed, go to your site collection and activate the Site Collection Feature.