- New release for SPExLib with SharePoint Linq extensions
- Taming the Elusive “Calculated Column” – Date and Time – Part 2
- SharePoint Developer Productivity Tip #2 – Easy Site Column Features
- Step by step tutorial : using the Content Query Web Part /Enhanced Query Web Part (MOSS 2007)
- SharePoint Content Type, Document Template and Default Metadata Choice in Custom DIP
- Free SharePoint Master Pages
- Transitioning From SharePoint Designer to Expression Web
- Enabling an Information Policy for expiring content
- Put a windows form on a SharePoint web site
- Activating Content Type Feature at Web Application Scope
- Google Wave & SharePoint
- Sticky posts in SharePoint Discussion boards
Archive for May, 2009
Links (5/31/2009)
Posted by Steve Pietrek on May 31, 2009
Posted in SPLinks | Comments Off on Links (5/31/2009)
Links (5/28/2009)
Posted by Steve Pietrek on May 28, 2009
- Check that a user has a SharePoint MySite
- Create MySites using C# and the SharePoint 2007 object model
- How to redirect on new Page at Item Deleting in SharePoint ECB Menu?
- Render the all the column of links list through BaseFieldControl
- Clean up SharePoint’s UI with jQuery
- Data View Web Part, The Basics – Keep it Clean
- Data View Web Part, The Basics – Multiple Edit Forms
- SharePoint can have Wildcard searching…
- Using jQuery to Display Image Thumbnails in a Document Library
- Be Careful Using PublishingWeb.GetPagesListName()
- Creating Lists using SharePoint Object Model
- SPWebConfigModification Works Fine
- Control the Content Types in the New menu via code
- How to set the Outcome/Workflow Status column to Approved or Rejected while using the SpWorkflowTask.AlterTask API to alter the tasks programmatically?
- Custom Field Controls in Data Form webpart does not save data in Database
- Synchronize with SharePoint under the hood
- TunnelPoint and ProduShare
- Top Blogger Web Part – No code required
- You Can Pry SharePoint Designer From My Cold, Dead Hands
- Silverlight Video: MOSS and OpenText Deployment Overview
- Secondary Workflow Example in SharePoint Designer
- An Alternative for the Modal Popup in SharePoint 2007
- Populating the BDC Field of a SPListItem from client application
- Custom Bound Fields in FieldGroup
- HOW TO : Customize the Enterprise Search in MOSS 2007
- Results from the SharePoint Implementation Approach Survey
Posted in SPLinks | Comments Off on Links (5/28/2009)
Error during Search Crawl (Post SP2)
Posted by Steve Pietrek on May 27, 2009
Last week I ran into an interesting issue while preparing for my presentation at COSPUG Show & Tell. The application I demo uses Search results for displaying documents. Typically, I turn off full and incremental crawls in my VM to save a few cycles. Since my demo relies I search, I set the search schedules and waited; unfortunately after the incremental crawl ran a few times, none of my search results were returning anything. I then manually kicked off a full crawl – again no results. Dang, maybe my search index is hosed? Reset the index and full crawl – no results.
I checked out the Event Viewer and had tons of these messages (every time a full or incremental crawl ran):
Event Type: Warning
Event Source: Windows SharePoint Services 3 Search
Event Category: Gatherer
Event ID: 2436
Date: 05/20/2009
Time: 12:30:41 pm
User: N/A
Computer: SERVERNAME
Description:
The start address <http://servername:20000/sites/sitename> cannot be crawled.Context: Application ‘SharedServices1’, Catalog ‘Portal_Content’
Details: The object was not found. (0x80041201)
OK, not a helpful error message. Searched Google and lots of resolutions related to AAM and other things which didn’t seem to fit my scenario. I then checked out the Search Logs in the SSP and found the following errors:
The object was not found. (The item was deleted because it was either not found or the crawler was denied access to it.)
The object in my case was http://servername:20000/. Which is interesting because I don’t have a site at the root. Hmm. Let’s add a blank team site at the root and try again. Yeah! Success! Search works!
Summary:
- SP2 (or a update between SP1 and SP2) made having a site at the root to search a requirement. I have talked to a few SharePoint administrators and they all said I should have had a site at the root anyway (Sean McDonough had a blog post from 2007 on the subject); however, search was working fine prior to installing SP2 without the root site.
- Lesson learned. If you have a separate VM for demoing, leave well enough alone and avoid rocking the boat by upgrading (or at least ensure you have enough time to dry-run your demo) unless you absolutely need to. Would have looked like a real sap if I didn’t find the search issue prior to delivering my presentation.
- SharePoint has many locations to find errors. Just a matter of looking in the right location.
Posted in SPErrors, SPSearch | Comments Off on Error during Search Crawl (Post SP2)
Links (5/25/2009)
Posted by Steve Pietrek on May 25, 2009
- “The security validation for this page is invalid” when calling the SharePoint Web Services
- STSADM Technical Reference Chart
- Using SharePoint Object Model to add entries to web.config
- jQuery – Content Management Web Part
- Retrieving an Item from the RootWeb and Subwebs using its UniqueId
- How to allow Full Control permission to a user in a SharePoint List
- Get SPList from List URL
- SharePoint: SPList.Clear() extension method
- Customizing the Site Actions menu
- CompleteSharepoint.NET v2.0 – Content Management System Built on Top of WSS 3.0 – Documentation
- SPDevExplorer – edit SharePoint content from within Visual studio (1)
- SPDevExplorer – edit SharePoint content from within Visual studio (2)
- SPDevExplorer 2.1 – edit SharePoint content from within Visual studio (3)
- SPDevExplorer 2.3 – Edit SharePoint content from within Visual Studio (4)
- Consume Reusable Content outside of Page Content field Controls
- WSRPConsumerWebPart does not have unique ID for userContextKey
- Timer Job Status Page
- Accessing columns in the User Information List
- Content Query Web Part example
- Manage WebParts of Page Layouts through a feature: Resolving the “AllUsersWebPart”-pain – Part 1
- Manage WebParts of Page Layouts through a feature: Resolving the “AllUsersWebPart”-pain – Part 2
- Modify a date-time value field in Event Handlers – Through AfterProperties
- Reusing SPSchedulePicker Control
- The marvellous SPList.RenderAsHtml
Posted in SPLinks | Comments Off on Links (5/25/2009)
Post-SP2, Check your License
Posted by Steve Pietrek on May 21, 2009
Sean McDonough sent out an email to the Cardinal team today letting us know there have been reports that after installing MOSS SP2, the license reverts back to Trial. To check, go into Central Admin > Operations > Convert License Type and see what your license is. If you are back to Trial, re-enter your license and you should be good to go. It appears to affect both Project Server 2007 and MOSS 2007. I had reverted back to Trial when I checked my license.
Posted in SPAdmin | Comments Off on Post-SP2, Check your License
Links (5/21/2009)
Posted by Steve Pietrek on May 21, 2009
SharePoint
- Excel Services Getting Started – Pt4 Web Service APIs
- Introducing SharePoint Extensions Lib – Great idea. I have a few extensions I could pass along as well.
- Determine the URL of SharePoint Web Services using jQuery/Javascript
- How to programmatically complete Approval workflow task
- Developing SharePoint WebParts using User Controls and Web Applications
- Tip: The untold story of Audit Logs in SharePoint
- Applications Can’t Use SharePoint Master Pages
- MOSS: Using the List Web Service to Rename a File
- Making SharePoint Title a Calculated Column
- Getting SharePoint Site/Web Context in a Console Application
- Common Problem MySite and MyLinks don’t show up
- Running a WCF service in the context of a particular SharePoint 2007 web (or subweb)
- Customizing the AssetUrlSelector
- Multi-Value Columns in SharePoint Designer – Solution #1
- 22 Minute Screencast: SharePoint Designer Workflow – Part 3
- Guest Blog by FiveSix Consulting’s Tamara Austerlade – 6 Tips for a Successful SharePoint Demo
- Simplified People and Groups pages in SharePoint
- Use jQuery to populate and hide fields in an EditForm.aspx
- Show Site, List or Item information on Pages
- Rich Text Fields in SharePoint Document and Picture Libraries
- SharePoint on the iPhone?
- Exposing Enterprise Search in SharePoint Server 2007 by using Internet Explorer 7 and the Office Research Pane
- Customize SharePoint RSS Feeds
- Usenet Newsgroup Browser in SharePoint
- SharePoint Interview Questions and Answers
- How to configure the SharePoint people picker to search for users in other domains
- TDD with SharePoint – the best movie ever
- SPWebConfigModification adds the entry in web.config, but does not remove it
- Optimizing SharePoint SQL Databases and Top Performance Killers
- Multi-Source Search in SharePoint
- SharePoint Groups vs. Active Directory Groups
- New version of our “Assembly free” Timesheet Application
Office
Posted in SPLinks | Comments Off on Links (5/21/2009)
Unit Testing with SharePoint and ASP.NET – TypeMock Isolator
Posted by Steve Pietrek on May 19, 2009
Unit Testing ASP.NET? ASP.NET unit testing has never been this easy.
Typemock is launching a new product for ASP.NET developers – the ASP.NET Bundle – and for the launch will be giving out FREE licenses to bloggers and their readers.
The ASP.NET Bundle is the ultimate ASP.NET unit testing solution, and offers both Typemock Isolator, a unit test tool and Ivonna, the Isolator add-on for ASP.NET unit testing, for a bargain price.
Typemock Isolator is a leading .NET unit testing tool (C# and VB.NET) for many ‘hard to test’ technologies such as SharePoint, ASP.NET, MVC, WCF, WPF, Silverlight and more. Note that for unit testing Silverlight there is an open source Isolator add-on called SilverUnit.
The first 60 bloggers who will blog this text in their blog and tell us about it, will get a Free Isolator ASP.NET Bundle license (Typemock Isolator + Ivonna). If you post this in an ASP.NET dedicated blog, you’ll get a license automatically (even if more than 60 submit) during the first week of this announcement.
Also 8 bloggers will get an additional 2 licenses (each) to give away to their readers / friends.
Go ahead, click the following link for more information on how to get your free license.
Posted in SPDev, SPTools | Comments Off on Unit Testing with SharePoint and ASP.NET – TypeMock Isolator
Speaking at COSPUG Show-N-Tell
Posted by Steve Pietrek on May 18, 2009
I’ll be speaking at the COSPUG Show & Tell event on May 22nd. My topic is as follows:
Business Track: Legal & Regulatory Compliance through Advanced Document Management
SharePoint is a great tool for sharing, securing, and centralizing the management of documents and content. Managing these assets through SharePoint provides administrators with a number of capabilities to help satisfy legal and regulatory compliance initiatives (basic auditing, versioning, reporting and document policies). In this session we will examine how organizations can extend SharePoint functionality to automate document disposition and retention and provide legal holds throughout their SharePoint environment and in accordance with their regulatory needs and processes.
The COSPUG SharePoint Show & Tell is an educational, informative & lively day filled with sessions from users within the SharePoint community. During each session, presenters will show real life examples of the different uses of SharePoint within their organization. SharePoint Show & Tell is FREE, open to the public and is your local chance to learn firsthand what others are doing with SharePoint! The event details are as follows: Friday, May 22, 2009 8:00 AM – 4:30 PM @ the Microsoft Polaris office. Click here to register! Space is limited, so register early!
Posted in SPConferences, SPUserGroups | Comments Off on Speaking at COSPUG Show-N-Tell
Links (5/17/2009)
Posted by Steve Pietrek on May 17, 2009
- The Summary Toolbar in a ListView Web Part
- Specifying relative URLs to Silverlight WCF EndPoints
- Developing Application Pages for SharePoint
- How-To: Overcome missing Exists() function on SharePoint objects like SiteGroups, RoleDefinitions, Lists etc.
- SharePoint Generic Wrapper for Silverlight with initParams
- Rounded Corners in SharePoint
- Passing Multiple Query String Variables Using SPD – Follow Up on Creating Parent / Child List Relationships
- April Cumulative Update Packages Ready for Download
- Doing Agile in a Team of One
- What are SharePoint Content Types?
- Working with Structured Data in Microsoft Office SharePoint Server 2007 (Part 4): SharePoint Designer
- How-To: Create a SharePoint list programmatically
- Ever wanted to remove non business hours from SharePoint Calendars?
- How To Change the Default EditForm, NewForm and DispForm
- SharePoint Designer Gotcha: Where’s the “action” in my Form Action button?
- Working with Structured Data in Microsoft Office SharePoint Server 2007 (Part 4): SharePoint Designer
Posted in SPLinks | Comments Off on Links (5/17/2009)
Links (5/14/2009)
Posted by Steve Pietrek on May 14, 2009
SharePoint
- Pointing the ListViewWebPart at a particular view
- Sort SPFolder in SharePoint
- SharePoint: SPList.HasView() extension method
- SPQuery Value Type Lookup Fails on Indexed Columns
- SharePoint Search Results: Adding a link to the view properties page of a document
- Steps to get the Reporting Services SharePoint Add-on Installed
- Custom Timer Job in SharePoint
- Workarounds for ItemAdding/ItemAdded Event Handlers
- The impact of browser speed on your SharePoint app
- SharePoint Saturday Chicago – June 13th
- MOSS 2007 – create your own customized usage report solution step by step
- SharePoint Development MVP Panel Discussion Review
- Figuring out a alternative to Cross-Site Lookups
- SharePoint guidance v2 – drop 9
- How to Disable Property Promotion In WSS
- Update on SharePoint forms based authentication(FBA) and Office client
- How to Configure SharePoint Treasure (Synonym) In MOSS 2007
- SharePoint is not a Database!
- SharePoint and Silverlight – Displaying Silverlight in a Page
- Enumerate Role Assignments to retrieve Groups and Users Permissions – Generating a complete report
- Add Alerts to All Sites
- Using Word QuickParts to Enter Metadata for SharePoint
- JQuery for Everyone: Accordion Left-nav with Cookies Speed Test
- Code Console Web Part
- Pointing ListViewWebParts at lists
- April Cumulative Update Packages Ready for Download
- SharePoint Cumulative Update Packages (April 09)
- Data View Web Part (DVWP) Series
- SharePoint for Developers Tour Part II
- Application Pages like a Site’s Pages
- UpdateListItems vs ProcessBatchData to create Folders
Office
- InfoPath 2007 to PDF Conversion: So Groovy!
- Part 1. VSTO Bug Tracker : The Data
- Part 2. VSTO Bug Tracker : The Web Service
- Part 3. VSTO Bug Tracker : A UDF
- Part 4. VSTO Bug Tracker : Getting the data into Excel
- Part 5. VSTO Bug Tracker : Using Cached Data
- Part 6. VSTO Bug Tracker: Word Report Generation
- Part 7. VSTO Bug Tracker : Using Document-Level Features in Add-Ins
- Part 8. VSTO Bug Tracker : Using a Ribbon
Posted in SPLinks | Comments Off on Links (5/14/2009)
Links (5/10/2009)
Posted by Steve Pietrek on May 10, 2009
- Programmatically creating a SPFieldCalculated
- Web Browser support for SharePoint 2007 with SP2
- MOSS2007 – Incoming Email (Multi SMTP Domain Configuration)
- ChartPart for SharePoint 2.0 video demonstration
- SharePoint 2007 – Inline CSS Styles to Customize Pages
- Customizing the ContentQueryWebPart: Custom XSL Files, Subclassing, Passing Parameters and more…
- UpdateListItems Web Service fails when using item level permissions
- zevenseas FeatureBlocker updated
- Form Web Part
- Release version of our “Assembly free” Team status Template
- Bringing TunnelPoint to the “Assembly Free” solution party
- How to install MOSS 2007 SP2 on Windows 7 RC (build 7100)
Posted in SPLinks | Comments Off on Links (5/10/2009)
Links (5/7/2009)
Posted by Steve Pietrek on May 7, 2009
SharePoint
- Using jQuery in SharePoint to Display Notifications for Open Tasks
- Querying SharePoint List Items using jQuery
- Excel Services Getting Started – Pt3 EWA
- Creating a Line of Business Application with SharePoint and Word 2007 – Part 1: Creating the Ribbon and Actions Pane Control
- SharePoint of the Day #27
- How to customize the Item Form pages for the SharePoint Lists such as NewForm.aspx, DispForm.aspx and EditForm.aspx
- Teeny-Tiny Rich Text Boxes
- Customizing the ContentQuery WebPart: How to create Header/Footer, UL/LI and other “impossible” things
- MCTS 70-631: WSS3.0 Configuration Certificate
- Event Receivers on Content Types
- SharePoint in Web 2.0 FireStarter…
- Automaticity approving comments from internal members on your Blog
- Comprehensive list of development tools for SharePoint Server 2007
- SharePoint Tip/Trick: Specifying a Relative Portal Site Connection Link
- SharePoint Saturday DC – Calendaring in SharePoint, How did it go?
- zevenseas Tools Recap
- FAST search engine for SharePoint PART 3 (Content Sources and Connectors)
- Event Handlers cannot be triggered by an anonymous user
- SPSource v1.0.0.0 Released!
- Running SharePoint on Windows 7
- Installing WSS 3.0 SP2 / MOSS SP2 on Windows 7 RC
- Contextual Search Results Page Redirection via HTTPModule
- showing items saved to My links on sharepoint site filtered by group
Office
Posted in SPLinks | Comments Off on Links (5/7/2009)
Quick Way to Add Web Parts to Page
Posted by Steve Pietrek on May 5, 2009
As most SharePoint consultants, I would quite a bit with end users. Invariably I get asked the following question. “Can you talk with Microsoft and see if they can add a feature to allow me to specify how many Web parts to add to a page at a given time?”. Unfortunately I don’t have a Bat phone into Redmond, but I have an option.
If I want to add three Content Editor Web Parts (CEWP) to a page, do the following:
- Select Site Actions > Edit Page
- Click the “Add web parts” link in the Web Part Zone you want to add the CEWP.
- In the “Add Web Parts” dialog, check the CEWP option and click the Add button.
- To add the second CEWP, click the F5 button.
- Bam! A new CEWP has been added.
- Click F5 again to add the third CEWP.
You can add as many as you want by repeatingly clicking the F5 button. If you want the CEWP to another Web Part Zone, click F5 to add it and drap and drop it to the new Web Part Zone.
Posted in SPUI, SPWebParts | Comments Off on Quick Way to Add Web Parts to Page
Links (5/3/2009)
Posted by Steve Pietrek on May 3, 2009
SharePoint
- Join SharePoint Lists with LINQ
- Creating and Working with SharePoint Timer Job Definitions
- Where is My Timer Job?
- Building Excel 2007 and Excel Services Dashboards by Consuming Two-Dimensional Data from Web Services
- Getting XML Data From a SharePoint List – The Easy Way
- Inconvenient opening sites – SPSite.OpenWeb()
- Developing for Office and SharePoint Server 2010 (Christin Boyd)
- Building a MOSS Workflow with Visual Studio 2008 and InfoPath
- SharePoint SDK 1.5 (April 2009) Released!
- Why SharePoint Projects Fail
- Extracting a WSP file from a SharePoint farm
- Service Pack 2 for SharePoint Products and Technologies (white papers)
- Set SharePoint navigation tree to only expand to the current node
- Background jobs will not always work against Forms Based Authentication configured servers
- MOSS2007 – Using the Search API (Part 1)
- New in SP2 PreUpgradeCheck
- XSLT converted Web Part (list view) breaks Item level permission as per the UI
- Howto disable autocomplete for an entire SharePoint farm
- Red is Green, Up is Down and the Unsupported suddenly becomes Supported!
- Error Importing Sites with Calculated Columns
Office
Posted in SPLinks | Comments Off on Links (5/3/2009)