A Practical Guide to SharePoint 2013

A Practical Guide to SharePoint 2013
A Practical Guide to SharePoint 2013 - Book by Saifullah Shafiq

Saturday, March 15, 2014

Developing Connectable Web Parts in SharePoint 2013

Developing Connectable Web Parts in SharePoint 2013

If you are a beginner and want to learn about web parts, click here to read an introduction.
In this article, you will learn two things, developing web parts and developing connectable web parts. Connectable web parts are like ordinary web parts but they have this extra capability of providing data for consumption to other web parts.  You will create connectable web parts from scratch using .NET. In the next section, you will learn to use InfoPath web parts. InfoPath web part comes with SharePoint out of the box and is used to host InfoPath forms. If InfoPath form is configured correctly or in other words, if its fields have been exposed as parameters, it can be used in InfoPath web part.
In this section we will create .NET web parts from scratch and then deploy them in SharePoint. We will create two web parts, one provider and one consumer. You can download complete application/code from the book’s website.
Continue reading on the following link ...

SharePoint Online announces 1TB site collections and unlimited tenant storage scale

Mark Kashman (@mkashman) is a senior product manager on the SharePoint
 marketing team.
Last week at the SharePoint Conference 2014 in Las Vegas, Jeff Teper made some exciting announcements regarding SharePoint Online limit increases.  I wanted to provide more details so you can digest what this means to you and your business.

Wednesday, March 12, 2014

Introducing Delve (codename Oslo) and the Office Graph

Ashok Kuppusamy is a group program manager in the FAST engineering team based in Norway.
Update 7-9-2014: Microsoft announced Delve as the official name for codename Oslo.
We are incredibly excited to introduce the newest member of the Office 365 family: Delve (formerly codename Oslo). We announced it and the Office Graph last week at the SharePoint Conference keynote. You can get a closer look at Delve by watching this Garage Series for Office365 episode, shot live while on location at the SharePoint conference, with host Jeremy Chapman and my colleague Cem Aykan.

Sunday, March 9, 2014

Alternate Access Mapping (AAM)

Alternate Access  Mapping (AAM) is a feature that allows a website to use different URLs. This is usually needed when you have different zones, for example, one for the Intranet and another for an Extranet. I will not cover the network configuration part to setup an alternate URL in the DNS. I assume you already have an alternate URL and you just want to configure the AAM. If you want to read about DNS configuration and how to setup alternate URLs in the DNS, read my upcoming book on SharePoint 2013 (name not decided yet) or wait for another blog post that will explain the process of setting up DNS.
Assuming you have following two URLs, the process to configure AAM is easy.
1.       http://sp2013
2.       http://sp2013.server.com

1.       Open Central Admin Site and click Application Management.
2.       Under Web Applications, click Configure alternate access mappings.
3.       You will notice you already have http://sp2013 listed there in the Default zone. To add new URL in the Intranet zone, click Add Internet URLs.
4.       From the Alternate Access Mapping Collection drop down, select correct application that you want to use for the AAM setting and then add URL in the text box labeled URL protocol, host and port, for example, http://sp2013.server.com.  From the Zone dropdown, select Intranet.

5.       Click Save.

Thursday, March 6, 2014

Practical Guide to SharePoint Article 11







Article 11

SharePoint Online


In this Article :


  • SharePoint sites in the cloud
  • SharePoint Online Packages
  • Setting up SharePoint Online

SharePoint in the cloud

Y
ou will kill two birds with a stone in this Article . The objective is to shed light on the very interesting topic of SharePoint branding. Since SharePoint is very popular with the enterprise clients, they mostly like to add their own branding to the product. There was a time when the only thing you could do “easily” was changing the logo and the site’s title and description. Adding elements to the page’s style was a cumbersome job. When Microsoft saw companies’ interest in this area, they started adding some support in the product and made it easier for the users to add branding. Still it was not where it should have been. With SharePoint 2007, things became somewhat easier. With SharePoint 2010, branding actually took off and we saw some great very well done sites. Now with SharePoint 2013, we have full support in the product and branding sites has become a lot easier now. With the increasing popularity of mobile platforms, responsive designs have taken the top spot and are the #1 preference of the companies these days. Moreover, SharePoint is now very well established in the cloud. SharePoint until now has been popular as an Intranet product. Companies usually used it for team collaboration and document management but with SharePoint online, companies are now deploying sites that offer the same excellent look and feel that was the trademark of HTML sites back in the day and on top of that, users get the same excellent features that were the hallmark of SharePoint Intranet or Extranet solutions, for example, document management, users management, user roles, calendars, tasks management, etc. So, in this Article , first we are going to setup a SharePoint site in the cloud. Then we will develop a branded site for the cloud.

So, here is a brief introduction before we dive into the details. SharePoint Online is a cloud based service that helps organizations share and collaborate with colleagues, partners, and customers. Users can now access internal sites, documents, and other information from anywhere. It is a common platform that can be accessed from the home, office or a mobile device.

SharePoint Online has new innovative features. It has a fluid interface, file sharing capabilities, higher storage limits, cloud application development model and robust tools for administrators to more easily control the environment. Everyone benefits from the new SharePoint Online: users, managers, developers and IT professionals.

SharePoint Online site consists of two sites: the Team Site and the Website. Here is some more detail:

Team Site: The Team Site is an internal site for your team. All members of your organization can collaborate with each. They can share documents and other files. Other basis elements of the Team site include announcements, meetings, tasks list and issues list, custom lists, etc.  You can create subsites from the available site templates. For example, you can create a team blog, or a social meeting workspace to organize team events, meetings, and so on.

Website: The Website is where you design your public site. This is the site that is visible to the world.  This website has everything you need to get started with designing your site. It has libraries to store content such as images, documents, etc. that you can display on the pages of your site.

Site Components

A site is a group of pages where users can work on projects, store and share information. Following are some important site objects that are frequently used in a SharePoint site.

Lists


A list is a site component that is used to store information quickly. It has CRUD functions. There are different types of lists in SharePoint, for example, a tasks list is used to store and monitor tasks, an events list is used to store events, a custom list can comprise of any number of fields that are relevant to your business.

Libraries


A library is a special type of list that stores files as well as information about files. The two most used libraries in SharePoint are: Document library and Forms library.


As the name suggests, document library is used to store documents. You can create folders inside a library to define a hierarchy. Forms library is used to store electronic forms. You can store forms directly in this library. Each form library can be associated with different content types. You can publish InfoPath form template in a library and bind it to the library. Users can open this template and fill out data. Saving the template automatically generates a new xml form that is stored in the same library.

Views


Views play an important part in SharePoint. You can use views to see items in a list or library. These views can be added to the home page of your site so that all important information from different libraries and lists is available on the home page of the site. Multiple views can be created for a list or library. You can also use a web part to display a view of a list or library on a separate page of the site.

Web Parts


A Web Part is a modular unit of content that forms a basic building block of most pages on a site. If you have permission to edit pages, you can use web parts to customize the site to display information from different sources.
New interface has been reimagined. It is easy to navigate and easy to accomplish tasks.

Site Usage


There are several other features that allow administrators to control the site. Managing sites in SharePoint is easy because of the built-in functions that let administrators control permissions, roles, storage, content management, etc.

Permissions


There are different permission levels available out-of-the box and you can create your own custom permission levels. You can assign permissions directly to the users as well groups. Assigning permissions to the groups make permission handling very easy. All you have to do is add or delete users from the group. You don’t have to handle permissions individually if you don’t want to. For granularity, you can assign permissions directly on the files and folders and to the individual users.

Customization 


Everything can be customized in SharePoint and that’s the beauty of it. You can customize the interface, you can customize permissions, you can customize navigation. This is the biggest advantage of SharePoint. You are not restricted to the out-of-the-box features. SharePoint is scalable. You can add your own custom functionality.


Figure 11-1: SharePoint 365 (branded) home page

The page you see above is customized and contains custom content. One new feature is drag and drop. Another one is on-hover that allows users to see a set of rich commands and contextual information in search results.

SkyDrive Pro is cloud storage that users can use to store documents directly from within SharePoint.

Most important interesting new feature is new and improved public website. There are different out-of-the-box themes available that can quickly change the look and feel of your site. You can also create custom themes. Even if you don’t create custom theme, you can create a new design and create a master page to incorporate the new design and apply it to your site. Following are a couple of themes that come with the product.




Figure 11-2: Out-of-the-box themes

Online Packages

As of Dec 2013, the packages are as following:

Small Business Packages

Small Business
Small Business Premium
Midsize Business
$5.00 user/month
$12.50 user/month
$15.00 user/month

  • Business-class email
  • Online conferencing
  • Public website
  • File sharing
  • Office Web Apps

  • Business-class email
  • Online conferencing
  •  Public website
  • File sharing
  • Office Web Apps
  • Desktop versions of Office products

  • Business-class email
  • Online conferencing
  • Public website
  • File sharing
  • Office Web Apps
  • Active Directory Integration

Enterprise Packages

Business-class Email
Enterprise E1
Enterprise E3
$4.00 user/month
$8.00 user/month
$20.00 user/month

  • Active Directory Integration

  • Business-class email
  • Active Directory Integration
  • File Sharing
  • Online conferencing
  • Enterprise social
  • Office Web Apps

  • Business-class email
  • Active Directory Integration
  • File Sharing
  • Online conferencing
  • Enterprise social
  • Office Web Apps
  • Desktop versions of Office products
  • eDiscovery Center

Setting up SharePoint Online

In this section, we will start from scratch and setup an online SharePoint site.

Sign-up for a trial version on this link:


Click Free trial link under Enterprise E3 plan and sign up.

Here is the direct link:




Trial version expires after 30 days. If you choose to keep the site, then you have to purchase the package.

After you have signed up, you get access to the site. You get your own URL. You can also unique URL for your site should you wish to do so. You can purchase a domain name and link it to your SharePoint Online site.

Site URL looks like this:


You are also granted a unique email address that you use to login to your site. Your email address looks like this:


Plan the Public Website

So, now you have a subscription, you can setup a public website and make it available on the Internet. By default, your site is set to Offline mode. Once you have completed the site, you can take in Online. You can customize the website to create a professional online presence for your business or organization.

It’s always a good idea to do some planning before you start the work. Discipline and planning really help to keep things moving smoothly.

The website includes several sample pages: Home, About Us, Contact Us, Directions, and Blog. You can use these pages and just customize the content and you are all set to go live. You can add your company name, logo, contact information, and change color scheme. You can also create a totally new branded site for your business. That’s our next topic in this Article . In this section, we will use out-of-the-box components to set up a site.


Figure 11-3: Website menu

 Once you login, you will see a global menu. As mentioned before, there are two sites created by default, a team site and a public website. To work on the team site, you have to select team site from the global menu. To work on the public site, you have to select public website from the menu. Global menu looks like this:


Figure 11-4: Global menu


In the global menu, click Sites to see the two sites. Please note that depending on your package, the interface may look different. For example, if you are using an E3 package, you will not see the two sites. You will have to create the sites first. By default, E3 package gives you a public site. You can create more sites separately.  Click Public site to go to the public website. Click on the Home link to go to the home page. Then select PAGE tab from the top. Click Edit button from the PAGE menu. Start typing and adding elements to the page until you are done. If you have already designed a page using other design programs, copy the page from there and paste it in the content area and the save and publish the page.



To read more about SharePoint Online/to buy book, please visit following Amazon page:

Tuesday, March 4, 2014

SharePoint Server 2013 Service Pack 1 now available

Bill Baer is a senior product marketing manager in the SharePoint product group.
Today we announced SharePoint Server 2013 Service Pack 1 (SP1) at the SharePoint Conference 2014 in Las Vegas, NV.
SP1 is our latest release to SharePoint Server 2013 on-premises. This service pack includes performance, reliability, and security fixes. It also helps IT address some of the most common scenarios faced when moving to the cloud, helping them deploy cloud-based workloads in their organization faster and with less complexity, while providing them with the control they demand.

Sunday, March 2, 2014

Practical Guide to SharePoint Article 8

Article 8

Securing SharePoint Sites with Secure Sockets Layer


In this Article :


  • Setup SSL Using Domain Certificate
  • Setup SSL Using Self Signed Certificate
  • Setup SSL Using Commercial Certificate

Setup SSL in SharePoint 2013 Using Domain Certificate


I
n this Article , you will learn how to setup Secure Sockets Layer (SSL) using different types of certificates. Most people get confused as to why SSL is needed in the first place. Especially when you are providing consulting services to a big corporate client and you tell them that to setup an Extranet, SSL is recommended and their first question always is “Why SSL?” The primary reason why SSL is used is to keep sensitive information encrypted. Only the intended recipient should be able to read the information transmitted over the Internet. In the Intranet environment, where you computers are behind a firewall, SSL is not required but in the Extranet and Internet environments, where your information travels outside of your firewall boundaries, SSL is definitely needed especially if the information is sensitive like financial or confidential information. Information when transmitted over the Internet is passed from computer to computer to get to the destination server. Any computer in between you and the server can sniff this information if it is not encrypted with an SSL certificate. SSL certificate encrypts the information and renders it unreadable to everyone except for the server you are sending the information to. This protects the information from hackers.

In addition to encryption, a proper SSL certificate also provides authentication. SSL certificates are issued by a server. If you are purchasing a certificate from a third party company, they usually verify your information before issuing you a certificate. You also get a trust seal from the provider that instills trust in your customers and partners. SSL also protects you from phishing attacks. Hackers are unable to impersonate your site because they don’t have a proper SSL certificate.
I can go on and on talking about the benefits and advantages of using SSL with your SharePoint sites but that’s not the objective of this Article . Briefly speaking, if you intend to open up your sites to the public, either through Extranet or through Internet, it is important that you secure your sites with an SSL certificate and that’s exactly what this Article will teach you. In the later Article , I will teach you how to setup an Extranet site in SharePoint. This Article is a pre-requisite if you are interested in learning how to setup an Extranet site.

This Article  is divided into three sections. In the first section, you will learn how to setup an SSL using a domain certificate. In the second section, you will learn how to setup an SSL using self-signed certificate and in the final section, you will learn how to setup an SSL using a commercial third party SSL certificate.

Setup SSL Using a Domain Certificate


In this first section, you will first learn how to create a domain certificate. Please note, some or all of these steps may be repeated in the subsequent sections also but that is only for your convenience so that you don’t have to go back and forth looking for pertinent information.

To generate a domain certificate, you must have Active Directory Certificate Services running.

1.      Open Server Manager (All Programs > Administrative Tools > Server Manager).

2.      Expand Roles node and see if certificate services role is installed. If not, then install it first using the steps below.

3.      Click Roles. Under Roles Summary header, you will see Add Roles link on the right, click it.

4.      Click Next.

5.      Check Active Directory Certificate Services role and click Next.

6.      Click Next again.



7.      Certification Authority will already be selected. Select the following services:

a.       Certification Authority Web Enrollment
b.      Online Responder
c.       Certificate Enrollment Policy Web Service

8.      Click Next.

9.      Keep Enterprise selected and click Next.

10.  Keep Root CA selected and click Next.

11.  Keep Create a new private key selected and click Next.

12.  Select RSA#Microsoft Software Key Storage Provider in the cryptographic service provider (CSP). Change key character length from 2048 to 1024 unless this is production environment and you want to use strong keys. By default, SHA1 is selected in hash algorithm, keep it selected and click Next.

13.  Keep the default values selected and click Next. Common name for CA is the name that you will see in certification authority while generating domain certificate.


Figure 8-1: Configure CA Name

14.   Keep default value selected and click Next. Default validity period is 5 years.

15.  Keep default values selected and click Next. These are certificate database and log locations.

16.  Keep default option Windows Integrated Authentication selected and click Next.

17.  Click Install.

18.  Now you have it installed, next step is to create a domain certificate but wait a minute. If your domain controller is on a separate machine then there is one step left. You have to import certificate to the SharePoint machine. The certificate is located in the following folder and has a .crt extension.
C:\Windows\System32\CertSrv\CertEnroll

If you ever renamed your server, you will see multiple .crt files. Make sure you pick the one that is current. For example, if your server’s FQDN is walisystems.com and server name is SP2013 then the certificate file name will be sp2013.walisystems.com_walisystems-SP2013-CA.

Copy the file to the SharePoint machine and import it into Trusted Root Certification Authorities.

a.       Click Start > Run and type mmc and click OK. MMC console will open.
b.      From File, select Add/Remove Snap-in.      

c.       Select Certificates from available snap-ins and click Add >.

d.      Select third option Computer account and click Next.

e.       Choose Local Computer and click Finish.

f.       Click Ok.
g.      Expand Certificates (Local Computer) node.

h.      Expand Trusted Root Certification Authorities and click Certificates folder.

i.        Right-click Certificates folder and select All Tasks then select Import.

j.        Browse to the certificate (.crt) file that you copied from the DNS machine. Click Next.

k.      Select Automatically select the certificate store based on the type of certificate and leave default store selected. Click Next.

l.   Click Finish.

m.    You will get The import was successful message. Click Ok.

19.  Now, let’s move to the next part which is creating a domain certificate. Open IIS.

20.  Click on server name and under Actions on the right, click Create Domain Certificate.

21.  Enter a friendly Common name for the certificate, for example, your server’s FQDN. Organization should contain your organization’s name or your server name. Organization Unit can be an abbreviation of your organization name or machine name. Enter City, State and select Country. Enter full state name, not the abbreviation. Click Next.

Figure 8-2: Create Certificate

22.  Click Select button to select Certificate Authority. Select the one that you created above. If you are doing this first time then there will be only one authority listed there. Select it and click OK. Give a friendly name to the Online Certificate Authority, for example, WS_SP2013 and click Finish.
That’s it. Next you will bind the certificate to your site. 

Bind Certificate to Your Site

23.  Open IIS.



24.  Click server name. Expand Sites node.

25.  Click site name that you will bind to the SSL certificate.

26.  On the right, under Actions, click Bindings.

27.  Click Add.

28.  In Type, select https.

29.  Keep 443 in the Port. This is default port used for SSL.

30.  In SSL Certificate, select the certificate you just created. Look for the common name, for example, WS_SP2013. Click OK. That’s it.

To test SSL setup, open the site in browser. In the address bar, click the lock sign to check validity of the certificate. If you want to see the certificate, click View Certificates link at the bottom of the notification. In case you see error message, click Certificate Error (that appears instead of a golden lock). Click View Certificates. Click Install Certificate button to install the certificate. Click Ok to close the certificate window. Refresh your browser and now you will see a lock.


            Figure 8-3
: Browse site with SSL enabled

To read more about securing sites or to buy book, please visit following Amazon page:

Buy “A Practical Guide to SharePoint 2013” on Amazon.com