Posts

Showing posts from January, 2012

SharePoint - Link to file shares in Document Libraries

Image
In SharePoint you can't create links to files like file://xxx/ because the link field type only accepts http:// or https://. If you use Internet Explorer in your company you can use a trick. The network shares are usually mapped to local drives like H:. It is better if you use directly the name of the mapped server folder instead of the local drive letter, so everyone can use the link. 1.Way - Redirect with html file Create an .html (or .aspx in SharePoint Online) file with the following code and upload it to your document library. It will open the html file which itself opens the folder or file in a new window. With history.back() it returns to your doc lib. <html> <body> <script type="text/javascript"> // mapped network folder H: var filer = "file://servername/e$/Folder1/Folder2/Data" // folder within the mapped (which you see in explorer) var folder = "/Folder3/Internal/projekts/security"

People Picker doesn't show single imported users

I had a strage issue last day. The people picker did not show single users from an imported AD group. I looked at the user profile store and could find the user. I started a full profile import and could find the user in the user profile database again. (I thought perhaps the account was deleted in the AD) But when I search for the user in the people picker the user could not be find. Other users from the same AD group could be found with no problem. After all the reason was that the account was not active. The people picker only searches for active user accounts. You can check if an account is active or not with the following dos command: net user *username* /domain | find "active" (Replace *username* with the loginname of the user)