Paul's profilePaul Liebrand's SpacePhotosBlogListsMore Tools Help

Blog


    November 28

    Blog Moved

    I have decided to move my blog to Word Press to try that out.  I have moved all my posts over too. However, I'll leave the original posts here incase someone has linked to it.

    The new blog location is http://liebrand.wordpress.com.

    Thanks,

    Paul Liebrand

    IE7Pro - The Ultimate Add-On for Internet Explorer

    The is a must have add-on for anybody that uses IE7 and likes some of the functionality like Fire Fox has such as spell checking, inline searching, and crash recovery.

    Check it out!

    IE7Pro - The Ultimate Add-On for Internet Explorer

    November 21

    Finding My Links in the Database

    I wrote a post a few months back that explained how to find out the membership information for a specific user (My Links, My SharePoint Sites, Site Memberships) all at once. I recently came across another post that specifically gets the users My Links information from the database.
     
    November 19

    Visual Studio 2008 Trial Downloads

    It's finally here!  Available to MSDN subscribers. Enough said.

    Visual Studio 2008 Trial Downloads

    November 13

    Search For SharePoint

    I recently came across a web site that is designed to search for information specific to SharePoint.  The web site uses the custom Google search engine API's and it filters out all unnecessary information.

    Currently the search engine references about 750 SharePoint related sites.  It is a fairly new venture so I am sure it will grow over time.

    Check it out at http://www.searchforsharepoint.com.

    October 23

    Office 2007 and Mail Merge with SharePoint

    I have been working with Microsoft Premier support on an issue around performing a mail merge with a Word document and Excel document stored in a SharePoint (WSS 3.0 or MOSS 2007) team site.

    According premier support, they are unable to 100% duplicate my issue. However, I am convinced this is a problem.  I have conducted this test in a number of environments and configurations and always land up with the same result.

    So I am going to outline the issue here, and then ask for feedback from the community to see how many others are / are not experiencing it.

    Setup

    1. Created a default Team Site
    2. Created an Excel document with two data fields (First Name and Last Name) and some dummy data that will be used for mail merge.
    3. Created a blank Word document

    Steps

    1. Edit the blank Word Document
    2. Click Mailings
    3. Click Select Recipients and Use existing list
    4. For the filename, type http://sharepointsite and hit enter
    5. Navigate to the Excel document, select it, and click Open

    I get presented with the following error message:

    image

    Other Tests

    Please can anyone else in the SharePoint community confirm or deny that this is also happening to them?

    UPDATE 10/24/2007

    I worked with a new guy from Microsoft today regarding this issue and apparently mail merge does not support HTTP. He also told me not to expect it to get fixed in Office 2007 and they are going to try getting mail merge over HTTP implemented in the next version (no guarantee's).

    I am still working with the gentlemen on another workaround that used to work awhile ago and I will provide an update on that when I know more.

    UPDATE 11/1/2007

    We reached several dead ends on this issue.  Basically, the only way to do a mail merge with a document stored in a SharePoint site is to either access the file directly via UNC, or through a mapped network drive to the SharePoint site. The engineer told me that he has requested that this be made as an enhancement to a future version of Office.

    October 02

    Office 2007 and My SharePoint Sites

    In previous posts I have discussed the concepts around the MOSS 2007 Membership functionality (see the Office 2007 and User Memberships post). This post talks about the location of the My SharePoint Sites and how it gets populated. Once again, the My SharePoint Sites functionality is new to Office 2007 and requires you establish your My Site prior to it actually functioning.

    Location of My SharePoint Sites

    The My SharePoint Sites folder gets created by any of the Office 2007 applications. The folder can be found in the following location:

    C:\Documents and Settings\<Username>\Local Settings\Application Data\Microsoft\Office\

    What populates the My SharePoint Sites folder?

    The Office 2007 application suite is responsible for populating this folder. It will populate it based on what member groups you belong to within your SharePoint environment. Office will update this location once a day the first time you launch an Office 2007 application.

    You can force an update of this location by deleting the following registry key:

    HKCU\Software\Microsoft\Office\12.0\Common\Portal\LinkPublishingTimestamp

    If you delete that above key and simply restart one of your Office applications, it will repopulate that folder based on what it thinks you are a member of.

    Thanks,

    Paul Liebrand

    September 25

    Operation: My Site Lock Down

    As many people know, the SharePoint My Site is open by default. When a user gets a My Site provisioned, SharePoint conveniently creates a Personal Documents library (only accessible to the user) and Shared Documents/Shared Pictures libraries (accessible to anyone in the organization).

    Here lies the problem -- when a user creates a new library or list to store content it will inherit the permissions from it's parent (which is public by default). The user needs to remember to restrict access before storing their personal and perhaps confidential content in this new list.

    Many people shy away from the usage of My Site's for this very problem. The following post will explain how to flip the permissions so the My Site is locked down by default and users have to open it up when they want someone to come visit.

    Step 1: Configuring My Site Settings in Central Administration

    • Start SharePoint 3.0 Central Administration on one of your web front-end ("WFE") servers
    • Navigate to your Shared Service Provider ("SSP")

    image

    • Click on My Site settings, scroll to the bottom, and remove Authenticated Users from the Default Reader Site Group and Click Ok

    image

    Step 2: Provisioning the My Site

    When a new My Site has been provisioned (after the changes to My Site Settings) the user of the My Site will need to open some of the libraries back up for some functionality to work correctly (such as the Profile Picture).

    • Navigate to your My Site URL, which will start the process of creating your My Site
    • Once your My Site has been created, navigate to the Shared Documents library

    image

    • Click on the Settings button and then Document Library Settings
    • Click on Permissions for this document library under the Permissions and Management section
    • Click on Actions and then Edit Permissions and you will get the following dialog box warning you that you are about to break the permission inheritance, click Ok

    image

    • Click on the New button from the toolbar
    • Click on the Add all authentication users link which will add the authentication users group to the empty text box to the right

    image

    • Select the Read - can view only option under the Give Permission section
    • Scroll to the bottom and uncheck the Send welcome e-mail to the new users checkbox and then click Ok

    At this point you have basically given all authenticated users in the company access to your Shared Documents library with read access.

    IMPORTANT: Now repeat this process for the Shared Pictures library. If you skip this step, then the profile picture feature of the My Site will not work.

    Once you have made the adjustments above any new list or library will be locked down by default.

    I hope you find this post useful.

    Paul Liebrand

    MOSS 2007 and User Memberships

    A new and often misunderstood feature of Microsoft Office SharePoint Server ("MOSS") 2007 is the concept of user memberships. The user membership information is rendered through a few different surfaces within the SharePoint environment.

    The following is a list of places the membership information is used and surfaced:

    1. Users My Site

    image

    2. Top Navigation Bar via the My Links / My SharePoint Sites

    image

    3. Office 2007 Client applications via the Open / Save dialog box

    image

    The membership feature was added to MOSS to make it easier for users to find the sites they work on often. Once it is implemented and setup correctly, this feature works extremely well.

    Membership Functionality Requirements

    In order for the MOSS membership functionality to be active and working you need to insure you have the following things in place:

    1. An established Shared Service Provider ("SSP") with all your web applications associated to it.
    2. My Sites need to be enabled and each individual needs to set it as their default by clicking the "Set as default My Site" in the top right corner of My Site screen.
    3. A full Office Search crawl schedule (this is the process that actually updates the membership information).
    4. The users need to added to the group that is associated with the Members of this Site group setting. The group that is assigned to this setting can be determined by navigating to the site, clicking Site Actions / Site Settings / People and Group / Actions / Setup Groups.

    Please note that simply just adding someone to the site will not work with the membership functionality; they need to be explicitly added to the group associated with the Members of this Site group  setting.

    During my adventures with trying to understand this membership feature I discovered a SQL query that you can run which will output all the site membership information for a specified user.

    Simply connect to your SQL server and the database associated with your SSP and execute this query:


    declare @RecordId int

    select @RecordId = RecordId
      from dbo.UserProfile_Full
     where PreferredName = '<<insert preferred name here>>'

    exec dbo.QuickLinksRetrieveAllItems @RecordId,@ViewerItemSecurity=31,@RequestedItemSecurity=16

    I hope this helps.