Showing posts with label SharePoint 2010. Show all posts
Showing posts with label SharePoint 2010. Show all posts

Tuesday, 23 December 2014

SharePoint 2010

Plan managed metadata (SharePoint Server 2010)

http://technet.microsoft.com/en-us/library/ee530389.aspx



Managed metadata overview (SharePoint Server 2010)

http://technet.microsoft.com/en-us/library/ee424402.aspx



SharePoint 2010 – Provisioning User Profile Synchronization

http://blogs.msdn.com/b/russmax/archive/2010/03/20/sharepoint-2010-provisioning-user-profile-synchronization.aspx



Configure profile synchronization (SharePoint Server 2010)

http://technet.microsoft.com/en-us/library/ee721049.aspx



User Profile service overview (SharePoint Server 2010)

http://technet.microsoft.com/en-us/library/ee662538.aspx



User Profile Replication Engine overview (SharePoint Server 2010)

http://technet.microsoft.com/en-us/library/cc663011.aspx



Create, edit, or delete a User Profile service application (SharePoint Server 2010)

http://technet.microsoft.com/en-us/library/ee721052.aspx



Maintain profile synchronization (SharePoint Server 2010)

http://technet.microsoft.com/en-us/library/ff681014.aspx



User Profile Synchronization Service unexpected failure - Events 6300-6309 (SharePoint Server 2010)

http://technet.microsoft.com/en-us/library/ff519523.aspx



User Profile Synchronization service not started (SharePoint Server 2010)

http://technet.microsoft.com/en-us/library/ff519522.aspx









Windows PowerShell for SharePoint Server 2010

http://technet.microsoft.com/en-us/library/ee662539.aspx



SharePoint 2010 Products administration by using Windows PowerShell

http://technet.microsoft.com/en-us/library/ee806878.aspx



SharePoint Foundation 2010

http://technet.microsoft.com/hi-in/library/cc288070(en-us).aspx  



Initial configuration (SharePoint Foundation 2010)

http://technet.microsoft.com/en-us/library/ee837435.aspx  



Prepare to host sites (SharePoint Foundation 2010)

http://technet.microsoft.com/en-us/library/cc303306.aspx  



SharePoint Server 2010

http://technet.microsoft.com/hi-in/library/cc303422(en-us).aspx



Upgrading to SharePoint Server 2010

http://technet.microsoft.com/en-us/library/cc303420.aspx  



Perform an in-place upgrade (SharePoint Server 2010)

http://technet.microsoft.com/en-us/library/cc303423.aspx  



Upgrade in place to SharePoint Server 2010

http://technet.microsoft.com/en-us/library/cc263212.aspx  



Troubleshoot upgrade issues (SharePoint Server 2010)

http://technet.microsoft.com/en-us/library/cc262967.aspx  



Resume upgrade (SharePoint Server 2010)

http://technet.microsoft.com/en-us/library/ff382638.aspx  



Configure automatic password change (SharePoint Foundation 2010)

http://technet.microsoft.com/en-us/library/ff607826.aspx  



Configuring Kerberos authentication for SharePoint 2010 Products (white paper)

http://technet.microsoft.com/hi-in/library/ff829837(en-us).aspx  



Video demos and training for SharePoint Server 2010

http://technet.microsoft.com/hi-in/library/cc262880(en-us).aspx

Friday, 7 November 2014

Sharepoint change Maximum Upload Size

Open SharePoint 2010
Go to Central Administration -->Application Management -->Manage web applications
Select web application which you are tring to change upload size.
Once you select web application it will hilight, in the top you can find...
Web Application-->general Settings
click down arrow under general Settings
select general Settings.
scroll down you can find "Maximum Upload Size"
Here you can increase the size.
In the same page you can change Security validation expires, tile also
Max no of Alert are default :500
you can change this no.
Default Quota Template.
If it is no noquota, you can data with out limit
if it is personal site: 100 Mb limit

Monday, 10 March 2014

Sharepoint 2010 Data View Web part

Sharepoint 2010 Data View Web part

A Data View Web part is a great way to display data with filtering, grouping, and user desired formatting. It was the most useful webpart in SharePoint 2007 and now has been improved to a great extend in SharePoint 2010. In SharePoint 2010 you now have a XSLT Listview webpart and a Dataview webpart (Old one).
XSLT Listview webpart – XSLT Listview webpart is a ListView whose XSLT can be modified in SharePoint designer. With this you now have some advanced formatting options and can also use all the filters,sorting grouping etc features that a Dataview wbepart had in SharePoint 2007.
DataView Webpart – Even after all the great features that XSLT Listview webpart has offered, i would still prefer to work with the old Dataview webpart’s XSLT if i have to. The OLD dataview webpart is still available and can be used in the same manner as we used in SharePoint 2007. To add a Dataview webpart onto a page follow the steps below.
1. Open your SharePoint Page and in Site Actions select ->Edit in SharePoint Designer.
2. Now select a zone on teh Page where you want to add your Dataview weboart.
3. Next, click on Insert tab -> click on Data View.
4. In the drop-down of Data view menu click on “Empty Data view” . This will now insert an Empty Data view in your selected zone.
5. Next click on “click here to select datasource” to select the datasource or list.
6. Select the list\library you want to display the data from.
7. Next drag and drop the columns in the dataview webpart from the right hand column list (for the list\library you selected).
You now have the Dataview webpart on your page. You can now use the formatting options available on your ribbon or can modify the XSLT either in Designer or on the page itself by editing the webpart properties in the Browser.

Difference between XSLT Listview webpart and DataView Webpart.

1. Inline edit options are different in two webparts.
2. XSLT Listview webpart we have below options but in DataView Webpart we don’t have.
a. Show list item menu
b. Show link to menu.

Wednesday, 5 March 2014

Sharepoint 2010 Web Front End Server and Application Server

Sharepoint 2010 Web Front End Server and Application  Server
If your are uisng FARM Installation.
Web front end should have below services:
1.Microsoft SharePoint Foundation Web Application (this is what turns IIS into a SharePoint “page-serving” machine)
2.Search Query and Site Settings Service (the process that takes the user’s query string and looks it up in the index)
3.SharePoint Server Search Service (but just the functionality that is necessary for the query processor)
4.Central Administration (assuming you didn’t decide to move it to the Application Server)
Application server should have below services:
1.Access Database Service
2.Application Registry Service
3.Business Data Connectivity Service
4.Excel Calculation Services
5.Managed Metadata Web Service
6.Microsoft SharePoint Foundation Incoming E-mail
7.Microsoft SharePoint Foundation Workflow Timer Service
8.PerformancePoint Service
9.Secure Store Service
10.SharePoint Server Search (but just the scheduled content crawling and indexing building functionality)
11.User Profile Service
12.Visio Graphics Service
13.Web Analytics Data Processing Service
14.Web Analytics Web Service
15.Word Automation Services
16.Word Viewing Service

Monday, 3 March 2014

New Web Application button is disabled in SharePoint 2010

New Web Application button is disabled in SharePoint 2010

I am having a fresh installation of SharePoint 2010 on my Windows 7 machine, when I tried to create new web application for creating a site collection, but the New Web application icon is disabled/greyed. So for this issue, here is the fix,
Go to control Panel (win + r shortcut key for run textbox and type control)
Click on System and Security
Under “Action Center” section , click on “Change User Account Control settings”
Scroll down the scrollbar to “Never Notify” as shown in below figure
Click on Ok
Restart the system ( This step is necessary)
Now open the central administration as administrator
Now the New Web Application button is enable

Sunday, 2 March 2014

Create dataview webpart in sharepoint 2010

Create dataview webpart in sharepoint 2010

A Data View Web part is a great way to display data with filtering, grouping, and user desired formatting. It was the most useful webpart in SharePoint 2007 and now has been improved to a great extend in SharePoint 2010. In SharePoint 2010 you now have a XSLT Listview webpart and a Dataview webpart (Old one).
XSLT Listview webpart – XSLT Listview webpart is a ListView whose XSLT can be modified in SharePoint designer. With this you now have some advanced formatting options and can also use all the filters,sorting grouping etc features that a Dataview wbepart had in SharePoint 2007.
DataView Webpart – Even after all the great features that XSLT Listview webpart has offered, i would still prefer to work with the old Dataview webpart’s XSLT if i have to. The OLD dataview webpart is still available and can be used in the same manner as we used in SharePoint 2007. To add a Dataview webpart onto a page follow the steps below.
1. Open your SharePoint Page and in Site Actions select ->Edit in SharePoint Designer.
2. Now select a zone on teh Page where you want to add your Dataview weboart.
3. Next, click on Insert tab -> click on Data View.
4. In the drop-down of Data view menu click on “Empty Data view” . This will now insert an Empty Data view in your selected zone.
5. Next click on “click here to select datasource” to select the datasource or list.
6. Select the list\library you want to display the data from.
7. Next drag and drop the columns in the dataview webpart from the right hand column list (for the list\library you selected).
You now have the Dataview webpart on your page. You can now use the formatting options available on your ribbon or can modify the XSLT either in Designer or on the page itself by editing the webpart properties in the Browser

Sharepoint 2010 add columns to list programmatically

using System;
using Microsoft.SharePoint.Client;

class Program
{
    static void Main()
    {
        ClientContext clientContext =
            new ClientContext("http://intranet.contoso.com");
        Web site = clientContext.Web;

        // Create a list.
        ListCreationInformation listCreationInfo =
            new ListCreationInformation();
        listCreationInfo.Title = "Client API Test List";
        listCreationInfo.TemplateType = (int)ListTemplateType.GenericList;
        List list = site.Lists.Add(listCreationInfo);

        // Add fields to the list.
        Field field1 = list.Fields.AddFieldAsXml(
            @"<Field Type='Choice'
                     DisplayName='Category'
                     Format='Dropdown'>
                <Default>Specification</Default>
                <CHOICES>
                  <CHOICE>Specification</CHOICE>
                  <CHOICE>Development</CHOICE>
                  <CHOICE>Test</CHOICE>
                  <CHOICE>Documentation</CHOICE>
                </CHOICES>
              </Field>",
            true, AddFieldOptions.DefaultValue);
        Field field2 = list.Fields.AddFieldAsXml(
            @"<Field Type='Number'
                     DisplayName='Estimate'/>",
            true, AddFieldOptions.DefaultValue);

        // Add some data.
        ListItemCreationInformation itemCreateInfo =
            new ListItemCreationInformation();
        ListItem listItem = list.AddItem(itemCreateInfo);
        listItem["Title"] = "Write specs for user interface.";
        listItem["Category"] = "Specification";
        listItem["Estimate"] = "20";
        listItem.Update();

        listItem = list.AddItem(itemCreateInfo);
        listItem["Title"] = "Develop proof-of-concept.";
        listItem["Category"] = "Development";
        listItem["Estimate"] = "42";
        listItem.Update();

        listItem = list.AddItem(itemCreateInfo);
        listItem["Title"] = "Write test plan for user interface.";
        listItem["Category"] = "Test";
        listItem["Estimate"] = "16";
        listItem.Update();

        listItem = list.AddItem(itemCreateInfo);
        listItem["Title"] = "Validate SharePoint interaction.";
        listItem["Category"] = "Test";
        listItem["Estimate"] = "18";
        listItem.Update();

        listItem = list.AddItem(itemCreateInfo);
        listItem["Title"] = "Develop user interface.";
        listItem["Category"] = "Development";
        listItem["Estimate"] = "18";
        listItem.Update();

        clientContext.ExecuteQuery();
    }
}
----------------------------------------------------------------
Or use below code
----------------------------------------------------------------
SPSite objSite;
SPWeb objWeb;
bool isTemplateExists = false;
string strList = “ListName”;
objSite = new SPSite(@”SiteUrl”);
objWeb = objSite.OpenWeb();
//check Whether list already exist or not.
if (IsListExists(objWeb, strList) == false)
{
CreateNewList(strList);
}

public bool IsListExists(SPWeb pWeb, string pListName)
{
try
{
SPList list = pWeb.Lists[pListName];
if (list == null)
return false;
else
return true;
}
catch (Exception ex)
{
return false;
}
}

public void CreateNewList(string pListName)
{
try
{
objWeb.AllowUnsafeUpdates = true;
SPListCollection lists = objWeb.Lists;

// create new Generic list called ListName
lists.Add(“ListName”, “List Description”, SPListTemplateType.GenericList);
SPList list = objWeb.Lists["ListName"];
// create Text type new column called “Title”
SPFieldText fldTitle = (SPFieldText)list.Fields.CreateNewField(
SPFieldType.Text.ToString(), ” Title “);
fldTitle.Required = false;
// create DateTime type new column called “DateTime”
SPFieldDateTime fldDateTime = (SPFieldDateTime)list.Fields.CreateNewField(
SPFieldType.DateTime.ToString(), “DateTime”);
fldDateTime.DisplayFormat = SPDateTimeFieldFormatType.DateTime;

/* add the new fields to the list */
list.Fields.Add(fldTitle);
list.Fields.Add(fldDateTime);

/* finally update list */
list.Update();

/*add the new fields to view */
SPView view = list.DefaultView;
view.ViewFields.Add(“Title”);
view.ViewFields.Add(“DateTime”);
view.Update();

objWeb.AllowUnsafeUpdates = false;
}
catch (Exception ex)
{
}

}

Saturday, 1 March 2014

Print a List Item in SharePoint 2010

Print a List Item in SharePoint 2010
Open a List
Hit the List tab
In the ribbon: Click the Form Web Parts dropdownlist
Form Web Parts
Form Web Parts
Choose “Default Display Form”
At the top of the Page – Insert Tab, Click the Web Part button to add a new Content Editor web part (CEWP)
From Categories choose “Media and Content” > “Content Editor” and add it to the main section of the page
Click the “Click here to add content” and then click the HTML button in the Ribbon to bring up the Edit source code window
In the top ribbon under Markup Click on HTML , Select "Edit HTML Source" Option
You will get new window
In the window add the following code to display a Print Button at the top of the list item window.
<code>
<input type=”button” value=”Print this Page” onclick=”window.print();return false;” />
</code>
Ignore any warnings;
Next, hit the Page tab at the top of the page to view the List item. You should see the Print button;
Hit the Print button to print just the list item.