25
Jul
07

Sharepoint 2007 link love 07-25-2007

Simple way to add role based rules to InfoPath Web Form

Web based InfoPath 2007 forms do not support the Role Based Access that is available as an InfoPath 2007 client form; so we need a work-a-round:

Scenario:

You create an application form that needs to be filled out and completed by various types of users:

* User A needs to fill out and submit the form by selecting a “Submit for Approval” button.
* User B needs to approve the form by selecting and “Approve” button.
o User A must not see “Approve” button.

Solution:

Ghosting and Site Templates (repost)

By default your SharePoint pages are ghosted, which means the layout template is stored on the web front end server’s file system, while the content is stored in SQL Server.

Once you make modifications to a page using SharePoint Designer 2007, the page becomes unghosted; both layout and content are stored in SQL Server and the file is detached from the template page.

There are some concerns with this:

Unable to connect publishing custom string handler for output caching (repost)

This had me troubling for quite a while and looking on the Internet didn’t really give any real solutions (here and here).

In my case the errors were caused by a custom Web Service that I added to SharePoint. When one of the Web Parts called the Web Service an event log entry was written:

Event Type: Error
Event Source: Office SharePoint Server
Event Category: Publishing Cache
Event ID: 5785
ProfilePictureEventHandler

A SharePoint Library event handler to automatically link a picture to a MOSS 2007 User Profile.

The file names must be of the following format: [accountName].[ext]

ItemAdded
  • The event handler extracts the account name from the new file
  • The Profile Picture URL property of the corresponding User Profile is updated
  • In case of an error an entry will be written to the machine’s event log
ItemUpdating

(Recording) Building custom document workflow in SharePoint 2007

Here’s the link to a recording of the demonstration that I did today with instruction on how to access it.

Recorded Web Cast: Here are the instructions to view it.

  1. Click here and then click the “Register Online” Button.
  2. Put in your Attendee Name (in the box below) and hit the confirm button
  3. Then either hit the “View Online” button to stream it over the web or the “download” button to save it on your hard drive and view it on your desktop Windows Media Player

EventHandlerManager

A tool for registering/unregistering Event Handlers from a SharePoint List or Library. It uses an XML file to register event handlers.

<definitions>
<definition assembly=”ProfilePictureEventHandler, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4f658f603c9b5170″ class=”Vandest.ProfilePictureEventHandler”>
<list url=”
http://localhost/hr/employeepictures” contenttype=”" eventtype=”ItemAdded” />
<list url=”
http://localhost/hr/employeepictures” contenttype=”" eventtype=”ItemUpdating” />
<list url=”
http://localhost/hr/employeepictures” contenttype=”" eventtype=”ItemDeleting” />
</definition>
</definitions>

  • The definition root node can contain multiple definition nodes

Windows SharePoint Services Migration Check List

This Post Outlines a check list for migration planning from Windows SharePoint Services 2.0 to Windows SharePoint Services 3.0. This is prepared as on basis of Visio diagram (draft) published by Microsoft. This check list is just a high level overview of the migration process. If you need more info please refer to TechNet White Papers

Site definition customizations versus using feature stapling Part 1

Site definition customizations versus using feature stapling Part 1 I have been doing a lot of work recently with publishing site definitions and custom page layouts. The current project that I am working on requires the creation of custom publishing site definitions and custom page layouts that will be wrapped up into features and deployed as solution packages (.WSP).

SharePoint Blogs: SPSiteDataQuery limited to 10 document libraries or lists

In previous posts I talked about the pitfalls of searching in WSS or MOSS. I wanted to report one more limitation we have discovered when doing cross-list searches in WSS using the SPSiteDataQuery object. The SPWeb.GetSiteData method is used to execute cross-list searches within a site collection. This method takes a SPSiteDataQuery object which contains properties which need to be populated prior to sending it to the GetSiteData method. Using CAML

WSS FAQ additions and changes LXIV - 16th - 22nd July 2007

SharePoint guidance

I just had a recent discovery for a great SP content source! I think from now on before I leave a SharePoint engagement, I’m going to recommend indexing the CodePlex SharePoint governance page (http://www.codeplex.com/governance). The governance codeplex site references everything from Joel Oleson’s blog and all the content you really need to get SP planned properly. Now, it should be excluded from the All Sites search, but should certainly be included as part of a new SharePoint Administration scope.

SharePoint Web Service Example – Grabbing Wiki Content

I presented a session at Tech Ready (Microsoft internal conference) yesterday. One of the samples I showed was how information can be consumed from a SharePoint web service and repurposed. The specific example was taking the Wiki content we host internally on our FAQ site (it’s a great example of using Wikis to build a Frequently Asked Questions knowledgebase) and creating an html file from it.

The code sample is straightforward. I developed it using Visual C# Express Edition on my Vista laptop. The web reference I added was http://faq/sites/sharepoint/_vti_bin/lists.asmx.

How to configure Email Enabled Lists in MOSS 2007 RTM using Exchange 2007

Steve Smith over at Combined Knowledge has posted a new version of his excellent Email Enabled Lists white paper, this time for Exchange Server 2007. Go check it out.

http://www.combined-knowledge.com/Downloads%202007.htm


0 Responses to “Sharepoint 2007 link love 07-25-2007”


  1. No Comments

Leave a Reply