Thursday, January 23, 2014

SharePoint 2013 architecture tutorial

In this post we will discuss about SharePoint 2013 architecture.

Also you can check out:

- Change theme in SharePoint 2013

- App Life Cycle Management in SharePoint 2013

- What's new in Developer dashboard in SharePoint 2013?

Before reading further check the SharePoint 2013 architecture fig below:


As we all know both SharePoint Foundation 2013 and SharePoint Server 2013 are available only in 64-bit versions. They can be installed on a 64-bit version of Windows Server 2012 or Windows Server 2008 R2. Microsoft does not support installing SharePoint 2013 on a client operating system such as Windows 7 or Windows 8.

But you can install SharePoint 2013 on a virtual machine running on Windows 8.

On top of the Operating System, IIS is coming. SharePoint 2013 supports IIS 8 (Windows Server 2012) or IIS 7.5 (Windows Server 2008 R2).
SharePoint Foundation 2013 is built on .NET Framework 4.5.

Next layer is the Microsoft SharePoint Foundation 2013, On top of it Microsoft SharePoint 2013 Server presented.


Wednesday, January 22, 2014

Save site as template in SharePoint 2013

In this post we will discuss how we can save site as template in SharePoint 2013. Also you can check out some posts on:

- Hardware and software requirement for SharePoint 2013

- Hosting options in SharePoint 2013

- Create Apps using Office 365 development tools Napa

First of all those who have design level permission or more than that, they can save a site as a template.


Here in custom web template apart from security related information other information like list, document libraries, web parts etc will be saved in the custom web template.

This will be saved as a file with .wsp extension in the solution gallery of the site collection.

Follow below steps:

- Open the SharePoint 2013 site for which you want to save the template. Then on the Settings menu select Site Settings.

- This will open the site settings page, In the Site Actions section, "Click on Save site as template".

- This will open the Save as Template page, there give a file name, Template Name, Description etc. If you want to include the content then check the check box "Include Content" as shown in the fig below:


- Then click on OK, this will save the template.

Now if you want to create a new site by using the site template that we have created just now, then click on +new site. This will open the New SharePoint Site page. In the template section when you click on Custom then the template will come as shown in the fig below:



Tuesday, January 21, 2014

Change theme in SharePoint 2013

In this post we will discuss how we can change the theme in SharePoint 2013. Also you can check out my previous posts on:

- Add user to SharePoint security group using SharePoint client object model

- Populate profile properties in infopath in SharePoint 2010

- Create workflow using SharePoint designer 2013 in SharePoint 2013

Follow below steps to change the site theme:
- First open the site for which you want to change the theme.

- Then Click the Settings gear icon on the top right of the screen and select Site settings to go to the Site Settings page.

- Then in the Look and Feel section, click Change the look.

- In the Change the look page, explore the themes thumbnails, and then click the one which you want to apply. Check the thumbnail looks like below:


- Once you select a theme, in SharePoint 2013 it will show options in the left side to change the background image, color scheme, the site layout as well as the font. Once you will change the properties then the preview will come in this page.

- On the top right of the screen, above the theme preview, click Try it out. The changes have been processed, and the preview of the site will be shown in the new theme.

- If you want to apply the theme, click Yes, keep it on the top right, above the preview screen. The Site Settings page is displayed.


Monday, January 20, 2014

Enable self-service site creation for the web application in SharePoint 2013

In this post we will discuss how to enable self-service site creation for the web application in SharePoint 2013.

Also you can check out:

- Create Apps using Office 365 development tools Napa

- Create workflow using SharePoint designer 2013 in SharePoint 2013

- App Life Cycle Management in SharePoint 2013

Self-service site creation enables the automatic creation of a separate site collection for users when they first view their My Site.
- To enable self-service site creation for a web application, the user must be a member of the Farm Administrators group on the computer running the SharePoint Central Administration.

- First Open your SharePoint 2013 Central Administration, then go to Application Management section, click Manage Web applications.

- Then in the Web Applications page, select the web application that you created to host My Sites.

- On the Web Applications tab, in the Security group, click Self-Service Site Creation.

- In the Self-Service Site Creation Management dialog box, in Site Collections, select On. Optionally, in Quota template to apply, select a quota template.

- In Start a Site, choose one of the following options:

  1. Prompt users to create a team site under so users can create team sites from their My Site to use site feeds.

2. Be hidden from users if you do not want users to create team sites from their My Sites to use site feeds.

- Click OK to finish.


Sunday, January 19, 2014

Tips for naming convention for URL in SharePoint 2013

In this post we will discuss about some naming convention for URL in SharePoint 2013. Also you can check out some of posts on:

- How to get userprofile properties in SharePoint 2013 object model?

- Remote event receivers in SharePoint 2013

- What happen when you press F5 in Visual Studio in SharePoint 2013

While creating SharePoint objects like sites, lists or libraries, we should follow some naming conventions.  There are two name values one is Title or Name and the other one is Uniform Resource Locator (URL) name.

While creating site, it always gave two options one is Title or name and other one is the URL. We should follow some standards while giving the URL for a site, list or document library.
Below are some standards:

- The URL name should be descriptive, intuitive, and easy to remember.

- The URL name should be small, because There is a limit on the number of total char-acters available for the entire website address. If you will provide long name then you could face problem.

- The URL name should not contain spaces. Spaces in the address bar are re-placed with %20 and take up three characters each. Spaces also make the website address difficult to use in an email and difficult for others to read.

You should replace space with underscore, so that it will be easily understandable.

- The URL name should be used consistently.


Tuesday, January 14, 2014

Promoted Links App in SharePoint 2013

In this post we will discuss about Promoted Links App in SharePoint 2013. Also you can check out my previous posts on:

- App Life Cycle Management in SharePoint 2013

- Remote event receivers in SharePoint 2013

- New actions in SharePoint designer 2013 workflow: Call Web Service Action and Start workflow action
Promoted links store the links that will show as tiles on the pages. SharePoint 2013 provides a new apps know as "Promoted Links" for this.


To create Promoted Links, Navigate to SharePoint site, then click on the Site Contents in the quick launch. Then click on Add an App. Then click on "Promoted Links" app from the available apps. Then give a name  as shown in the fig below:


This will create the Promoted Links app successfully.

Then click on the new item to add links to the App. Then enter the details like Title, Background Image Location, Description, Link Location. Launch Behavior (In page navigation, Dialog, New tab), Order etc as shown in the fig below:

Then click on Save.


Thursday, January 9, 2014

Alerts in SharePoint 2013

In this post we will discuss about alerts in SharePoint 2013 and also you can check out my previous posts on:

- 5 Pillars of SharePoint 2013

- Create Apps using Office 365 development tools Napa

- Difference between Apps and Solutions in SharePoint 2013

Alert is a good feature in SharePoint 2013. It allows us to sends an email notification or a text message whenever changes are made to the content in a site, including changes made to list items in a list.


The alerts can be set for a list, a library, a folder, a file, or a list item. Through alerts you can set to whom the alert will be send. Also you can set the type of change for which you want an alert to be initiated. You can specify when to send alerts. And also you can set the alert frequency.

How to Setup Alert?

- First Open the list, document library or discussion for which you want to setup the alert.

- Under either the Documents or Library tabs, click on Alert Me as shown in the fig below:


- Then it will open the New Alert dialogbox. There:
- give a title for the Alert.
- you can enter the username or email address to which you want to send the alerts.
- You can select the Change type for which you can send the alert etc as shown in the fig below:


Then click on OK.


Remote event receivers in SharePoint 2013

In this post we will discuss about Remote event receivers in SharePoint 2013.

Also you can check out my previous posts on:

- New actions in SharePoint designer 2013 workflow: Call Web Service Action and Start workflow action

- Enable Sign in as Different User Option in SharePoint 2013

- How to disable mobile page redirection for SharePoint 2013?

Remote event receivers are new in SharePoint 2013. Remote event receivers works same as normal event receivers. We use remote event receivers for an app, when the app  is on a different system from its host web application.

Business Connectivity Services (BCS) uses remote event receivers attached to external lists and entities to allow you to write code that can react to changes in data hosted in the external system.

Event receivers are not supported in sandboxed solutions.

By using Visual Studio 2012 you can create a remote event receiver by using a template.  When you create a remote receiver, by default it add two methods in the service.
- ProcessEvent(): This event handles events that occur before an action occurs, such as when a user adds or deletes a list item.

- ProcessOneWayEvent(): This event handles events that occur after an action occurs, such as after a user adds an item to a list or deletes an item from a list.

You can create remote event receiver for Auto-hosted, Provider-hosted hosting model. But you can not make event receiver for SharePoint-host hosting model.

Remote event receivers are supported at the list and list item level.


Sunday, January 5, 2014

Steps to create document library in SharePoint 2013

In this post we will discuss how to create document library in SharePoint 2013. Also you can check out my previous posts on:

- What happen when you press F5 in Visual Studio in SharePoint 2013?

- Create Apps using Office 365 development tools Napa

- Advantages of SharePoint 2013 Apps

A library is a location where you can create, update and manage files within other team members. Libraries are used to store files and also it contains metadata information so that you can easily filter, sort and group items in the libraries.

When ever you will create a new SharePoint team site, a generic document library name as "Documents" got created.

Follow below steps to create a document library:

- Open the SharePoint 2013 site. Then click on Settings icon and then select Add an app.

- This will open the Apps page. From this click on the Document Library, this will open the Adding Document Library dialog box. In this dialog box, There give a name for the document library and click on Create as shown in the fig below:


- This will open the document library, there you can add document by click on + new document link or you can upload document by using the drag files to the document library. 


Wednesday, January 1, 2014

Default list and libraries in SharePoint 2013 site

In this post we will discuss about the default list and libraries in SharePoint 2013 site. Also you can check out my previous posts on:

- Cross-site publishing in SharePoint 2013

- Difference between SharePoint-hosted, auto-hosted and Provider-hosted apps in SharePoint 2013

- PDF file support in SharePoint 2013

Below are the default List Apps in SharePoint 2013:
- Announcements
- Calendar
- Circulations
- Contacts
- Custom
- Custom List in Datasheet view
- Discussion board
- External List
- Import Spreadsheet
- Issue Tracking
- KPI List
- Languages and Translators
- Links
- Microsoft IME Dictionary list
- PerformancePoint Content List
- Project Tasks
- Promoted Links
- Status list
- Survey
- Tasks

Below are the default Library Apps in SharePoint 2013:
- Asset library
- Dashboards library
- Data Connections library
- Document library
- Form library
- Picture library
- Record library
- Report library
- Process Diagram library
- Wiki Page library


Twitter Delicious Facebook Digg Favorites More