Steve Pietrek - Everything SharePoint

My continuous learning of SharePoint…

Archive for May, 2008

Links (5/29/2008)

Posted by Steve Pietrek on May 29, 2008

Posted in SPLinks | No Comments »

Links (5/27/2008)

Posted by Steve Pietrek on May 27, 2008

Posted in SPLinks | No Comments »

Links (5/25/2008)

Posted by Steve Pietrek on May 25, 2008

SharePoint

  1. Microsoft Makes Strategic Changes in Technology and Business Practices to Expand Interoperability
  2. The Ultimate List of SharePoint AddOns and Tools for Web 2.0, Enterprise 2.0 And Social Networking Features
  3. Developing Workflow Solutions with Microsoft Office SharePoint Server 2007 and Windows Workflow Foundation
  4. How to modify the custom People/Groups type column of a SharePoint List using Lists.asmx
  5. Leveraging the platform - Caching in SharePoint WCM scenarios
  6. WSS FAQ additions and corrections CV - 18th to 24th May 2008
  7. SharePoint 2007 Post SP1 Fixes
  8. Creating and Managing SharePoint Content Databases
  9. HOW-TO: Remove embedded HTML in CQWP roll-ups
  10. “This page has been modified since you opened it” Error
  11. Office SharePoint Server for Internet Sites Licensing
  12. How Best Are Your Best Practices
  13. 5 Rules to Live By When Interviewing for a SharePoint Job
  14. Integrating SharePoint with SQL Reporting Services
  15. New version of Application Pool Manager
  16. Kivati Studio to accelerate customized SharePoint deployments
  17. Why Should I Specify an ID for Dynamically Created HtmlControls in my WebParts
  18. MOSS 2007 Excel Services Tips & Tricks :: Tools
  19. Kent Brown’s article on choosing the right workflow tool
  20. LINQ4SP - Delete a list item
  21. Playing with ListStyles.xsl for CQWP in MOSS
  22. Using the methods GetListItems, GetVersionCollection and UpdateListItems from the SharePoint 2007 Lists WebService
  23. Integrate VSTO with SharePoint Content Types
  24. SharePoint Intermittent 403 Forbidden Errors
  25. Some New SharePoint Designer 2007 Training Info and Links
  26. Digging into why SharePoint navigation APIs wouldn’t work on sites using collaboration or publishing site definition
  27. Checking to See If There Are Results From A Stored Procedure Using LINQ
  28. The Portal is Dead! Long Live the Portal!

Office

  1. Short Office Tutorials
  2. Version Info Path forms when versioning workflows in MOSS

Posted in SPLinks | No Comments »

Links (5/22/2008)

Posted by Steve Pietrek on May 22, 2008

Posted in SPLinks | No Comments »

Links (5/21/2008)

Posted by Steve Pietrek on May 21, 2008

SharePoint

  1. WSS Content PlaceHolders Reference Picture
  2. Differences between a MOSS 2007 / SharePoint Publishing Site and a System Site (or Team Site)
  3. Does the !New tag annoy you?
  4. Worlds Largest SharePoint Alphabetical Blog Directory (300+ blogs)
  5. Recommended Third Party Products for SharePoint Server 2007
  6. Enabling SharePoint Intellisense in VS2008
  7. MOSS 2007 Content Deployment QFE Pack Now Available via MSFT CSS
  8. What you need to know about AllowUnsafeUpdates (Part 2)
  9. Creating MOSS pages using RPC
  10. SharePoint: Download Books for Office SharePoint Server
  11. Getting 5762 error moving site collections to separate database using STSADM mergecontentdbs
  12. SharePoint Document Libraries scalability
  13. Handling Error Centrally in a SharePoint Application
  14. MOSS 2007 - Migrating content from 3rd party content management solution to MOSS Publishing/Collaboration Portal
  15. PowerShell for Flexible Iterative SharePoint-based Development
  16. LINQ4SP - How to create a new item with a lookup to another list?
  17. SharePoint Elevated Privilege without RunWithElevatedPrivelege
  18. Creating MOSS 2007 features - a reference
  19. EndUserSharePoint.com: Content Types and Workflow
  20. What makes a “good” SharePoint consultant?
  21. Understanding How to Build Enterprise Search into a Team Site
  22. SharePoint Performance Quick Wins / Tips
  23. SharePoint Server 2007 Performance Counters

Office

  1. “The selected file was not found.” - InfoPath 2007 Web form
  2. OBA Sample Application Kits Release to Web
  3. The Document Information Panel and InfoPath - the devil is in the details
  4. Templates in OneNote

Posted in SPLinks | No Comments »

Links (5/19/2008)

Posted by Steve Pietrek on May 19, 2008

Posted in SPLinks | No Comments »

Guidance for developing custom solutions with SharePoint 2007

Posted by Steve Pietrek on May 19, 2008

Glenn Block of Microsoft has requested your thoughts on developing with SharePoint. You can find the survey here and more information on Glenn’s blog here. Please note most of the survey is stacked ranking - confused me at the beginning.

Posted in SPDev | No Comments »

Links (5/18/2008)

Posted by Steve Pietrek on May 18, 2008

Posted in SPLinks | No Comments »

Links (5/15/2008)

Posted by Steve Pietrek on May 15, 2008

Posted in SPLinks | No Comments »

Links (5/13/2008)

Posted by Steve Pietrek on May 13, 2008

SharePoint

  1. Posters for SharePoint Stsadm command line parameters now available
  2. Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions User Guide, Version 1.1
  3. Announcing: Visual Studio extensions for SharePoint – Developer User Guide
  4. Add DOC to PDF and Other Conversions to Microsoft Office SharePoint Server 2007 with Aspose Components
  5. Debugging Half-Installed-AJAX on SharePoint
  6. The SharePoint / MOSS 2007 recycle bin – what goes in and what doesn’t
  7. Five ways to make your SharePoint implementation more visually interesting without writing any code
  8. How to set up anonymous list submission in SharePoint / MOSS 2007
  9. SharePoint Branding & Customization Resources
  10. SharePoint Interview Questions
  11. Instant SharePoint GAC deployment gratification
  12. How We Did It: Building a News Workbench on MOSS 2007 for Microsoft’s Corporate Intranet Portal
  13. SharePoint Developer MSDN Web Cast Series
  14. Demystifying SharePoint CSS Links
  15. How to: Write a value into the property bag
  16. STSADM Extensions for ASP.NET AJAX Configuration in MOSS
  17. SmartTools for SharePoint
  18. A-B-P. Always Be Publishing
  19. WCF web services and the Business Data Catalog (BDC)
  20. SharePoint licensing - a common question I get asked…
  21. Creating a Winning SharePoint Project Team
  22. Why You Should Use a Consultancy for Your SharePoint Project
  23. Create Amazing Maps on SharePoint With Live Maps
  24. How to insert SharePoint metadata into your Word or Excel document using Quick Parts and Content Types

Office

  1. InfoPath VSTO/ VSTA post-build steps
  2. InstantNavigator for OneNote
  3. Office Object Model References on MSDN
  4. Synchronizing OneNote 2007 and WSS 3.0

Posted in SPLinks | No Comments »

CEWP - Hide Quick Launch

Posted by Steve Pietrek on May 12, 2008

Below are steps to hide the Quick Launch in a Content Editor Web Part (CEWP).

Read the rest of this entry »

Posted in SPUI | No Comments »

Links (5/11/2008)

Posted by Steve Pietrek on May 11, 2008

SharePoint

  1. SPListItemCollection.GetDataTable() Bug?
  2. SharePoint End User Security
  3. Inconvenient Content Editor Web Part
  4. SharePoint Document Libraries and users
  5. WSS FAQ additins and corrections CIII - 4th to 10th May 2008
  6. Retrieving Items from a SharePoint List with Powershell and the SharePoint Lists.asmx
  7. SharePoint as a WCF Host
  8. SharePoint 2007 as a WCF host - Step #1, make a WCF Home
  9. SharePoint 2007 as a WCF host - Step #3, create a .svc file
  10. SharePoint 2007 as a WCF host - Step #4, Write a Virtual Path Provider
  11. Knowledge and Talent in a People-Ready Business
  12. Export Keywords/Best Bet for SharePoint 2007
  13. Lightning Conductor Web Part – Re-Strikes!
  14. BDC Meta Man 3.0.0.4
  15. Partner Solution: Spread for SharePoint
  16. SharePoint End User Security
  17. Building a news workbench on MOSS 2007 — Part 5
  18. Create, Update BDC Data in a SharePoint List Style Web Part
  19. Testing Whether ADFS User Is Authenticated
  20. U2U Caml Query Builder Feature: new version
  21. Server Side Integration of SharePoint and Facebook
  22. Preventing provisioning duplicate Web Parts instances on Feature reactivation
  23. ddwrt FormatDate and FormatDateTime
  24. Access denied when trying to get to shared services
  25. Create Amazing Maps on SharePoint With Live Maps
  26. Description of the 2007 Microsoft Office servers Service Pack 1 and the 2007 Microsoft Office servers Language Pack Service Pack 1
  27. Add DOC to PDF and Other Conversions to Microsoft Office SharePoint Server 2007 with Aspose Components
  28. Connecting the CQWP without changing ItemStyle.xsl
  29. Web Content Management with SharePoint MOSS 2007 (Part 1)
  30. Imtech Fields Explorer v1.3.0.0: Get to work with your Content Types and Site Columns
  31. Introducing the SharePoint Config Store for developers
  32. SharePoint Extranet Topology
  33. What’s Up with SharePoint? - review logs using Log Parser 2.2
  34. MOSS 2007 DRP - Disaster Recovery Plan
  35. SCCP 2007 Model for Operations Manager 2007 reaches RTW!

Office

  1. Programmatically add items to a drop-down list box in InfoPath 2007
  2. Office Communicator 2007 + OneNote 2007
  3. Napkin Math in OneNote
  4. Office Development While You Workout

Posted in SPLinks | No Comments »

Links (5/8/2008)

Posted by Steve Pietrek on May 8, 2008

Posted in SPLinks | No Comments »

Links (5/7/2007)

Posted by Steve Pietrek on May 7, 2008

SharePoint

  1. Integrating Newest Telerik RadControls for ASP.NET AJAX into SharePoint
  2. EndUserSharePoint.com: How do I import my calendar into SharePoint?
  3. .Net comes to WebSphere Portal
  4. Adding Dynamic Source Parameter to the CQWP
  5. Mainsoft: Talking to MOSS is a WebSphere Imperative
  6. How to: SharePoint’s STSADM utility is your friend and how to Create Custom commands for STSADM
  7. SPQuery with Boolean and DateTime
  8. Mainsoft Puts a Little Bit of SharePoint in Lotus Notes
  9. IBM’s Quickr Woos Would be MOSS Users
  10. Another day another Codeplex Project - Workflow Activities
  11. Looping Through Items in a SharePoint List with SharePoint Designer Workflows
  12. Troubleshooting SPSite/SPWeb leaks in WSS v3 and MOSS 2007
  13. Preserving Rich Text Formatting in non edit-in-place scenario’s
  14. Checking if a Workflow is Running on an Item / SPWorkflowState
  15. CRM 4.0 (or SharePoint or custom application) and DebugView
  16. Insights: Why SharePoint Projects Fail
  17. Creating Custom Timer Jobs in Windows SharePoint Services 3.0
  18. SPListItemCollection is particularly inefficient because each loop executes a SQL operation
  19. SharePoint Designer Check-in and Check-out and Publishing - i’ve run into this
  20. Make a Link Site Relative in a SharePoint Master Page and Viewable to those with specific permissions
  21. SharePoint vs File Shares
  22. EndUserSharePoint.com: What is a KPI? Why would I use one?
  23. What is the Windows SharePoint Services VSS Writer service?
  24. SharePoint Development for the Masses
  25. Resources worth reading for SharePoint Developers
  26. MOSS/WSS 3.0 Deployment Guidelines
  27. Provisioning Web Part instances in a structured and repeatable way
  28. Video: Using LINQ in SharePoint (LINQ to SharePoint) - Recorded Webcast
  29. Iterating through the columns of a list with Powershell and the SharePoint Lists.asmx web service
  30. How to modify Content Type once it is deployed?
  31. Best Practices: Common Coding Issues When Using the SharePoint Object Model
  32. Checklist for Creating SharePoint Web Parts
  33. Structured and repeatable configuration deployment in SharePoint 2007 the Imtech way
  34. Hiding custom lists from the “create” page in SharePoint
  35. Developing and Deploying a SharePoint Feature - Part 1
  36. How To: Easily construct your CAML queries with CAML Query Builder
  37. How you start an implementation of the graphical design -Implemeting pagelayouts
  38. SharePoint Search Deployment Guidance - Part 2
  39. How to use CAML query to fetch data from a list?
  40. Live on SharePoint
  41. Office SharePoint Server Publishing Infrastructure gives Access denied
  42. New Release of the SmartTools for SharePoint
  43. Measure SharePoint Service Level Availability and Performance with the Service Level Dashboard Solution Accelerator Beta

Office

  1. Note Tags - OneNote
  2. Knowing the full name of an attachment in OneNote
  3. InfoPath - Get the current user without writing code
  4. Localization in InfoPath form

Posted in SPLinks | No Comments »

Links (5/4/2008)

Posted by Steve Pietrek on May 4, 2008

Posted in SPLinks | No Comments »

How To: Add the Contact Selector to InfoPath 2007

Posted by Steve Pietrek on May 2, 2008

To add the Contact Selector control to the Designer Controls pane in InfoPath 2007:

  1. In Office InfoPath 2007, on the Design Tasks pane, click Controls.
  2. On the Controls pane, click Add or Remove Custom Controls.
  3. In the Add or Remove Custom Controls dialog box, click Add.
  4. The Add Custom Control Wizard appears.
  5. Under Select a Control Type, select ActiveX Control. Click Next.
  6. In the list of ActiveX controls, select Contact Selector. Click Next.
  7. Under Specify Installation Options, select Don’t include in a .cab file. Click Next.
  8. Under Binding property, select value. Click Next.
  9. For Field or group type, select Field or group (any data type). Click Finish. Click Close. Click OK.

Link

How to: Configure a Contact Selector Control on Your InfoPath Workflow Form

Posted in InfoPath | No Comments »

Approval Workflow Knowledge

Posted by Steve Pietrek on May 2, 2008

I am working on a custom workflow solution. While testing my solution out, I realized a workflow initiator could approve workflow they initiated even though the task was not assigned to them. 

To see what Microsoft does and hopefully clear my confusion, I created a brand new document library named “Incoming Resumes”. I created a default approval workflow named “Incoming Resumes Approval” - I only set the approver to be Mary and put in a custom message. I created two users, Sam and Mary. Sam is just a contributor. Mary is an approver.

Here’s what I did:

  1. Sam created a document and added it to the “Incoming Resumes” document library.
  2. Sam manually kicked off the workflow (only option).
  3. A new column named “Incoming Resumes Approval” was added to the “Incoming Resumes” document library. The new document now had a status of “In Process”.
  4. Sam clicked the “In Process” link and the Workflow Status page was displayed.
  5. In the history, Sam read when the workflow was started by herself and Mary is the only participant. A task was created for Mary.
  6. In the Tasks section, Sam clicked the task title and displayed the Task Edit form. Hmmm.
  7. Sam was able to click the Approve button and approve the workflow - even though it was assigned to Mary!

This is something I did not expect. After some research, there is a setting on the second page of the approval workflow association form “Allow changes to the participant list when this workflow is started”. By default, this option is checked. If this is checked, the workflow initiator can make changes. To avoid this issue, uncheck this option. Unchecking this option will rollback any changes the workflow initiator has made and display the message: “Task update was not accepted”. All in all, I guess it makes sense. If the workflow initiator can assign to someone else, it also means they can make changes herself.

A couple observations:

  1. Although a user may not have a permission of approver DOES NOT mean they cannot approve workflow.
  2. There appears to be a usability issue when the “Allow changes to the participant list when this workflow is started” is not checked. Why should a user be allowed to view the Task Edit form, make changes, click the Approve, and then see an error message that they are not allowed to make changes because the task is assigned to someone else. I know you could disable the Task Edit form options in a custom workflow but why not in the out-of-the-box experience. The Approve/Reject buttons are disabled if you view the Task Edit form after a task is completed.

Update 1: Interesting, reviewing the form, the “Allow changes to the participant list when this workflow is started” control in InfoPath is named “InitLock”.

Posted in SPWorkflow | No Comments »

Links (5/1/2008)

Posted by Steve Pietrek on May 1, 2008

Posted in SPLinks | No Comments »