Posts

Missing “Apps you can add” with custom master page in SharePoint 2013

Image
After you put a custom master page on SharePoint 2013 in Add app page you don't see "Apps you can add" section? Is this is the case you have change the visibility of some sections on the custom master page. Just change visibility of following content holders to true you will see the section again.  runat="server"/>  runat="server" /> Hope this will help you in someway.

Adding Quick Launch to Page Layout

When we need to add Quick Launch to the page layout we can use following code.     ID="SiteMapDS"     runat="server"     EnableViewState="false"     SiteMapProvider="CurrentNavigation"     StartFromCurrentNode="true"     StartingNodeOffset="0"     ShowStartingNode="false"     TrimNonCurrentTypes="Heading"/>         ID="CurrentNav"     EncodeTitle="false"     runat="server"     EnableViewState="false"     DataSourceID="SiteMapDS"     UseSeparateCSS="false"     UseSimpleRendering="true"     Orientation="Vertical"     StaticDisplayLevels="2"     MaximumDynamicDisplayLevels="0"     CssClass="s4-ql"     SkipLinkText="<%$Resources:cms,masterpages_skiplinktext%>"/> Following links will help you to get some samples how to do this. http://heatherwaterman.com/2014/07/lef...

SharePoint Apps authorizations

Last few days I was experimenting with SharePoint App model. Provider hosted apps which is a type of app which provide by SharePoint. In this category of apps, app will have a separate web component running out side the SharePoint box which App is installed. When the out side hosted component needs access to the SharePoint list and libraries of the SharePoint farm which app is installed there is a requirement to authorize access from those hosted web components. According to the MSDN there are three different authorizations defined for SharePoint apps which can be used in this scenarios. Low Trust – Provider hosted apps for SharePoint use Azure ACS (Access Control System) to get the token which they can use to access SharePoint resources (List libraries and other resources) which app installed SharePoint farm. This use OAuth 2.0 framework and Azure ACS is the token issuer. If app is using this mechanism it can be sold in SharePoint App Store. Low trust system is there mostly for...

SharePoint Configuration Mysteries

Image
Recently I faced problem when configuring SharePoint on my development machine which consumed several hour of my valuable time. Its so strange and I reinstalled SharePoint 3 times to notice the mistake which I have done. Problem was just after installing SharePoint 2013 and then when I started the configuration wizard, its just automatically ran till end which out allowing me to enter Database server which It needs to be installed. Window which didn’t appear Just after searching through the internet found that this was all due to option which I selected when installing SharePoint. When installing SharePoint at one point its giving user to select Complete or Stand-alone. In the stand-alone description its mention that this is the option which you need to select if you are using SharePoint as a developer. But as a developer when I need to have more flexibility on configuring my environment. So it is necessary to configure it on my choice of configuration. I wanted to change my op...

Delay Loading of Data in SharePoint 2010

Image
Today I found really good article about delay loading web part data in SharePoint 2010 site. I has all the coding and demonstration of how it works after implementing it. Hope this will help us some day when doing complex web part implementations. http://kjellsj.blogspot.com/2011/06/delayed-load-sharepoint-2010-web-parts.html Cheers

SharePoint Dispose Checker Tool

Image
Running SPDisposeCheck tool against SharePoint code is good practice to avoid unnecessary performance and other runtime issues. Following information will help you to to install and configure SPDisposeCheck tool in your development environment. Download SPDisposeCheck Tool SPDisposeCheck tool can be downloaded from here More information regarding SPDisposeCheck tool can get from URL http://archive.msdn.microsoft.com/SPDisposeCheck Configuring SPDisposeCheck Tool 1. Download and install SPDisposeCheck setup.     2. Go to Visual Studio 2010 Tools menu External Tools 3. Click Add and add SPDisposeCheck.exe as command. Give Arguments and Initial Directory values as given in the following window. Tick Use Output window to show error in the output window. Click Ok. 4. Go to Visual Studio Tools menu and click SPDisposeCheck. 5. Check output window for issues identified by SPDisposeCheck issue. 6. Now only thing remain is fixing issues listed in the output wind...

Creating SharePoint 2010 Development Environment

Today I gave a hand to my team member to create his SharePoint 2010 development environment. When I was running configuration wizard it suddenly ran the way I never expected without giving any details on database access and any other information (Usually it prompt us to enter account details and database server details). So I wanted to write this post to help others on how to prepare development environment. When I searched through the net I found this MSDN article which shows the full guide one how to prepare the SharePoint 2010 development environment. http://msdn.microsoft.com/en-us/library/ee554869.aspx