Friday, November 29, 2013

SharePoint 2013 Features

SharePoint 2013 Features:-

1.      Features of Enterprise Content Management
1)      FAST Search is now integrated into SharePoint Server Search
2)      Drag and drop file upload
3)      Share documents in your newsfeed
4)      Mass edit document metadata
5)      Utilize retention policies for emails using an Exchange Site Mailbox
6)      Create attractive, usable navigation with managed metadata terms

2.      Enhancements to Search in SharePoint Server 2013:
1)      Result blocks allow a configurable grouping of similar search results
2)      Query suggestions help users find what they previously searched
3)      Site collection administrators can create display templates using an HTML editor to customize the search result appearance
4)      Microsoft Office file type icons make documents easier to find
5)      A new set of ranking models improve people search, intranet search, and internet sites
6)      Analytics is now built directly into the SharePoint Search architecture
7)      Query rules let administrators configure promoted results and result blocks
8)      Continuous crawling makes new items almost instantly available to search results.
9)      Hover preview panel for search results

3.      Features of Enterprise Workflows:
1)      SharePoint 2010 workflows still work in SharePoint 2013 by running the Windows Workflow Foundation 3 engine, installed for backwards compatibility
2)      Text and Visual based workflow Design options in SharePoint Designer 2013
3)      You can now have workflows loop until a certain condition is met

4.      Web Content Management Enhancements:
1)      Use familiar tools such as Adobe Dreamweaver to design the site and brand.
2)      Use Design manager to preview, customize, and package your site in the web browser.
3)      Create reusable content that can be consumed by many different targeted devices using device channels
4)      Surface dynamic content to the end user based on search driven content display
5)      The SharePoint mark-up has be architected for simpler CSS and HTML5

5.      Powerful Social features in SharePoint Server 2013:
1)      Facebook-esque news feeds, complete with a “Like” button and support for pictures and hyperlinks
2)      Skydrive Pro replaces SharePoint Workspace for offline content sync with a deep Office 2013 integration
3)      Threaded discussion boards let you reply to specific people using the (at)name format
4)      Follow specific people and documents to aggregate relevant updates
5)      Tag content with the hashtag (#)

6.      Office Web Apps - Benefits of Utilizing Office Web Apps Server:
1)      Open office documents from any device including Windows 8 and iOS tablets.
2)      Available on SkyDrive for viewing and editing your documents in the cloud.
3)      Touch Device compatible
4)      Coauthoring Enabled

7.      Project Server -  Features of Project Server 2013:
1)      Build a project schedule and resource allocation in the Project Pro 2013 client application, and then publish it to SharePoint Server 2013
2)      Improved demand management workflows allow organizations to collect "demand" for project ideas, prioritize and execute them
3)      Touch-enabled mobile access to project data for Windows Phone 7.5+, Apple iPhone, and Android devices
4)      Rollup views of project statuses for the C level executives in your organization
5)      Tasks and Calendars are now rolled up from Exchange, Project, and SharePoint into your personal Mysite

8.      Central Admin - Benefits of the Central Administration Features Include:
1)      Application Management - Web Applications, Site Collections, Service Applications, Database
2)      System Settings - Servers, Email and SMS, Farm Management
3)      Monitoring - Health Analyzer, Timer Jobs, Reporting
4)      Backup and Restore - Farm Backup and Restore, Granular Backup
5)      Security - Users, General Security, Information Policy
6)      Upgrade and Migration - Upgrade and Patch Management
7)      General Application Settings - External Service Connections, InfoPath Forms Services, SharePoint Designer, Search, Content Deployment, Report Server Settings
8)      Apps - SharePoint and Office Store, App Management
9)      Configuration Wizards - Farm Configuration Wizard

9.      PowerShell 3.0 - Benefits of the PowerShell Framework for SharePoint:
1)      Powered by PowerShell 3.0 (tab completion, PowerShell Web Access, Task Scheduler Integration)
2)      Improved code writing
3)      300+ New cmdlets
4)      New SharePoint Apps Framework
5)      Update Help documentations easily

10.  Identity Management- Benefits of User Authentication Management Include:
1)      Ease the process of using claims-based authorization
2)      Only authorized users are enabled to use the system
3)      ASP.Net Forms Authentication is supported
4)      Claims-based identity and authentication is supported (Windows claims, ASP.Net membership, SAML)
5)      All IIS and Windows authentication options are supported by SharePoint(Basic, Digest, Certificates, NTLM, Kerberos)

11.  App Management - Benefits of App Management in SharePoint 2013:
1)      Purchase Apps from the Microsoft SharePoint App Store directly from Central Administration
2)      Manage App Licenses
3)      Monitor App Performance
4)      Manage App Permissions
5)      Manage the App Catalog available to end-users

12.  SharePoint Designer -  SharePoint Designer Benefits Include:
1)      New HTML 5 and CSS Support
2)      Overhauled Graphical Workflow Designer Interface
3)      Workflows now support loops and workflow stages (jump to any stage in a workflow)

13.  Performance and Scalability - SharePoint 2013 Scalability and Performance Perks:
1)      50% Faster Server Response Times
2)      10x faster Active Directory Import speeds
3)      40% more efficient use of bandwidth
4)      80% less file I/O related SQL IOPS – only write back file changes (shredded storage), SQL low level optimizations
5)      Faster Perceived End-User experience using animations and drag and drop file upload
6)      10K Sites in a Content Database from SharePoint 2010
7)      750K farm Sites (250K in SharePoint 2010)
8)      500 Content Databases in a farm from 300 in SharePoint 2010

14.  Upgrade and Migration - Some Enhancements for SharePoint 2013 Upgrades:
1)      Safer Upgrades with Site Collection health checks and evaluation sites for preview
2)      Reduced Outage Duration by upgrading site collections separately from databases
3)      Deferred Site Collection Upgrade allows site collection administrators to control when the site collection upgrade occurs as well as when the user experience switches from 2010 to 2013
4)      SharePoint 2010 Customization upgrades can wait as they are installed alongside the SharePoint 2013 bits
5)      A System Status bar at top of screen (upgrade in progress, maintenance in progress, read only data)
6)      Improved Upgrade Logs with Specific Error Codes and separate files for each site collection upgrade

15.  Mobile Optimization -  Mobile Optimization Features:
1)      Device Channels – Versions of pages can be targeted to specific devices.
2)      Push Notifications – Similar to email alerts but specific to mobile devices.
3)      Location – New field types can utilize your devices GPS coordinates.
4)      Business Intelligence – Dashboard content viewable on mobile devices.
5)      Office Web Apps – OWA Server lets optimized viewers open Office documents on mobile devices.

16.  Client Object Model - New Version of APIs Has Added Support For:
1)      Search
2)      User Profiles
3)      Taxonomies
4)      Publishing
5)      Feeds
6)      Sharing
7)      Workflow
8)      E-Discovery
9)      IRM
10)  Analytics
11)  BCS

17.  SharePoint Apps - Benefits of SharePoint 2013 Apps Include:
1)      The App doesn't affect the SharePoint farm performance (though may flood the farm with client side object model calls)
2)      Developers can package and distribute their SharePoint Apps on the new Microsoft App store which works with On-premises SharePoint, Hosted SharePoint (Fpweb.net), or the Microsoft Cloud (Office 365)
3)      SharePoint Apps can be hosted in an isolated SharePoint Site, isolated server, or even on Windows Azure
4)      Server side code is not possible for Apps (farm solutions are required here)
5)      SharePoint Apps rely on OAuth 2.0

18.  Business Connectivity - Benefits of the Business Connectivity Services Include:
1)      The Eventing framework allows external notifications and alerts on external lists.
2)      BCS allows offline use for your external data and processes.
3)      Main performance improvements include data source filtering, sorting and ability to export to Excel.
4)      Deploy app scoped BDC models instead of just farm-scoped.

Tuesday, November 12, 2013

Configure apps to be autohosted in SharePoint Online in SharePoint 2013, Create a basic Autohosted app for SharePoint 2013, How to Install the Autohosted App in SharePoint 2013

http://code.msdn.microsoft.com/SharePoint-2013-Configure-41146212
http://msdn.microsoft.com/en-us/library/office/fp179886.aspx
vs2012 -> file -> new -> project c# -> office/SharePoint -> apps -> apps for SharePoint 2013 -> "FirstAutohostedApp"
 

Solution "FirstAutohostedApp" -> FirstAutohostedAppWeb -> Default.aspx
<form id="form1" runat="server">
        <div>
            <div>
                <h2 style="font-family: Segoe UI; font-size: xx-large; font-weight: 100; font-style: normal; color: White">composed looks on the SharePoint host website</h2>
            </div>
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click"
                Text="GET THE COMPOSED LOOKS" BackColor="#00FFFF" ForeColor="Black" Font-Size="Large"
                Style="font-family: 'Segoe UI'; border-style: none; text-wrap: normal; font-weight: normal"
                Height="210px" Width="239px" />
            <asp:Literal ID="Literal1" runat="server"><br /><br /></asp:Literal>
            <asp:GridView ID="GridView1" runat="server" BackColor="#808080" ForeColor="White"
                BorderColor="#0033CC" BorderStyle="None" Caption="THE COMPOSED LOOKS"
                CaptionAlign="Left" CellPadding="5" Style="font-family: 'Segoe UI'" GridLines="None"
                HorizontalAlign="Left">
                <AlternatingRowStyle BackColor="White" ForeColor="Black" />
            </asp:GridView>
        </div>
    </form>

Solution "FirstAutohostedApp" -> FirstAutohostedAppWeb -> Default.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml.Linq;

namespace FirstAutohostedAppWeb.Pages
{
    public partial class Default : System.Web.UI.Page
    {
        SharePointContextToken contextToken;
        string accessToken;
        Uri sharepointUrl;
        protected void Page_Load(object sender, EventArgs e)
        {
            TokenHelper.TrustAllCertificates();
            string contextTokenString = TokenHelper.GetContextTokenFromRequest(Request);
            if (contextTokenString != null)
            {
                contextToken = TokenHelper.ReadAndValidateContextToken(contextTokenString, Request.Url.Authority);
                sharepointUrl = new Uri(Request.QueryString["SPHostUrl"]);
                accessToken = TokenHelper.GetAccessToken(contextToken, sharepointUrl.Authority).AccessToken;
                Button1.CommandArgument = accessToken;
            }
        }
        protected void Button1_Click(object sender, EventArgs e)
        {
            string accessToken = ((Button)sender).CommandArgument;
            if (IsPostBack)
            {
                sharepointUrl = new Uri(Request.QueryString["SPHostUrl"]);
            }
            string oDataUrl = "/_api/Web/lists/getbytitle('Composed Looks')/items?$select=Title,AuthorId,Name";
            HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(sharepointUrl.ToString() + oDataUrl);
            request.Method = "GET";
            request.Accept = "application/atom+xml";
            request.ContentType = "application/atom+xml;type=entry";
            request.Headers.Add("Authorization", "Bearer " + accessToken);
            HttpWebResponse response = (HttpWebResponse)request.GetResponse();
            XDocument oDataXML = XDocument.Load(response.GetResponseStream(), LoadOptions.None);
            XNamespace atom = "http://www.w3.org/2005/Atom";
            XNamespace d = "http://schemas.microsoft.com/ado/2007/08/dataservices";
            XNamespace m = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";
            List<XElement> entries = oDataXML.Descendants(atom + "entry")
                                     .Elements(atom + "content")
                                     .Elements(m + "properties")
                                     .ToList();
            var entryFieldValues = from entry in entries
                                   select new
                                   {
                                       Title = entry.Element(d + "Title").Value,
                                       AuthorId = entry.Element(d + "AuthorId").Value,
                                       Name = entry.Element(d + "Name").Value
                                   };
            GridView1.DataSource = entryFieldValues;
            GridView1.DataBind();
        }
    }
}

Solution "FirstAutohostedApp" -> FirstAutohostedApp -> AppManifest.xml
Go to "Permission" and set "Web" scope as "Read" Permission.
Go to "Prerequisites" and set "autohosting prerequisite name" as "Web Site"(select from drop-down)

http://blogs.msdn.com/b/richard_dizeregas_blog/archive/2013/03/04/sharepoint-2013-app-deployment-through-quot-app-stapling-quot.aspx
Solution "FirstAutohostedApp" -> FirstAutohostedApp -> Right Click -> Publish

Now go to this path "FirstAutohostedApp\FirstAutohostedApp\bin\Debug\app.publish\1.0.0.0". Here we can find the our app name as "FirstAutohostedApp.app"

To install the autohosted app:-
-------------------------------------------
1. Log in to Microsoft SharePoint Online as a tenant administrator. [https://portal.microsoftonline.com/default.aspx] [Sign up for an Office 365 Developer Site -> "http://msdn.microsoft.com/en-us/library/fp179924.aspx"]
2. On the Admin drop-down menu at the top of the page, choose SharePoint.
3. On the SharePoint Administration Center page, choose apps, Click on "App Catalog".


6. Now to "Site Content" and click an "Add an App"

7. Now Click on "From you organization", then a pop up window open. Click on "Trust It" Button. after click on "Trust It" page will be redirect to "Site Content" Page

8. in "Site Content" Page select our App "FirstAutohostedApp" and Click on "Deployment" option.

9. Here we can deploy App in Three ways
1. Site Collection
2. Managed Path
3. Site Template
If we want remove we can remove from here only by removing 'Site Collection' or 'Manage Path' or 'Site Template'

10. Now go to Developer Site (Developer site means the site created using "Developer" Template) [https://sreekanthapp.sharepoint.com/sites/app/_layouts/15/start.aspx#/SitePages/DevHome.aspx]
And go to 'Site Content'. Here we can find out our "FirstAutohostedApp" deployed successfully.

11. Now Click on "FirstAutohostedApp" App. the App will open in new tab with it own url.
Now Click on "Get the composed look" link. then the page populated with all composed look infomation.
Thank You.