Wednesday, October 7, 2015

SHAREPOINT 2016 KEY FEATURES

SHAREPOINT 2016 KEY FEATURES

Hardware Requirements

Hardware requirements will be similar to SharePoint 2013. This will save a lot of $ for users who recently invested in hardware for SharePoint 2013.

·         RAM: 16-24 GB (for a single server farm) or 12-16 GB (for a multi-server farm)
·         CPU: 1 quad-core
·         HDD: 80 GB

Software Requirements
·         Windows Server 2012 R2 or Windows Server 10
·         SQL Server 2014 or SQL Server vNext
·         .NET Framework 4.5.2 (on Windows Server 2012 R2) or .NET Framework 4.5.6 (on Windows Server 10)


Zero Downtime Patching

It’s smaller updates and reduced to the specific packages and roles installed on that server.  Patching is risky and can cause serious outages if not done properly.  A lot of time is spent patching SharePoint servers today.  This enhancement alone increases the availability of your SharePoint farm. 

Upgrade –

 SharePoint 2016 will only support SharePoint 2013 database attach upgrade.  There’s still no in-place upgrade, not that you should ever want to do that.  Older versions of SharePoint have to upgrade to SharePoint 2013 first.

Responsive UI

There are improvements to the default responsive user interface that enabled SharePoint 2016 better view ability in mobile devices.

Designer
No SPD 2016
SPD 2013 will be in use






Online Patching

SharePoint 2016 allows applying patches while being online. No need to take the servers off and users can continue working while patches are applied. Zero Downtime!

Boundaries and Limits






 Id based URL’s that don’t change even when the content moves to another site or site collection.  Users can email links to content and not worry about a broken link if the content moves.

User Profile Service

Big changes here.  The FIM service has been removed from the SharePoint 2016 installation, only AD one way sync out of the box.  Ability to connect and bi-directional sync to FIM Sync service external to SharePoint farm.


Keyboard shortcuts are provided for the following document tasks:
    • Alt + N - New
    • Alt + E - Edit
    • Alt + U - Upload
    • Alt + M - Manage
    • Alt + S - Share
    • Alt + Y – Synchronization


SharePoint has historically blocked file names that included the &, ~, {, and } characters, file names that contained a GUID, file names with leading dots, and file names longer than 128 characters. These restrictions are removed in SharePoint Server 2016 IT Preview and are now available to use.
ImportantImportant:
Restricted characters such as % and # are still not allowed in file names.



Cloud hybrid search
Cloud hybrid search is a new hybrid search solution alternative. With cloud hybrid search:
  • You index all of your crawled content, including on-premises content, to your search index in Office 365. You can set up the crawler in SharePoint Server 2016 IT Preview to crawl the same content sources and use the same search connectors in Office SharePoint Server 2007, SharePoint Server 2010, and SharePoint Server 2013.
  • When users query your search index in Office 365, they get unified search results from both on-premises and Office 365 content.


In SharePoint Server 2016 IT Preview when you post images and videos to a document library, you can see a preview by hovering the mouse over the image or video, or by clicking on them.


Previous versions of SharePoint did not support uploading or downloading files larger than
2,047 MB (~2GB).
SharePoint 2016 now allows you to upload or download larger files. You can configure the desired maximum file-size limit on a per-web application basis in your SharePoint farm.


The role of a server is specified when you create a new farm or join a server to an existing farm. SharePoint automatically configures the services on each server based on the server role, optimizing the performance of the farm based on that topology. There are six predefined server roles that are available, as shown in the following table.

Server role
Description
Front end
Service applications, services, and components that serve user requests belong on front-end web servers. These servers are optimized for fast performance.
Application
Service applications, services, and components that serve back-end requests, such as background jobs or search crawl requests, belong on Application servers. These servers are optimized for high throughput.
Search
Service applications, services, and components that are required for search belong on Search servers.
Custom
Custom service applications, services, and components that do not integrate with Min Role belong on Custom servers. The farm administrator has full control over which service instances can run on servers assigned to the Custom role. Min Role will not control which service instances are provisioned on this role.
Single-Server Farm
Service applications, services, and components required for a single-machine farm belong on a Single-Server Farm. A Single-Server Farm is meant for development, testing, and very limited production use. A SharePoint farm with the Single-Server Farm role cannot have more than one SharePoint server in the farm.

Mobile experience (Touch Enabled)
When you use a mobile device to access the home page for a SharePoint Server 2016 IT Preview team site, you can tap tiles or links on the screen to navigate the site. You can also switch from the mobile view to PC view, which displays site pages as they are seen on a client computer. This view is also touch enabled.

SharePoint Search supports indexing of up to 500 million items per Search Server application.

Farm Solutions will be supported

Farm Solutions will be supported. This should enable 2010 and 2013 codes to be migrated to 2016.

Monday, April 13, 2015

Geo Location Field

Geo Location field - a hidden gem - hidden SP 2013 field (On Prem & 0365)

Integrates with Bing Maps to show locations

Have tried this on SP online and works great !!!

Below is the screenshot for the list view to which the geo location field was added


To add a new location - just specify the title and the Latitude and Longitude for the same as shown in figure below :-





One needs to have a BING MAP Key for this to work
Freely available on bing maps

This key is to be set as Property Bag for the current web

One can use this cool code to create admin screen to easily setup geolocation fields

Just enter the web url
Set the Bing Maps Key
Specify your list and column name
And readily use your geolocation field

Here is the admin screen -



Here is the code :-

HTML Code :-

<table style="width: 480px;">
    <tbody>
<tr>
        <td style="width: 200px;">Web relative URL:
        </td>
        <td style="width: 5px;">&nbsp
        </td>
        <td valign="top"><input id="webrelative_url_id" name="relative" type="text" value="/">
            <label style="font-size: 8pt;">
                * Input web relative URL and select "Get BING key" to check if key is set</label>
        </td>
        <td style="text-align: right;" valign="top"><input onclick="GetBingKey()" type="button" value="Get BING key">
        </td>
    </tr>
<tr>
        <td style="width: 200px;" valign="top">Bing Maps Key:
        </td>
        <td style="width: 5px;">&nbsp
        </td>
        <td valign="top"><input id="bing_key_id" name="bingkey" type="text">
            <label style="font-size: 8pt;">
                * Input Bing map key and relative url to web site to wich you wish to add the key</label>
        </td>
        <td style="text-align: right;" valign="top"><input onclick="SetBingKey()" type="button" value="Set BING key">
        </td>
       

    </tr>
<tr>
        <td style="width: 200px;" valign="top">List name:
        </td>
        <td style="width: 5px;">&nbsp
        </td>
        <td valign="top"><input id="listname_input_id" name="listname" type="text">
            <label style="font-size: 8pt;">
                * Name of the list where you wish to add your new geolocation field</label>
        </td>
        <td></td>
    </tr>
<tr>
        <td valign="top">Field name:
        </td>
        <td style="width: 5px;">&nbsp
        </td>
        <td valign="top"><input id="fieldname_input_id" name="fieldname" type="text">
            <label style="font-size: 8pt;">
                * Name of the new geolocation field you wish to add</label>
        </td>
        <td style="text-align: right;" valign="top"><input onclick="AddGeolocationField()" type="button" value="Create field">
        </td>
    </tr>
</tbody></table>
<label id="error_id" style="color: red;">
</label>
<label id="success_id" style="color: green;">
</label>


Javascript Code :-

<script type="text/javascript">
var clientContext;
var relativeAdress;
  
    function AddGeolocationField() {
  ClearNotifications();
  GetRelativeAdress();
        clientContext = new SP.ClientContext(relativeAdress);  
        var web = clientContext.get_web();
   
        var targetList = web.get_lists().getByTitle(document.getElementById('listname_input_id').value);
        var fields = targetList.get_fields();
        fields.addFieldAsXml(
            "<Field Type='Geolocation' DisplayName='" + document.getElementById('fieldname_input_id').value + "'/>",
            true,
            SP.AddFieldOptions.addToDefaultContentType);
        clientContext.load(fields);
        clientContext.executeQueryAsync(function (sender, args) {
       document.getElementById('success_id').innerHTML = "You have succesfully created new geolocation field.";
    },
    function (sender, args) {
        document.getElementById('error_id').innerHTML = "Error: "+args.get_message();
    });
    }
   
    function SetBingKey() {
  ClearNotifications();
  GetRelativeAdress();
        clientContext = new SP.ClientContext(relativeAdress);
   
        var web = clientContext.get_web();
        var webProperties = web.get_allProperties();
   
        webProperties.set_item("BING_MAPS_KEY", document.getElementById('bing_key_id').value);
        web.update();
        clientContext.load(web);
        clientContext.executeQueryAsync(function (sender, args) {
            document.getElementById('success_id').innerHTML = "You have succesfully entered BING map key on "+web.get_title()+" site";
        }, function (sender, args) {
              document.getElementById('error_id').innerHTML = "Error: "+args.get_message();
        });
    }
    function GetBingKey() {
   
  ClearNotifications();
  GetRelativeAdress();
        clientContext = new SP.ClientContext(relativeAdress);
        var web = clientContext.get_web();
         
        var webProperties = web.get_allProperties();
        clientContext.load(webProperties);
        clientContext.executeQueryAsync(function (sender, args) {
            document.getElementById('bing_key_id').value = (webProperties.get_fieldValues()["BING_MAPS_KEY"]);
           
        }, function (sender, args) {
            document.getElementById('bing_key_id').value = "";
            document.getElementById('error_id').innerHTML = "Property not found! Please check your web site relative URL.";
        });
    }
  
 function ClearNotifications(){
    document.getElementById('success_id').innerHTML = "";
    document.getElementById('error_id').innerHTML = "";
 }
  
 function GetRelativeAdress(){
  if (document.getElementById('webrelative_url_id').value === "")
            relativeAdress = "/";
        else
            relativeAdress = document.getElementById('webrelative_url_id').value;
  if(relativeAdress.charAt(0)!='/')
     document.getElementById('error_id').innerHTML = "Relative adress has to start with /";
 }
  
 </script>

Also - need to install SQL CLRTypes on WFE's

http://blog.baslijten.com/sharepoint-2013-geolocation-column-a-component-is-not-installed/

Reference - http://mysharepointinsight.blogspot.com/2013/05/adding-geolocation-field-to-sharepoint.html

Monday, February 9, 2015

InfoPath is back in SharePoint 2016 & FoSL vNext is dead!

So now it seems like InfoPath is here to stay at least for a few more years until MS comes with another forms based service

Latest MS Blog reads :-

“As part of the update shared around the Evolution of SharePoint and the next SharePoint Server on-premises release, we are also updating the timelines for removal of InfoPath Forms Services components of SharePoint and SharePoint Online. Specifically, InfoPath Forms Services will be included in the next on-premises release of SharePoint Server 2016, as well as being fully supported in Office 365 until further notice. Customers will be able to confidently migrate to SharePoint Server 2016 knowing that their InfoPath forms will continue to work in their on-premises environments, as well as in Office 365.
The InfoPath 2013 application remains the last version to be released and will work with SharePoint Server 2016.”