# Monday, February 22, 2010

Before you can deploy sandboxed solutions to the Sharepoint Server, your server must be configured for this. To configure, open Sharepoint 2010 Central Administration site and choose System Settings > Services on Server. Locate Microsoft Sharepoint Foundation User Code Service and check its status. If it's stopped, click the start hyperlink.

Now, web can create our first sandboxed solution.

Step by step instructions :

  • Open Visual Studio 2010 and choose to create a new project. Pick Empty Project under Visual C# > Sharepoint > 2010 template group.
  • Name your project as "SandboxedWebPart"


  • Choose your debugging site URL and check "Deploy as a sandboxed solution".
  • In Visual Studio 2010 Solution Explorer right click the solution name and select Add > New Item. Add a Web Part to your project.
  • Expand features, right click Feature1 and choose View Designer. In the designer, verify the Scope. It should be set to site.


  • In WebPart1.cs, add the following code in CreateChildControls method

    protected override void CreateChildControls()
    {
        Label message = new Label();
        Controls.Add(message);
    
        Controls.Add(new WebControl(HtmlTextWriterTag.Br));
    
        Button testButton1 = new Button();
        testButton1.Text = "Test 1";
        testButton1.Click += delegate
        {
            message.Text = String.Format("This site contains {0} lists",
                SPContext.Current.Web.Lists.Count);
        };
        Controls.Add(testButton1);
    }
  • Then deploy it. (Right click solution name and select "Deploy")
  • To show your web part, open your browser and navigate to the site. On the ribbon, select Page tab and choose Edit Page. Select a web part zone and add your web part.
posted on Monday, February 22, 2010 11:46:46 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
# Thursday, February 18, 2010

There wasn’t any method for managing, editing or downloading documents together in a set, because unfortunately the Folders didn’t have this capability. If I’d like to simplify the document sets, there are very smart folders.

  • Document sets can share the same metadata.
  • Versioning the document set instead of the separated documents.
  • Initiate workflows for the whole document set.
  • Document set level permission management.
  • Download all documents of a document set compressed into a ZIP file.
  • Customizable Welcome Page for all document set.

How to configure "Document Set"

  1. Go to the Manage Site Collection Features page and activate the Document Sets feature.
  2. Go to the Document Library’s setting page and choose Advanced Settings. Turn on the allowing of content management.
  3. Add the Document Set content type to your library.

Reference : http://dotneteers.net/blogs/aghy/archive/2009/10/21/how-to-set-up-document-sets-in-sharepoint-2010.aspx

posted on Thursday, February 18, 2010 12:14:58 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
# Friday, February 12, 2010

New controls in InfoPath 2010 include:

  • Picture buttons – Instead of the default gray button, use any image as a button in your form.
  • Hyperlink capabilities –Allow users to insert their own hyperlinks when filling out forms.
  • Date and time picker – Allow users to insert dates and times in their forms
  • Person/Group pickers – Updated! This is now a first class control and is included by default in the Controls gallery.
  • Signature Line (Editor Only) – Allow users to digitally sign a  form

Controls and functionality that are now supported in browser forms include:  

  • Bulleted, numbered, and plain lists, multiple selection list boxes, Combo boxes, Choice group and sections, and Filtering functionality.
posted on Friday, February 12, 2010 9:25:55 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
# Friday, January 29, 2010

Atalay Aktaş works on Microsoft Turkey Office as Business Productivity Solutions Specialist. He shares a presentation that contains general information about Sharepoint and Office 2010 product family. Presentation language is Turkish, includes 50 slide and totaly 14.8 MB on SkyDrive.

You can download it via this link

posted on Friday, January 29, 2010 12:12:21 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
# Friday, January 15, 2010

Based on customer requests for more robust compliance features, Microsoft has improved the validation capabilities of lists and libraries. Validation is now supported at both list and item levels.

For instance, a list owner can configure a validation to disallow the start date of an event item (stored in one column) to be after the end date of the event (stored in another column). If a user enters a start date that is later than the specified end date they will be presented with an error message when he or she attempts to save the item.

In another example, people can specify a column in a list as unique so that a contact list may not contain two entries with the same email address.

posted on Friday, January 15, 2010 9:02:35 AM (GMT Standard Time, UTC+00:00)  #    Comments [6] Trackback
# Tuesday, January 05, 2010

In Sharepoint 2010 Search Settings>Content Sources screen you can see new types of Content Sources that allows you to define different content sources.


- Sharepoint Sites
- Web Sites
- File Shares
- Exchange Public Folders
- Line of Business Data
- Custom Repository

Line of Business Data requires Business Connectivity Service application definition and Custom Repository requires custom content source adapter for content.
posted on Tuesday, January 05, 2010 7:12:24 PM (GMT Standard Time, UTC+00:00)  #    Comments [1] Trackback

In Sharepoint 2010 two new features for creating view added. In create or modify view screen you can see "Inline Editing" and "Tabular View" sections.






Inline Editing : Choose whether an edit button on each row should be provided. This button allows users to edit the current row in the current view, without navigating to the form.

Tabular View : Choose whether individual checkboxes for each row should be provided. These checkboxes allows users to select multiple list items to perform bulk operations.
posted on Tuesday, January 05, 2010 7:03:56 PM (GMT Standard Time, UTC+00:00)  #    Comments [1] Trackback