Skip to main content

Posts

Showing posts with the label SharePoint 2013

New OneDrive for Business sync client

Microsoft has provided an update on a faster and more reliable sync experience so that you always have the latest version of your files accessible from any device.   They will roll out this upgrade over the coming months. The previous sync client will then stop working. If you try to sync your files stored in OneDrive for Business using the old sync client, you will be prompted to install the new sync client.  You can download and set up the Next Generation Sync Client from the following link Download Link

Understand _spPageContextInfo object in SharePoint

Introduction While creating the app in SharePoint we are using JavaScript and Client side object model. In development of app, we would require some basic properties to handle our app, SharePoint provide the few properties with _spPageContextInfo object. _ spPageContextInfo will provide the below properties   webServerRelativeUrl   webAbsoluteUrl siteAbsoluteUrl serverRequestPath layoutsUrl webTitle webTemplate tenantAppVersion isAppWeb webLogoUrl webLanguage currentLanguage currentUICultureName currentCultureName env nid fid clientServerTimeDelta updateFormDigestPageLoaded siteClientTag crossDomainPhotosEnabled webUIVersion webPermMasks pagePersonalizationScope userId userLoginName systemUserKey alertsEnabled siteServerRelativeUrl allowSilverlightPrompt themedCssFolderUrl themedImageFileNames Implementation You can also access this object in JavaScript model as <script type=”text/javascript”> var propertyV...

Performance issue in newly installed & configured on-premises SP 2013 farm

Recently one of our project faced performance issue in newly installed & configured on-premises SharePoint 2013 farm. I have looked in to this problem and came to know something interesting, so I am sharing my experience with you all. Problem statement The SharePoint servers had frequent 8321 events error related to certificate validation. It turns out that SharePoint periodically checks the validity of the Security Token service certificates used for signing security tokens. To check the validity of these certificates the server tries to connect to the Internet and if there is no connectivity from the server to the Internet, it takes 15 sec before the connection attempt times out. This majorly impacts the overall performance of the SharePoint farm. Solution http://support.microsoft.com/kb/2625048 is a KB article describing the issue. This is relevant since our servers do not have Internet connectivity. Per the suggestions in the document, I first tried importing the ce...

Autohosted Apps Preview Program end on June 30, 2014

Over the last few months, Microsoft has received a lot of great feedback on the Office 365 Autohosted Apps Preview experience. They heard loud and clear that while the goal of a friction-free development experience with the Autohosted Apps Preview was right on track with what developers wanted, the preview experience lacked some critical capabilities that you needed—for example, the ability to access all the features of Microsoft Azure, better insight and transparency into running apps for debugging and monitoring purposes, and more control and options for scaling apps. Microsoft is working closely with the Azure and Visual Studio teams to incorporate developers’ feedback and evolve the autohosted apps model, as well as to deliver a seamless experience for developers by the end of this year. Microsoft announced on dated 16th May 2014 that the Office 365 Autohosted Apps Preview program will end on June 30, 2014. After June 30th, developers will not be able to create new autohosted a...

Adding master page to Auto-hosted apps

When we build a SharePoint hosted app, all pages and other resources are served by SharePoint from within the app web. For this reason, SharePoint hosted apps automatically inherit the look and feel of the host web and present custom functionality within the familiar SharePoint environment. This inheritance is not automatic when we create a remote hosted app because the remote web is served from outside the SharePoint environment. There is no requirement to ensure that your remote web looks like the host web but a similar look and feel reassures users, positions familiar links and controls where users expect them, and can ease the adoption of your app time. Steps to add host web master page to app pages 1.      To use the Chrome Control, copy the sp.ui.controls.js JavaScript library into your remote web project. 2.      Ensure each page in app includes <script> element to the above JavaScript file. < script   ...

SharePoint 2013 - Empty project / Load Project error

Problem : I am starting to debug SharePoint Solution on a server but found below error "An error occurred while trying to load some required components. Please ensure that the following prerequisite components are installed: Microsoft Web Developer Tools Microsoft Exchange Web Services." I have installed Visual Studio Professional 2012 on my server. Resolution Please follow the below steps to resolve this issue 1.       Go to Control Panel > Uninstall a program 2.       Select Microsoft Office Developer Tools for Visual Studio 2012 - Preview 2 - ENU 3.       Click on Change to uninstall it. The setup program should launch. 4.       Click on Uninstall to remove the Office Developer Tools. 5.       Download the Office Developer Tools using Web Platform Installer link. This Web Platform Installer should install the Of...

The search service is not able to connect to the machine that hosts the administration component

Issue: The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component ‘GUID′ in search application ‘Search Service Application’ is in a good state and try again. Cause: search admin timer job was disabled Analysis : Execute below PS command in SharePoint Management Shell to verification of cause of this issue Get-SPTimerJob job-application-server-admin-service | fl It will return IsDisabled : True (See below screen)   Solution : Execute below PS command in SharePoint Management Shell to fix this issue Enable-SPTimerJob job-application-server-admin-service Now it will return IsDisables: False To verify it execute command Get-SPTimerJob job-application-server-admin-service | fl Restart SharePoint Timer Service IISRESET My TechNet article    

App Model in SharePoint 2013 Basic

What is it? Microsoft has re-invented how third-party / custom-developed software can plug into SharePoint. Web part still remains; however Microsoft is pushing the new SharePoint App Model instead of web part. Apps are self-contained pieces of functionality that extends the capabilities of a SharePoint website. Apps will be executed outside the SharePoint Server, either in the on-premise server or in the Cloud based server.  This makes Apps easier for installation & clean-up.  A farm solution in SharePoint requires full trust whereas sandbox solutions are very restricted. In order to bridge this gap Microsoft has come up with this App model. Sandboxed Solutions are deprecated and new custom solutions should be provided through Apps. A new concept of App Store and App catalogue has been introduced for global and local app hosting respectively. Microsoft’s Motivation behind App Model SharePoint 2007 and SharePoint 2010 have gained large-scale adoption worldwi...