Additionally, the Display Templates target mobile devices using Responsive Web Design (RWD) and Device Channels. The Display Templates sample demonstrates how to use Display Templates to render a hero image and content rotator in a Content By Search Web Part. This sample shows how to assign, upload and change the used theme on the host web. This newer technique is demonstrated in the Branding.AlternateCSSAndSiteLogo example. As part of the new API versions, AlternateCSSUrl has been added to CSOM, which should be the default option. Note: If you are using Office 365 or 2014 April CU for on-premises, you should not be using this approach. Shows how to inject custom CSS to the host web from add-in. This sample shows how to customize a field type with Client-Side Rendering (also called CSR, JS Link) technology in SharePoint 2013. It also shows how you can use property bag entries in the Web object to control the available page layouts and available web templates settings for the publishing sites. This sample demonstrates common tasks related on the publishing features, like how to deploy page layouts and master pages. Notice that you can use 2014 April CU CSOM also with Office365 to set the properties accordingly to the host web. MS online CSOM will be updated to expose these additional CSOM properties for the Web object during July 2014. These are new properties released as part of the 2014 April CU for on-premises and they are also located in the cloud. This scenario shows how to upload CSS and site image to the host web and how to set those to be used using CSOM. how to list all groups that a user belongs to.You can find a few other useful samples in the code: This sample shows how you can use the Azure AD Graph API to check if a given user is member of a group. This sample shows how to use windows Azure Active directory and the groups to authorize actions in your asp.net MVC app or Office 365 Add-In AzureAD.GroupMembership This page saves me having to open each separate readme file so I thought I might as well share it with all of you. Initially I copied the readme files form the projects but I will add more personal comments later on as I get myself familiar with these projects. I looked through all of the project names and it wasn’t obvious to me what each project did so here is a quick overview All of these examples can be found in the Samples folder on the github project. This is an ever growing list of examples. On github there is a large amount of examples available. I got into the whole PnP approach when I saw Vesa demo the Provisioning.SubSiteCreationApp at the Evolution 2015 conference in London.Īll of the examples assume a need for using CSOM or the REST API. Lead by Vesa Juvonen OfficeDev/PnP is an initiative by many SharePoint developers picking up all those development tasks that keep coming back. Recently I’ve been looking into the Office Development Patterns and Practices samples (OfficeDev/PnP).
0 Comments
Leave a Reply. |