TwitterLinkedInBlog

Monday, June 23, 2008

VS2005/2008 - SharePoint Intellisense

Set the Schemas Property of each document to:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\wss.xsd

VS2005/2008 - Workflow Snippets

Tools > Code Snippets Manager > Language: XML > Add >
C:\Program Files\Microsoft Visual Studio 8\Xml\1033\Snippets\SharePoint Server Workflow

SP2007 - View All Site Content

/_layouts/viewlsts.aspx

SP2007/2010 - Web Part Page Maintenance

Add the following to the end of the URL of the web part page:
?contents=1

SP2007 - Default and Custom Workflow History List URLs

The Default Workflow History List
http://base_site/Lists/Workflow%20History/AllItems.aspx

Custom Workflow History Lists
http://base_site/sub_site/Lists/list_name/AllItems.aspx

Thursday, June 19, 2008

SP2007 - Two Contact Selectors in One InfoPath Form

From the InfoPath Team Blog:

# re: Using the Contact Selector Control
Tuesday, May 22, 2007 1:56 PM by Scott Heim
Hi neoearth,
Assuming you have followed the naming conventions in this post, you have a group node named: gpContactSelector under the "myFields" node. To utilize another Contact Selector control:
- Add a new group node under myFields named, for example, gpContactSelectorNew
- Expand the existing gpContactSelector node
- Right-click on the Person repeating node and choose Reference
- Select the new group node, gpContactSelectorNew, and click OK
- You should now see the Person node under gpContactSelectorNew - simply drag gpContactSelectorNew to your view and select Contact Selector!
Scott

SP2007 - Workflow SequenceActivity inside a ReplicatorActivity

When using a SequenceActivity inside a ReplicatorActivity, set the OwnerActivityName SubProperty of the CorrelationToken Property to the SequenceActivity, not the Workflow. If the OwnerActivityName is set to the Workflow, you might get the following error: Correlation value on declaration "taskToken" is already initialized.