Difference between SharePoint Online and SharePoint On Premise

By Sigar Dave No comments

This article provides a basic overview of the primary differences between SharePoint Online and SharePoint On-Premises. So let’s begin by taking a look at the different environments needed to run online vs. On Premise: SharePoint Environments As with any on-premise vs cloud based discussion, one of the most significant differences is the impact on internal […]

Using SharePoint’s Rich Text Box in a page

By Sigar Dave No comments

ASP.Net does not provide a rich text box control in its set of web controls. So, if you need to place a rich text box on your SharePoint page you’ll have to use a commercial, free or open source text box control (and there are plenty out there). However if you don’t want to introduce another […]

5 Ways to brand Office 365 without Modifying the Master Page

By Sigar Dave No comments

Starting from 1 easiest to 5 hardest (requires dev skills) 1. Office 365 (Personal and Tenant Wide) Themes – You should start here. Office 365 themes After you’ve created your theme Custom logo optionally clickable: Select the image and upload your own JPG, PNG, or GIF with a resolution of 200 x 50 pixels, no […]

Renew an expiring client secret in a SharePoint Provider Hosted Apps (Add-in) without deploying the Apps again by changing Client Secret key using Powershell

By Sigar Dave No comments

When you create Provider Hosted you have registered a Client ID and Secret ID using SharePoint Register App Page (AppRegNew.aspx) and you have used this Client ID and Secret ID in the Web Config in the web application part of the provider hosted app (App Web), after one year your Apps is stop working, and […]

Site Pages and Application Pages (Difference Between SharePoint Application Pages Vs Site Pages)

By Sigar Dave No comments

Application Pages Site Pages Application pages are stored in the server’s file system.  Site Pages is a concept where complete or partial page is stored within content database and then actual page is parsed at runtime and delivered to end-users.   SharePoint Designer tool cannot be used withapplication pages.  Site pages can be edited by using SharePointDesigner tool.  Application pages cannot be used within sandboxed […]

Use Site Url in SharePoint

By Sigar Dave No comments

There are several ways to reference site collection or site url in masterpage, layout page, application page and web parts.1. Token: ~sitecollection ~siteThese tokens only works with SharePoint server side controls. They do not work with ASP.NET control or HTML control.2. SharePoint Server Token <% $SPUrl:~sitecollection/…%>This token is only available for SharePoint Office Server not the SharePoint Foundation […]

Resource throttles and limits

By Sigar Dave No comments

The following table summarizes information about resource throttles and limits that you need to be aware of. These throttles and limits are set on the Resource Throttling page in Central Administration. Contact your administrator for specific limits and requests for your site. NOTE   To assist with management, the administrator is not subject to the following resource […]

Enabling ScriptManager PageMethods doesn’t work in some scenarios in SharePoint

By Sigar Dave No comments

I worked on a case where the problem was that PageMethods won’t execute from within a SharePoint 2013 application page (page deployed to the _layouts folder).  To replicate the problem, I had a custom master page deployed through a VS 2012 solution with the following definition within the <body/> element. <asp:ScriptManager id="ScriptManager" runat="server" EnablePageMethods="true" EnablePartialRendering="true" […]

SharePoint Feature Deactivation – Removing Module Assets

By Sigar Dave No comments

If your feature is going to install assets to your site, i.e. web parts (.webpart or .dwp files), master pages, page layouts, images, javascript files, custom stylesheet, even possibly custom content type, list definitions and list instances, it is normally considered best practices to remove what you added when the feature is deactivated. I say […]

Default User Profile properties for SharePoint

By Sigar Dave No comments

Update: link to TechNet article Default user profile properties (SharePoint Server 2010)and Default user profile property mappings (SharePoint Server 2010) Displayname Name Value Section: Basic Information Id UserProfile_GUID SID SID Active Directory Id ADGuid Account name AccountName First name FirstName Phonetic First Name SPS-PhoneticFirstName Last name LastName Phonetic Last Name SPS-PhoneticLastName Name PreferredName Phonetic Display Name SPS-PhoneticDisplayName […]