Webcasts & Events

  02/22/2012 - Enhancements of SharePoint Service Pack 1
  02/23/2012 - Bridging the Gap on SharePoint for the Legal Industry: Redlining and Redaction in SharePoint
  02/24/2012 - Unleash Your Productivity: Improve Productivity & Stay Connected
  03/23/2012 - Unleash Your Productivity: Improve Productivity & Stay Connected

 Connect

 Resources

  SharePoint Resources
  Business Intelligence Resources
  Upcoming Webinars

 TheSharePointBlog Update SharePoint 2010 List Item Pages with InfoPath Designer

Ranked 5.0  out of 5. Rate This Post!     

By: Arjun Chakraborty

Introduction:

Back in SharePoint 2007, if you wanted to change the NewForm.aspx, DispForm.aspx or EditForm.aspx, you had to use SharePoint Designer.  However, with SharePoint 2010, you have the option of using InfoPath to edit these pages.  The only requirements are that the “SharePoint Server Enterprise Site Collection features” site collection feature is activated, and that InfoPath is installed on your machine.

For those who are not familiar, NewForm.aspx, DispForm.aspx and EditForm.aspx are pages associated to a SharePoint list, and they appear when a user creates a new item in the list, viewing the properties of an item within the list or editing the properties (metadata) of an item within the list, respectively.

How to Edit These Pages Using InfoPath:

Activate “SharePoint Server Enterprise Site Collection features” Site Collection Feature.

1)   Go to Site Settings, from the root site in the site collection.

2)   Click on Site Collection Features.

 TheSharePointBlog SharePoint 2010 Status Lists

Ranked 5.0  out of 5. Rate This Post!     

By: Robert Christ

Introduction to Status Lists

Anyone who has poked around SharePoint 2010 knows that one of the most touted features of SharePoint is its ability to rapidly and easily display data in clear reporting forms.

If you aren’t of a mind to delve into Excel Services, SQL Service Analysis or PerformancePoint, you are not out of options.  SharePoint 2010 also offers the Status List feature.

SharePoint_2010_Status_Lists

Figure 1 - Example of a Status List

Status lists are a relatively simple feature.  In short, they allow a user, with the click of a few buttons, to query a list on a SharePoint site, and determine if the items in that list (hence force called the data list) meet a condition of one type or another.

For example, you can make a Status List Item (called a KPI, there are three shown in the picture above) to determine if >50% of all items in the data list have a column value > 2, or perhaps just report on whether the data list has greater than or less than a certain number of items in it at any one time.

If you’re particularly clever, you’ll realize that you can also create these KPIs to report based on views within the data list.  By configuring a view to filter according to a certain set of v...

 TheSharePointBlog Adding video to your Document Set Welcome Pages

Ranked 5.0  out of 5. Rate This Post!     

By: Neil Barkhina

When I first got introduced to document sets in SharePoint 2010, the thing that initially caught my eye among the various Microsoft demos was the ability to include a video on the Welcome Page of your document set. However, what I quickly realized is that the video was always the same because document sets all share the same welcome page. Now let’s say you wanted to create your own Video Library in SharePoint 2010. My first thought was to use document sets because they are great at grouping various documents about the video in addition to the video itself. Also there was the added benefit of being able to share the same metadata tagging across all the documents for a particular video. However using the out of the box Silverlight Video player, there was no way to specify a separate source video file for each document set. So what I found myself doing was writing a light weight Visual Web Part to do that task.

The first step was to copy and paste the markup from the out of the box Media Web Part into the design view of my Visual web part. The only change I made to the outside tags was the width and height parameters:

<div style="width:640px;height:360px;">

<object id="ctl00_m_g_4b3fb4b5_9a94_4eb8_aedd_f693bdb313ef" type

 TheSharePointBlog Adding autocomplete to any field using jQuery UI and SharePoint's Rest API

Ranked 5.0  out of 5. Rate This Post!     

By: Omar Stewart

 

In SharePoint 2007 getting retrieving data asynchronously on the client side wasn't the most straightforward thing to get done. To circumvent these challenges, many had to look to third party wrapper libraries such as SPServices. SharePoint 2010 alleviates this problem by providing a wonderful REST API that allows for easy, and clean querying.

 

Using the Rest API we can worry less about the technicalities associated with retrieving data and more about our client-side goals. These API's help us to leverage third party libraries to help create SharePoint-Backed applications, that are modern and up-to-speed with the ever evolving world wide web.

 

In this example we'll use jQuery UI to add autocomplete to a standard text field. The autocomplete will pull its suggestions from a standard SharePoint list. While SharePoint 2010 introduces Managed MetaData that effectively recreates this effect, in some cases its just a little heavier than what we need.

 

For our Scenario we'll create a standard SharePoint survey that will go out to employees to gather information on what they would like to see at the company Christmas Party. We'll create a list of drinks that we can use as suggestions when asking for an employee's drink of choice.

 

First we'll create a list of drinks:

 

 TheSharePointBlog Declaratively create a list with a hidden Title Field in SharePoint 2010

Ranked 5.0  out of 5. Rate This Post!     

By: Arjun Chakraborty

Sometimes, I have to create lists declaratively.  For those who don’t know what that means, it’s adding Lists to a SharePoint site when a SharePoint Feature.  The list is not created through C# code behind a feature receiver.  Instead it is created through an Elements.xml and a Schema.xml.  The Schema.xml file describes the list; What views are there?  What content types are there?  What fields are there?  The Elements.xml adds the described list into SharePoint as a List Template.  Finally, the user can then create an SPList using the declared template.

However, one of the big challenges I’ve had is removing the Title field, or at least making it non-required.  Back in SP2007, you could use the <RemoveFieldRef> tag, to remove the Title Field.  Unfortunately, this tag no longer seems to work in SP 2010.  If you find a work around for content types, feel free to post in the comments!

As for lists, I got around this by explicitly declaring a custom content type, inheriting from Item, within the list’s schema.  I then explicitly declared the Title column within the custom content type, and set the hidden attribute to true.  Now, when a user creates a list with this template, the Title field will be hidden from users, and not required.

Here’s how:

      1)   Open Visual studio 2010.

2)

 TheSharePointBlog Highlighting Recently Replied To Discussion Items

Ranked 5.0  out of 5. Rate This Post!     

By: Kathryn Bartlett

In this post we will demonstrate using the Conditional Formatting feature of SharePoint Designer 2010 to highlight items in a discussion board that have received a new reply within the past two days.  First, we will need to create a calculated date column in our discussion board to compare the current date to.    Suppose we have the following discussion board:

Highlighting_Recently_Replied_To_Discussion_Items

For this post, I will call this column “Highlight Threshold”, set it as a Date and Time column with a Date Only format.  For the formula, we will be adding two days to the existing “Last Updated” column, as this is the column that updates upon receiving a new reply, not the Modified column.  Note that this column must appear in the view, or the conditional formatting will disappear.

Highlighting_Recently_Replied_To_Discussion_Items

Now let’s open up SharePoint Designer 2010 and open the site this discussion board lives on.  From here, click on “Lists and Libraries” and then click on your discussion board in the main pane.  Right-click the “Subject” view and select “Edit File in Advanced Mode”.

Highlighting_Recently_Replied_To_Discussion_Items

Click anywhere inside the web par...

 TheSharePointBlog Securely Deploying ASP.NET Web Services in SharePoint 2010 (Part 1 of 2)

Ranked 5.0  out of 5. Rate This Post!     

By Christian Holslin

Part 1: The Business Case and Step-by-Step Summary

Introduction

If you have ever found yourself the caretaker of a SharePoint farm you have probably pondered an appropriate strategy for governance.  SharePoint offers excellent governance options for its own content, but what happens when you introduce customizations into the environment?

Event Receivers and Workflows are bound to the same security constraints as the items they operate against, with programmable exceptions, but cannot be explicitly invoked without the user possessing the appropriate rights to the item itself in the first place.

Web Services and Governance

Classic ASP.NET Web Services, on the other hand, are a bit more lax in their security policy.  Deploying a Web Service to SharePoint provides many valuable options:

  • Automate repetitive and/or labor-intensive operations
  • Provide data to web parts and forms
  • Interoperate with .NET or 3rd party applications
  • Feed data to SharePoint

The list goes on and on.  When you deploy a classic MyService.asmx Web Service to the “Layouts” folder, it can be acc...

 TheSharePointBlog Default List Views in SharePoint Client Object Model

Ranked 5.0  out of 5. Rate This Post!     

By: Neil Barkhina

The SharePoint client object model is very versatile at interacting with the SharePoint API from a remote location. Though almost everything can be done with the client object model, some things that are very easy to do in the native API takes a little bit more leg work. One of those examples is the way you interact with lists and libraries. All functions that collect data must be queued up and executed as a batch using the ExecuteQuery function. In this post we will look at the way you would get a Default ListView.

In the native API, iterating through list items from the default view can be done by calling SPList.GetItems(SPList.DefaultView). Unfortunately the client object model doesn’t have a DefaultView property on lists, but they can still be accessed by doing the following.

Authentication

First you need to authenticate against the site by creating a ClientContext Object and passing in the URL of your SharePoint site

ClientContext clientContext1 = new ClientContext("https://mysite.test.com ");

            clientContext1.AuthenticationMode = ClientAuthenticationMode.Default;

            NetworkCredential credentials = new NetworkCredential("test", <...

 TheSharePointBlog Parent Web Content Types do not appear on Child Web Content Type List in API

Ranked 5.0  out of 5. Rate This Post!     

By: Arjun Chakraborty

Today, I would like to note that although site content types from parent webs appear on the content type gallery in a child site, this is not necessarily true within the SharePoint API.  When iterating through the child SPWeb’s SPContentType list, you will not find any of the content types created in a parent site.  To demonstrate this, I will show you a simple site collection, where there is one root site, with a custom site content type, and a subsite, with a list that uses the custom site content type, as a list content type.  I will also use a workflow in the subsite’s list, to demonstrate what I mean.

Setup:

Here is the Root site, with its custom content type, based on the ‘Item’ content type:

Parent_Web_Content_Types_do_not_appear

Here is the subsite, with the demonstration list:

Parent_Web_Content_Types_do_not_appear

Inside the list, we see one item, coincidentally of the same content type as the one in the root site:

Parent_Web_Content_Types_do_not_appear

We will be running a w...

 TheSharePointBlog Finding a Feature by Feature ID in SharePoint 2010

Ranked 5.0  out of 5. Rate This Post!     
By: Robert Christ
 
Recently, I stumbled across one of the most helpful blog posts I’ve seen since I started developing for SharePoint 2010.  Wouter, over at blogs.code-counsel.net has created a small, <40 line console application that iterates through the Features directory of a SharePoint installation, and outputs a list of every feature, feature title and feature id installed on the SharePoint Farm.

Why is this helpful you ask?

There are at least two different times when this tool is absolutely necessary.

  • Creating new sites from site templates and receiving the following type of error.

Finding_a_Feature_by_Feature_ID_in_SharePoint_2010

  • Looking at a ULS log, and it mentions a feature ID.

To my knowledge, this little console application is the best way to figure out what feature should be turned on, when the error message only shows you the feature ID.  Simple compile it or something similar on your own, and you will have a great reference of which feature IDs mean which actual features.

If you do use the same code as in Wouter’s example, and are using SharePo...

      

 Subscribe

  The SharePoint RSS  Gig Werks Mailing List 

 Contact Us

 Archives

Update SharePoint 2010 List Item Pages with InfoPath DesignerUse SHIFT+ENTER to open the menu (new window).
SharePoint 2010 Status ListsUse SHIFT+ENTER to open the menu (new window).
Adding video to your Document Set Welcome PagesUse SHIFT+ENTER to open the menu (new window).
Adding autocomplete to any field using jQuery UI and SharePoint's Rest APIUse SHIFT+ENTER to open the menu (new window).
Declaratively create a list with a hidden Title Field in SharePoint 2010Use SHIFT+ENTER to open the menu (new window).
Highlighting Recently Replied To Discussion ItemsUse SHIFT+ENTER to open the menu (new window).
Securely Deploying ASP.NET Web Services in SharePoint 2010 (Part 1 of 2)Use SHIFT+ENTER to open the menu (new window).
Default List Views in SharePoint Client Object ModelUse SHIFT+ENTER to open the menu (new window).
Parent Web Content Types do not appear on Child Web Content Type List in APIUse SHIFT+ENTER to open the menu (new window).
Finding a Feature by Feature ID in SharePoint 2010Use SHIFT+ENTER to open the menu (new window).
Combining Open XML and Word Automation ServicesUse SHIFT+ENTER to open the menu (new window).
Using the ECMAScript Client Object Model with JQuery TemplatesUse SHIFT+ENTER to open the menu (new window).
Retrieving Column Metadata from SharePoint List Items in Item Event ReceiversUse SHIFT+ENTER to open the menu (new window).
Review of SharePoint Conference 2011Use SHIFT+ENTER to open the menu (new window).
Business Data Connectivity Service Application (BDCS, BCS), Secure Store Service Application (SSS), and Permission ErrorsUse SHIFT+ENTER to open the menu (new window).
Multiple Managed Metadata Default ValuesUse SHIFT+ENTER to open the menu (new window).
Recovering From an Orphaned Timer Job on a Multi-Server FarmUse SHIFT+ENTER to open the menu (new window).
How to Setup an External List to Show a SQL Table or View, Using Business Data Connectivity Service (BDCS, BCS) and a Secure Store Service Account (SSS)Use SHIFT+ENTER to open the menu (new window).
Understanding External Content Types with BCS FiltersUse SHIFT+ENTER to open the menu (new window).
Two PowerShell Scripts to help with SharePoint DevelopmentUse SHIFT+ENTER to open the menu (new window).
Advanced Configuration Lists in SharePointUse SHIFT+ENTER to open the menu (new window).
Warning: List Permissions and Lookup Field Values – A Lesson in SecurityUse SHIFT+ENTER to open the menu (new window).
Help! I cannot connect to database master on my SQL server!Use SHIFT+ENTER to open the menu (new window).
Forms Based Authentication in SharePoint 2010Use SHIFT+ENTER to open the menu (new window).
PerformancePoint Scorecards with Custom KPIs and Calculated MetricsUse SHIFT+ENTER to open the menu (new window).
MyLinks in SharePoint 2010Use SHIFT+ENTER to open the menu (new window).
Web.Groups vs. Web.SiteGroupsUse SHIFT+ENTER to open the menu (new window).
Displaying a Document Library From a Different Site CollectionUse SHIFT+ENTER to open the menu (new window).
How to Update All Site Collection Administrators on a SharePoint FarmUse SHIFT+ENTER to open the menu (new window).
Using the SharePoint Object Model from a Console ApplicationUse SHIFT+ENTER to open the menu (new window).
Configuring the User Profile Service ApplicationUse SHIFT+ENTER to open the menu (new window).
Special Column Values in Item Event ReceiversUse SHIFT+ENTER to open the menu (new window).
Tools to Speed up SharePoint 2010 DevelopmentUse SHIFT+ENTER to open the menu (new window).
VMs: Converting a Pre-allocated Disk to a Dynamic DiskUse SHIFT+ENTER to open the menu (new window).
Creating and Accessing Visual Webpart Properties from JavaScriptUse SHIFT+ENTER to open the menu (new window).
How to Create an ASMX Web Service on SharePoint 2010, Using Visual Studio 2010Use SHIFT+ENTER to open the menu (new window).
I Can Finally Debug Without IIS Stopping Me!!!!Use SHIFT+ENTER to open the menu (new window).
Creating a SharePoint Loopback WorkflowUse SHIFT+ENTER to open the menu (new window).
How to Create WCF Web Service on SharePoint 2010Use SHIFT+ENTER to open the menu (new window).
Launching Quick Actions in a Modal DialogUse SHIFT+ENTER to open the menu (new window).
SharePoint Granular Backup DissectedUse SHIFT+ENTER to open the menu (new window).
Getting the Url for an SPListItem’s AttachmentUse SHIFT+ENTER to open the menu (new window).
Oh No! All the Data in My InfoPath Form Library is Gone!Use SHIFT+ENTER to open the menu (new window).
Creating a Simple, Flexible Slideshow with JQuery and the CQWPUse SHIFT+ENTER to open the menu (new window).
FAST Search Refinement Panel TipsUse SHIFT+ENTER to open the menu (new window).
Creating a SharePoint 2010 Timer Service using Visual Studio 2010Use SHIFT+ENTER to open the menu (new window).
Adding a Print View Link to Publishing PagesUse SHIFT+ENTER to open the menu (new window).
Removing an Orphaned Timer Job from SharePoint 2010Use SHIFT+ENTER to open the menu (new window).
SharePoint Recycle Bin Antics: “Dude where’s my free space?”Use SHIFT+ENTER to open the menu (new window).
The Gig Werks Solution ArchitectUse SHIFT+ENTER to open the menu (new window).
How to Change the Url For a SharePoint 2010 List or LibraryUse SHIFT+ENTER to open the menu (new window).
Helpful Debugging with SharePoint C Sharp Code Pt. 2Use SHIFT+ENTER to open the menu (new window).
Adding JavaScript NameSpaces to Your MasterPageUse SHIFT+ENTER to open the menu (new window).
Adventures in Uploading Multiple Documents in SharePoint 2010Use SHIFT+ENTER to open the menu (new window).
Too Fast for FASTUse SHIFT+ENTER to open the menu (new window).
Ahhh!! My Outlook Ribbon Does Not Show Up!Use SHIFT+ENTER to open the menu (new window).
Redirecting Your Data View Forms On SubmitUse SHIFT+ENTER to open the menu (new window).
Programmatically Reading SharePoint 2010 Discussion BoardsUse SHIFT+ENTER to open the menu (new window).
Item Level Permissions (and Document Lockdown)Use SHIFT+ENTER to open the menu (new window).
Step by Step Kerberos Authentication for SharePoint 2010Use SHIFT+ENTER to open the menu (new window).
Creating a Master Page That Is Used By Multiple Site CollectionsUse SHIFT+ENTER to open the menu (new window).
Defining and Accessing Custom Properties From the User Profile ServiceUse SHIFT+ENTER to open the menu (new window).
Programmatically Dealing With Potential Multi-Select ColumnsUse SHIFT+ENTER to open the menu (new window).
Sleazy Reporting: SharePoint 2010 External Content TypesUse SHIFT+ENTER to open the menu (new window).
Getting E-mail to Work in Your SharePoint 2010 Dev EnvironmentUse SHIFT+ENTER to open the menu (new window).
Configuring Remote Blob Storage in SharePoint 2010Use SHIFT+ENTER to open the menu (new window).
Helpful Debugging with SharePoint C Sharp CodeUse SHIFT+ENTER to open the menu (new window).
Sleazy Reporting: SharePoint 2010 ListsUse SHIFT+ENTER to open the menu (new window).
Document Previews Won’t Open In FAST Search Using HTTPSUse SHIFT+ENTER to open the menu (new window).
Quick Rundown: Multi-line Text ColumnsUse SHIFT+ENTER to open the menu (new window).
Using JQuery to add charts to your Data ViewsUse SHIFT+ENTER to open the menu (new window).
Upgrading SharePoint 2007 RTM to SharePoint 2010 Use SHIFT+ENTER to open the menu (new window).
SPQuery Hacks Part 2: WorkflowsUse SHIFT+ENTER to open the menu (new window).
Redirect SharePoint Navigation - NYC SDUG Quick DipUse SHIFT+ENTER to open the menu (new window).
What Is The Easiest Way To Mess Up SharePoint? Use SHIFT+ENTER to open the menu (new window).
Adventures in Excel Services 2010Use SHIFT+ENTER to open the menu (new window).
SPQuery Hacks Part 1: InfoPathUse SHIFT+ENTER to open the menu (new window).
Programmatic Deep Dive into Blank SharePoint Lookup ColumnsUse SHIFT+ENTER to open the menu (new window).
Populating Word Documents With SharePoint Data. Try The DIP!Use SHIFT+ENTER to open the menu (new window).
Enterprise Search Tricks and Tips Part 1Use SHIFT+ENTER to open the menu (new window).
Date Math with InfoPathUse SHIFT+ENTER to open the menu (new window).
Custom SharePoint Master Page Feature with WSP BuilderUse SHIFT+ENTER to open the menu (new window).
How to Quickly Deploy and Activate a Timer Service to Your Site CollectionUse SHIFT+ENTER to open the menu (new window).
Public Facing Masterpage TechniquesUse SHIFT+ENTER to open the menu (new window).
7 Tools for SharePoint DevelopersUse SHIFT+ENTER to open the menu (new window).
Mail Enabled Lists vs. The Missing Windows 2008 POP3/IMAP Server Use SHIFT+ENTER to open the menu (new window).
Opening SharePoint Links in a new windowUse SHIFT+ENTER to open the menu (new window).


 ‭(Hidden)‬ Admin Links




©2009 Gig Werks. All rights reserved. Privacy Policy