Wednesday, December 11, 2013

SSL SharePoint 2010 Site - Enable SSL on SharePoint 2010 Site
https SharePoint 2010 Site


Below are the steps to enable SSL on SharePoint 2010 site.



Step 1: Go to Central Administration -> Manage Web Applications -> Create a New Web Application.
While creating the new Web Application, please make sure the following properties are selected / configured as mentioned below:
Authentication
Classic Mode Authentication

IIS Web Site
<Your Web site Name>

Security Configuration
Authentication Provider: NTLM
Allow Anonymous: No
Use Secure Socket Layer (SSL): Yes

And make sure any other properties are required based on your requirement, and then click OK to create a new Web Application.

Step 2: Now add a new Site Collection inside the newly created Web Application.
Central Administration -> Create Site Collection -> Choose the newly created Web Application and then create your Site Collection.

Step 3: Set the Certificate
For enabling the SSL, you need to specify a Certificate in the server which contains the public key and a private key. For this, go to Internet Information Services (IIS / inetmgr.exe) and select the newly created Site. Click on the Bindings link from the right side.


In the Site Bindings dialog box, select the https item and click the Edit button.
In the appearing dialog select the Certificate from drop down list.

Click OK button to continue.

Step 4: Test the URL.
Now you are ready to test the HTTPS URL. Open a browser and enter the URL of the web site. You can also use the browse link from the IIS.


Once you hit the Continue link, site will be prompting you for the user Credentials. Once you submit the correct user credentials, you will be re-directed to the SharePoint site.


If you are able to see the page, then it means that the SSL has been configured correctly to your SharePoint site.


Adding SSL (https) support to an existing SharePoint site.
You can add SSL to an existing Web Application by performing the following:
Open IIS Manager -> Select the Web Application -> Choose Bindings dialog -> Add new binding of the type https -> Select the Certificate -> Click OK.








Date Changes, Month Changes, Year Changes, Be Yourself, No Matter What ever Changes......!

Monday, November 4, 2013

Create Site Column using Visual Studio 2010 for SharePoint 2010 Site



HOW TO CREATE CUSTOM COLUMN USING SHAREPOINT OBJECT MODEL

  •   Visual Studio – File Menu – New Project
  •   In the New Project Dialog Box – Select Visual C# -> SharePoint -> 2010
  •   In the Templates pane, choose SharePoint 2010 Project
Then give the name of the Project “customColumnProject” and then Click OK

  •   On the Specify the site and Security Level for Debugging page, enter the URL of the SharePoint site to which you want to add the new Custom Column (Custom Field Item) or use the default location.
  •   On the What is the Trust Level for this SharePoint Solution section, use the default value Deploy as Sandboxed Solution.
  •   And then click on Finish button.

Now, add a new Site Column template from the New Items. To do this, we need to right-click on the Solution Explorer and then select Add New Item. In the Add New Item dialog box, choose the Site Column, change the name to CoachNumber, and then click on Add button.

  •   Now in the Elements.xml file, under customColumn, open Elements.xml.Elements.xml file should look like this:
<Field

     ID="{e9ba61d1-8631-01fb-b016-a33cf41ebf63}"

     Name="SingleLineColumn"

     DisplayName="ColumnName"

     Type="Text"

     Required="FALSE"

     Group="Custom Columns">

</Field>

Any column should have the above properties. And that’s it, you are done. Deploy the solution and you can find your newly created Site Column under Site Collection Administration -> Site Columns


Followers