- **** Efficient way to add a new item to a SharePoint list
- **** Controlling Single Web Parts with CSS
- **** 25 Common Design Questions
- SharePoint: Writing messages to ULS (Unified Logging System)
- What Are The Biggest SharePoint API Mistakes?
- Easy Way To Add Role Assignments
- Getting A Specific SPListTemplateType Icon
- Get SPGroup, If Not Available, Create!
- Understanding SharePoint: Event Receivers
- Create a simple hello world custom Application Page in SharePoint.
- Virtual Earth + SharePoint = Business (Location) Intelligence
- Integrating a Custom ASP.NET Application into SharePoint (Part 2)
- Programmatically Apply Theme to a site
- AJAX enable Zone Tabs Web part in SharePoint
- Best Practices disposing SharePoint objects – Reference Guide
- Using SharePoint instead of email attachments
- Options for taking SharePoint files offline
- Creating a Custom Web Service in SharePoint for Uploading Document
- Submit InfoPath form to SharePoint list
- Regular Expression Validated Custom SPField
- jQuery: the SharePoint Band Aid
- InfoPath and Visual Studio Workflows – 3 Great Tricks (3 of 3)
- Notes Field Not Getting Populated by SPUserCollection.Add Method
- February Cumulative Update for WSS V3 and MOSS 2007
- Anonymous access and SPContext
- Integrating Reporting Services 2008 with SharePoint 2007 Step 6 – Report Creation and Deployment
- When saving data into Web Part Properties, remember [Serializable]
- Rolling up Content Across Site Collections
- Workflow SPListItem modified by SHAREPOINT\system
- SharePoint: Access denied error when adding new page to page library
- Improve you SharePoint code with Red Gate ANTS
- Handling State Machine Workflow – Part 1
- Disabling Enterprise Feature Buttons
- The Content Query Web Part, and Working With Lookup Fields in a Custom Web Part
- PowerShell and Office Open XML Format Document Generation Sample
- More Samples Added to the SharePoint and Silverlight Blueprints
- Trick on how to get a Content Editor Web Part’s width to 100% when it is in a horizontally aligned Web Part Zone
Archive for February, 2009
Links (2/26/2009)
Posted by Steve Pietrek on February 26, 2009
Posted in SPLinks | Leave a Comment »
Hide Users on Welcome Screen in Windows Server 2008
Posted by Steve Pietrek on February 26, 2009
I am in the process of putting together a demo VM. I have 8 users which I use from time to time; however, I always want to log on as the Administrator account. To save an extra click, I want to only allow the Administrator to display on the Welcome screen. A quick search on Google points you to posts on changing the Registry. Here is an example post listing the steps to modify the Registry.
Although modifying the Registry is an acceptable solution, I wanted an easier way. Below are steps to accomplish this request:
- Select Local Security Policy from Administrative Tools.
- Expand Local Policies.
- Select User Rights Assignment.
- Double-click Deny log on locally to display dialog.
- Add users or groups.
- Click OK to save.
- Reboot.
From the help:
This security setting determines which users are prevented from logging on at the computer. This policy setting supersedes the Allow log on locally policy setting if an account is subject to both policies.
Important: If you apply this security policy to the Everyone group, no one will be able to log on locally.
Update #1. It appears the same option is available for Windows Server 2003.
Posted in Infrastructure | 2 Comments »
Links (2/22/2008)
Posted by Steve Pietrek on February 22, 2009
- Storing a collection of objects in the hierarchical object store
- Using SPListItem.UpdateOverwriteVersion
- Why You Need Reflector: SPList.DefaultView
- Instantiate a Content Type
- Create SPFieldLookup programatically
- SharePoint Development Best Practices (Summary)
- Hard to find error creating SPWeb through API
- Search a single list, and don’t use the OSSSearchResults.aspx page…
- SPTDD: On Good Vs. Testable Code
- A Sign the Farm is Quiescent
- Making Your Central Search Center Available to All Users
- InfoPath and Visual Studio Workflows – 3 Great Tricks (2 of 3)
- Why ADWS will not work with dropdowns on browser-enabled forms
- Expanding the Size of Announcements Web Part
- MOSS Solutions and Features in Deployments ( Part 3 )
- Setting Up a Virtual Lab with Hyper-V
- SharePoint Analyzer v1.3 Preview
- Thinking Functional: Using
- Some advice for SharePoint Community Bloggers to up their game!
- Creating a SharePoint A-Team for your organization
- Using SharePoint to engage teens without web 2.0
- VSeWSS 1.3 CTP – why does it require SQL access?
- SharePoint CAML Query builder dialog for your Web Parts
- Show your Twitter log in SharePoint
- SharePoint Content vs. Code – A Parable
- Handling Paging and Total Results count in SharePoint custom results page
Posted in SPLinks | Leave a Comment »
Links (2/19/2009)
Posted by Steve Pietrek on February 19, 2009
- JQuery and the Content Editor Web Part
- JQuery – A Fresh Look at What YOU Can Do On SharePoint Without Server Code
- Faking SPContext
- Use case: Integrating SharePoint with LOB applications
- Best Practices: Common Coding Issues When Using the SharePoint Object Model
- MSDN Webcast: SharePoint Products and Technologies for Internet Site Development: Site Customization with Silverlight 2.0 (Level 200)
- Momentum Webcast: Improving Visibility into Organizational Performance (Part 2 of 4): Delivering Business Intelligence Capabilities Through SharePoint Server (Level 200)
- Video: BackSeat Driving – InfoPath
- Page hit counter in MOSS
- Understanding SharePoint: List Forms
- SharePoint QuickLaunchExtender
- The SharePoint Implementation Market needs to grow up!
- Leveraging the SharePoint Platform (Part 4)
- Electronic Forms: InfoPath or ASP.NET?
- Forcing Execution of MOSS Timer Jobs
- Creating a Wizard-Style Browser-Enabled InfoPath Form
- Silverlight Slide Show in SharePoint
- Creating custom list from hidden Event content type
- Some background about the development of LCM
- Creating Debug and Release SharePoint Solution Packages
- Content Deployment and CEWP Absolute URLs
- SharePoint Size !
- How to create custom view pages with a custom web part for the list definition – SharePoint WSS 3.0 / MOSS 2007
- SharePoint Deployment and Install Guide
- Debugging SharePoint solutions using Visual Studio
- Making Use of the SharePoint Field Type Editing Controls
- SharePoint and TDD – The other view
- Integrating a Custom ASP.NET Application into SharePoint (Part 1)
- The Wonderful World of KPIs
- How To Create Alerts Programmatically
- Audio: SharePoint Information Architecture and Visio As Well As Content Editor Webpart Tricks Podcasts
- Code sample for a Asynchronous webpart
- SharePoint tools support in Visual Studio
- SharePoint – InfoPath Workflow And Silverlight Development For SharePoint
- Automating WSS v3/MOSS 2007 development environment setup: part IX – Setup your farm with minimum settings
- Automating WSS v3/MOSS 2007 development environment setup: part X – Install Visual Studio 2008 + VS2008 SP1 + Team Explorer
- How to expand InputFormTextBox
- Learning SharePoint Part VII – List Pagination
- Hide the Sign In link for the anonymous user – SharePoint MOSS
- Setting Up a Virtual Lab with Hyper-V
- Are SharePoint Developers Better Architects than Architects?
- Content Deployment basics Sharepoint 2007 (MOSS)
- Workflow and InfoPath Links
- Getting Started with SharePoint 2007 Development – Q & A
Posted in SPLinks | Leave a Comment »
STSADM: Command Line Error
Posted by Steve Pietrek on February 19, 2009
I was working with a coworker yesterday. He was having an issue deploying a solution. Reviewing the STSADM command, things looked correct; however, when he hit Enter to run the command, all the STSADM commands would display. Similar to what happens when you run STSADM.EXE -help. Scrolling to the top of the list of commands was the “Command Line Error”. Turns out he was copying the command from a blog post of mine and WordPress must do something with the dashes (similar issue with quotes).
Long story short, instead of copying/pasting STSADM commands, type the command manually. Problem solved.
Posted in SPErrors | 5 Comments »
Links (2/15/2009)
Posted by Steve Pietrek on February 15, 2009
- SharePoint field objects – classname, name and types
- ‘How Do I…BI?’ screencast series
- WSS Practice: Upload image to a Pictures Library
- Fast access items in an SPListCollection
- WSS Practice: Create and Reply to Discussions
- WSS Practice: Create a Calendar Event
- WSS Practice: Uploading a document
- WSS Practice: Attach files to ListItems
- WSS Practice: Checking in/out Documents, and Versioning
- WSS Practice: Creating and deleting Alerts
- WSS Practice: Create a list, columns and view programmatically
- Add SPDisposeCheck to VS External Tools
- Find Number of Users Currently Logged on to a SharePoint Site
- How to: Hide the Actions Menu in SharePoint
- Creating a Hello World Connectable Web Parts in SharePoint
- Understanding Web Part life cycle
- Best Practices slides & TechEd Presentation
- More Consulting Secrets They Won’t Tell You
- Application Development on SharePoint Online
- SharePoint – Add a page directly to a SharePoint site
- Attatching a Content DB to a Web Application
- Adding BDC Columns to a SharePoint List Programmatically
- Creating cross-site lookup field in SharePoint
- OBA Part 3 – Storing and Reading Data in Word Documents
- Guidance: Troubleshooting Search Propagation
- Guidance: User info synch in MOSS 2007
- Silverlight, SharePoint, Services…Oh Yeah!!!
Posted in SPLinks | Leave a Comment »
Links (2/12/2009)
Posted by Steve Pietrek on February 12, 2009
- Extending the web part framework – part 2
- Sales SharePoint Server 2007 Training Resources
- Architect SharePoint Server 2007 Training Resources
- Implementer SharePoint Server 2007 Training Resources
- Developer SharePoint Server 2007 Training Resources
- Building a Custom Workflow Initiation Form Using Visual Studio
- Analyzing SharePoint Usage
- An approach towards implementing information entry forms using Silverlight and SharePoint-Part 2
- Best Practices: Test Driven Development with SharePoint Slide Deck
- Odd behavior when working with SharePoint’s SPWebConfigModification
- Simplifying SharePoint Server Roles
- SharePoint + PowerShell
- Purging a SharePoint List using Powershell!
- Directory Synchronization – Use this tool to synchronize local directory services to Microsoft Online Services
- New Update to the MOSS 2007 C# Managed Protocol Handler
- Optimizing your very large site for search — Part 4
- Installing a Theme as a SharePoint Feature
- Difference between workflow created using SharePoint Designer and Visual Studio Designer for Windows Workflow Foundation.
- Analyzing Microsoft SharePoint Products and Technologies Usage
- Microsoft Announces Plans for New FAST Products
- Document Archiving Based on Custom Metadata
- Notes Migrator for SharePoint 5.1 is now available
- SharePoint 2007 tip: use Explorer not the browser to upload documents
- Using Workflow Object Model in SharePoint.
- Managing Tasks Permissions Programmatically within SharePoint using event reciever or using special permissions property
- Create a custom content type to be used with CreateTaskWithContentType activity in SharePoint Workflow
- Video: Building A World Class Online Library With SharePoint – MSLibrary
- Add a Banner to your SharePoint Site
- SharePoint JavaScript utilities – SPListJS
- Creating a Custom Vista Theme for SharePoint
- SharePoint Online – A first look
- Silverlight SlideShow for SharePoint Picture Libraries
- VisiFire Open Source Silverlight Charting in SharePoint
- Modifying the second level navigation arrow image
- How SharePoint Found Its Content Database
- Validating a PeopleEditor Control on PostBack
- Taming SharePoint – article on SharePoint
- What is the Long Tail of SharePoint Solutions? – Part 2 of 3
Posted in SPLinks | Leave a Comment »
Links (2/8/2009)
Posted by Steve Pietrek on February 8, 2009
- SharePoint Diagnostics Tool v1.0 (SPDiag) Released
- Do Not Dispose SPFeatureReceiverProperties.Feature.Parent
- OBA Part 2 – Building an Outlook Client against LOB Data
- Building a customized document library filtering using content editor webpart and javascript
- Downloading files from document library remotely without any OM code
- JQuery and SharePoint 2007
- Geting SharePoint web service response in DataTable c#
- Query whole site collection using SPSiteDataQuery
- Simplify reading and writing field values of type SPFieldUser, SPFieldUrl and SPFieldLookup using extension methods
- Retrieving SharePoint List Data from Silverlight Without a Custom WCF or ASP.NET Web Service
- Best Practices: Agile SharePoint Development with Scrum Slide Deck
- A Quicker Way to Create Custom SharePoint List Templates
- Adding Custom Properties to SharePoint Features
- Why Isn’t InfoPath Retrieving All SharePoint List Items?
- SharePoint Customization Tricks: Part III
- Sample Event Handler to set Permissions (not using RunWithElevatedPrivilages)
- Quick and Easy Data Access with Excel Services
- Calling web services in web-enabled InfoPath forms
- How does it work: MOSS 2007 User Profile Import
- How can adopting Office 2007 help government agencies kick start the economy?
- Learn how to integrate PeopleSoft, Outlook and MOSS – OBA Starter Kit
- Web Services and SharePoint: How do I do it?
- What is SharePoint?
- Don’t Return an SPWeb after you’ve disposed the SPSite - another reason to be careful about passing around objects as parameters
Posted in SPLinks | Leave a Comment »
Links (2/5/2009)
Posted by Steve Pietrek on February 5, 2009
- **** OBA Part 1 – Exposing Line-of-Business Data
- **** Office 2007 (and beyond) Developer Resources: Looking ahead
- **** OpenXmlDeveloper.org
- **** Introducing the Office (2007) Open XML File Formats
- **** Application Lifecycle Management Resource Center for SharePoint
- Richer search results through the use of property restrictions with SharePoint
- Diagnosing and Fixing SharePoint Out of Memory Exceptions
- MSDN: Integrating External Document Repositories with SharePoint Server 2007
- Filter SharePoint Event Log Entries
- Microsoft SharePoint Administration Toolkit v3.0 x86
- SharePoint Diagnostics Tool (SPDiag) User Guide
- Grouping in SharePoint Lists and Libraries, Outlook Style!
- InfoPath: Deleting all rows except the first one in repeating table
- Top Tips for InfoPath form development with SharePoint: Part 1
- Populating InfoPath drop down with “FILTERED” SharePoint list data programmatically
- Populating InfoPath drop down with SharePoint list data programmatically – Part 2 (Using SPQuery)
- Populating InfoPath drop down with SharePoint list data programmatically
- SharePoint Tip/Trick: Promote an InfoPath Field to a SharePoint Person Field
- Virtual Earth Web Part
- Creating a top link bar navigation in MOSS site programmatically
- Reporting Services – Using a DataSet as the Source
- SharePoint People Search – Lessons learned. Part 1: Covering the basics
- SharePoint People Search – Lessons learned. Part 2: Programmatically running search queries
- How Long Does it Take to Train Someone to Be a Competent SharePoint Developer?
- How to get the Webpart XML programmatically in moss
- Consuming Excel Data using InfoPath Database Data Connections (InfoPath team blog)
- Getting to know the Data Form Web Part (4 of 4)
- Vista prompt me no more!
- Looking to Learn about Office Development & VSTO?
- Integrating External Document Repositories with SharePoint Server 2007
- SharePoint: temporary solution for GetCustomProperty and SetCustomProperty errors
- SharePoint: Best Practice about SharePoint List Iterations
- How to: Create a footer for your SharePoint pages
- Automatically marking up abbreviations and acronyms in SharePoint 2007
- SharePoint 2007 redirect solved: using 301 instead of 302 redirects
- New Case Study Involving Excel Services
- Business Intelligence: Using SQL 2008 Reporting Services and SQL Report Builder 2.0 with Log Parser
- Creating custom permission level in moss
- Visual Studio Tip/Trick: Add CAML IntelliSense for SharePoint Features
- Introduction to Exchange Online – Uncovering BPOS (Part 1)
- Introduction to Exchange Online – Uncovering BPOS (Part 2)
- How to create a MOSS 2007 web part that has an image and a link by using picture library
- SharePoint Customization Tricks – Part 1
- How to Evaluate a SharePoint Consultant…
- Getting Started with Visual Studio Extensions for Windows SharePoint Services 1.3 (VSeWSS)
Posted in SPLinks | Leave a Comment »
SharePoint Object Dispose Guidance
Posted by Steve Pietrek on February 2, 2009
Last week, the Microsoft SharePoint team released SPDisposeCheck. SPDisposeCheck is a tool which will check your code and alert you when SharePoint objects are not being disposed of properly. Keith Dahlby has a good post where he warns people that SPDisposeCheck is not 100% perfect and should not be the end all. After the SPDisposeCheck tool was released to the public last week, I ran it against my source code for a decent size project I finished up with a few weeks ago. Fortunately, there were no issues reported. I am not posting to gloat; rather list things I did and resources I used to improve my code to avoid leaks.
Posted in SPDev | Leave a Comment »
Links (2/1/2009)
Posted by Steve Pietrek on February 1, 2009
- **** Best Practices: Using Disposable Windows SharePoint Services Objects – updated 1/30/2009
- **** Automate SharePoint Dispose() code reviews with SPDisposeCheck
- **** SPList has no Url property?
- Hide Custom Actions
- Extending the web part framework – part 1
- Querystring parameters you should not use in your SharePoint application
- Expand and Collapse All Feature v1.0 Released
- Manage large SharePoint lists for better performance
- Free web part download: Show Icons for External Links
- SPDisposeCheck Is Not A Shortcut
- Programmatically Importing SharePoint Reusable Content
- Working with the SPFieldLookupValue Class in SharePoint
- Connecting With Excel Services in Microsoft Office SharePoint Server 2007 to Create a Controller Workspace
- How to Add a Rich Text Editor to your Custom Application Pages
- SharePoint SPQuery Obtaining Distinct Results
- Complex SharePoint Web Part Properties
- Subscribe to SharePoint Web Parts using Internet Explorer 8 Web Slices
- SharePoint Development and Application Lifecycle Management
- Read only field in SharePoint EditForm.aspx
- Making a Custom Ribbon Appear Only for a Custom Outlook Form
- Browsing SharePoint using WebDav from Windows 2008
- Blocking the use of the Content Editor Web Part in SharePoint Server 2007 Publishing Sites
Posted in SPLinks | Leave a Comment »

