TwitterLinkedInBlog

Thursday, October 29, 2009

SP2010 Beta - New End User Features

Visual Upgrade with preview.

Lists can have millions of items. UI will make navigation of millions of items easier.

Save site as template creates a .wsp. Developers can upload .wsp into VS2010 as a new project.

Relationships between lists that allows you to cascade deletes or block deletes. Transacted deletes and other changes with lists.

Item-level and list-level validation. Excel-like formula-based validation. Built in to edit field of a list in list settings. You can make a column unique. Unique list of contacts, for example.

Lookup to multiple columns.

List Query Throttling.

Visio 2010 Workflow Design. Visio > SPD > Visio > SPD > VS2010 = Development Continum. You can modify the built in workflows using SharePoint Designer 2010. SPD Workflow can be tied to content types. SharePoint Designer can now use InfoPath forms for workflow forms (Init, Assoc, Task).

Site Workflow. Doesn't have to bind to a list. Site Actions > Site Workflows. Workflows can be scoped to Site level, not just list level (and globally reused from designer).

Context sensitive ribbon uses Ajax to reduce round trips.

Notification area of the ribbon - allows you to pop a message.

Dialog Framework - Allows you to pop up a dialog. Standard SharPoint page with a URL.

Silverlight list and site creation UI - if silverlight is installed. If not installed, see old UI.

Web Part Versioning.

Offline w/ SPWorkspace.

Office Web Apps - Lite Version.

Knowledge Mining - Key phrases mined through user's sent box in Outlook 2010.

Social tagging (Content), Expertise tagging (People).

Bookmarking = Delicious. Replaces My Links.

Feedback - 5 star metaphor.

Note board = Facebook Wall.

"SharePoint Fluent User Interface, or the Ribbon, complete w/ Live Preview functionality".

Individual blogs and team blogs.

Managed Metadata - Centrally define taxonomies that can leveraged in and across farms. Tags are hierarchical. New Managed Metadata field type (which offers auto completion of tags). New Enterprise Managed Metadata (EMM) service from Central Admin. New service architecture allows admins to extend and share metadata configuration across sites and farms. Enterprise Content Types - publishable across farms using new service architecture.

Unique Document IDs - Embedded within a special URL, allows user to retrieve doc even if moved. Emailed links will work even if doc is moved.

Advanced Routing. In-Place Records Management. Documents that are records can live along side non-records in the same document library.

Document Sets - All docs have same metadata, versioned as a whole, initiate workflow on entire set as a whole, custizable Document Set Welcome Page. Document Sets allow execution of a single action against multiple documents (reduce repetitive work).

Skinnable Silverlight video player.

Web Analytics with corresponding web parts.

Search - Alert will rerun the query at scheduled intervals and notify user via email or text message of changes to the result. Search Refinements - auto determined using tags and metadata. Social Search - People search center. Search makes it easier for people to find experts faster. For instance, if you are looking for a person with product sales experience, your search results will show the person's profile, including notes, ratings and their activities. SharePoint Search will use phonetic and multi lingual comparisons to find your documents.

Tagging is unified in Sharepoint. For example, in a profile you can see tags that are associated with the person who appears in your search results.

Project Tasks can have predecessors (force completion of tasks before others finish).

Adding files via Explorer view will leave them checked out when required fields are present. Users must check in and add the fields.

Validation on Site/List/ListItem names - invalid characters are checked.

Visio diagrams can be linked to external data and refreshed on SharePoint Sites.

Social computing - Activity Streams. Tagging is part of a user’s Activity Stream. You can see on a user's profile that s/he tagged an element.

Team sites are now wiki-oriented. Users can use wiki editing commands. "wikis everywhere".

Reporting Services is integrated. No add-in to install. New charting controls are free and look good.

SMS messaging can be setup for alerts, invites and notifications.

Calendars may be layered on top of one another.

Friday, October 23, 2009

SP2007 - How to hide the search scope dropdown and default to a custom scope with a space in the name

<...SearchBoxEx ... DropDownMode = "HideScopeDD" AppendToQuery="false" AppQueryTerms="Scope:&quot;My Scope&quot;" ... />

Update:
Since hiding the dropdown disables the scope parameter passed into the search results page, the customized search results page wasn't receiving the s parameter it was expecting. I ended up changing the DropDownMode back to ShowDD and added the following jQuery to a CEWP on just the home page:

<script type="text/javascript" src="/_layouts/jQuery/jquery-1.3.2.min.js"></script>

<script type="text/javascript">
$(".ms-sbscopes").hide();
</script>

Thursday, October 15, 2009

SP2007 - How to get SPWeb Url from full Url

Uri fullWebUrl = new Uri("FullUrl");
string webUrl = fullWebUrl.LocalPath;

Wednesday, October 14, 2009

SP2007 - Search ResultTable Columns

WorkId, Rank, Title, Author, Path, Write, SiteName, CollapsingStatus, HitHighlightedSummary, HitHighlightedProperties, ContentClass, IsDocument, PictureThumbnailUrl

Tuesday, October 13, 2009

SP2007 - Why is my timer job executing twice?

I have seen many blog comments referring to a developer's timer job executing twice, but no solutions. It's happening to me and I'm determined to figure out why this week. I'll post the solution when I find it.

Newest Update: From the comment below:
Clemens said...
I just found:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spjoblocktype.aspx
you should use SPJobLockType.Job instead of SPJobLockType.ContentDatabaseJob in the Jobs constructor.
SPJobLockType.ContentDatabaseJob executes for every DB, the other only once per mashine

Older Update: Thanks to this blog entry...
rafelo: SharePoint Timer Jobs Running Multiple Times
...I looked through the logs and the job was running once for each content database! I verified the guids of the content databases by going to Central Administration > Application Management > Content Databases and hovering over the link to each. The guid is in the query string (DatabaseId).

Notice the signature of the method:
public override void Execute(Guid contentDbId)
{
...
If (mySiteCollection.ContentDatabase.Id.Equals(contentDbId))
{
... // put your code here and it will only run once for the targeted site collection.
}
...
}

Windows - How to remove a file extension association

assoc .ext=