Tuesday, January 27, 2015

Hide Ribbon in SharePoint 2013


You might have thought to show Ribbon to administrator and hide it from other users due to security reason.


 In SharePoint 2013 , we can not modify the master page directly, we need to modify the concern html page.

Every master page in 2013 would have it concerned html page eg for Seattle.master we have Seattle.html
for oslo.master we have oslo.html page.

1. Open the html page in SharePointDesigner 2013.
2. Look for <div id=”ms-designer-ribbon”>
…..
</div>
3. Add the following markup enclosed in the <!--MS:--> and <!--ME:—> tags,
<!--MS:<SharePoint:SPSecurityTrimmedControl runat="server" PermissionsString="FullMask">-->
<div id=”ms-designer-ribbon”>
….
</div>
<!—MS:</SharePoint:SpSecurityTrimmedControl>—>
the design manager will create the corresponding master page with the correct functionality of showing the Ribbon for only administrators.

You can check different permissions level HERE.

Tuesday, May 20, 2014

SharePoint 2013: Useful Links

Installation and Configuration

Install and Configure SharePoint 2013 SP1
http://shlok-sharepoint.blogspot.in/2014/05/introduction-purpose-purpose-of-this.html

Configure an environment for apps for SharePoint (SharePoint 2013)
http://technet.microsoft.com/en-us/library/fp161236.aspx


Configure app authentication in SharePoint Server 2013
http://technet.microsoft.com/en-us/library/jj655398(v=office.15).aspx

How to: Set up an on-premises development environment for apps for SharePoint
http://msdn.microsoft.com/library/office/fp179923(v=office.15).aspx#NextSteps

Create App

How to: Create high-trust apps for SharePoint 2013 using the server-to-server protocol (advanced topic)
http://msdn.microsoft.com/en-US/library/office/fp179901.aspx


How to: Use an Office 365 SharePoint site to authorize provider-hosted apps on an on-premises SharePoint site(Used it to create n configure security token)
http://msdn.microsoft.com/en-us/library/office/dn155905.aspx

Guidelines for registering apps for SharePoint 2013
http://msdn.microsoft.com/en-US/library/office/jj687469

Client Web Part Definition Schema
http://msdn.microsoft.com/en-us/library/office/dn481208.aspx

Deploying MVC5 based provider hosted apps for On-premise SharePoint 2013
http://spbreed.wordpress.com/2013/11/25/deploying-mvc5-based-provider-hosted-apps-for-on-premise-sharepoint-2013/

SSL in SharePoint 

use selfSSL7
http://blogs.iis.net/thomad/archive/2010/04/16/setting-up-ssl-made-easy.aspx


SSL for sharepoint site
http://blog.blksthl.com/2012/12/20/a-guide-to-https-and-secure-sockets-layer-in-sharepoint-2013/
https://confluence.atlassian.com/display/SPCON/Access+SharePoint+using+Basic+Authentication+and+SSL+(via+Alternative+Access+URL)+with+SP+2013

Development Issues

Access Denied Host Header Sharepoint
http://surendrabsingh.blogspot.in/2012/02/access-denied-host-header-sharepoint.html

Fix app deployment issue
http://blogs.msdn.com/b/how24/archive/2013/06/14/prepare-your-sharepoint-2013-farm-for-app-development-and-debugging.aspx

Publish reports to sharepoint
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/506621e7-6c14-4a55-9a5e-eff9fc363250/cannot-deploy-to-sharepoint?forum=sqlreportingservices

SharePoint Provider-Hosted App - 401 Unauthorized error on clientContext.ExecuteQuery()
http://jamestsai.net/Blog/post/SharePoint-Provider-Hosted-App-401-Unauthorized-error-on-clientContextExecuteQuery().aspx

App Web is not deployed for this app's request url
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/b3fb30b1-1ded-475f-95b5-3f6cef086855/app-web-is-not-deployed-for-this-apps-request-url?forum=appsforsharepoint

SharePoint 2013: How to refresh the Request Digest value in JavaScript
http://www.wictorwilen.se/sharepoint-2013-how-to-refresh-the-request-digest-value-in-javascript

http://techmikael.blogspot.in/2013/07/how-to-copy-files-between-sites-using.html

DisableLoopbackCheck & SharePoint: What every admin and developer should know.
http://www.harbar.net/archive/2009/07/02/disableloopbackcheck-amp-sharepoint-what-every-admin-and-developer-should-know.aspx



Metro style
http://www.drewgreenwell.com/

SharePoint 2013: AppFabric and Distributed Cache Service
http://social.technet.microsoft.com/wiki/contents/articles/20348.sharepoint-2013-appfabric-and-distributed-cache-service.aspx

SharePoint Apps 

Overview of apps for SharePoint 2013

Important aspects of the app for SharePoint architecture and development landscapehttp://msdn.microsoft.com/en-us/library/office/fp179896(v=office.15).aspx

Host webs, app webs, and SharePoint components in SharePoint 2013
App for SharePoint update process