Posts

Showing posts from 2016

New SharePoint CSOM version released for SharePoint Online - December 2016

Timer Job Sharepoint

APIs that return all sites in the site collection, a web part called that shows all sites.you need a SharePoint timer service that will run every night to update the sitemap. The time to run the service be configurable.

 timer jobs, that must be deployed as full-trust farm solutions 
https://msdn.microsoft.com/en-us/library/ff798362.aspx


You can create an Application Page that sits in the ADMIN directory in the SharePoint Root Folder. You need to add a mapped folder in Visual Studio to do this. You can then create a Custom Action which will add a link to your application page, within any area and section within Central Administration that you wish. Here is the tutorial I followed on MSDN for this: http://msdn.microsoft.com/en-us/library/ff798467.aspx Also, the full reference implementation for a timer job with a config page:http://msdn.microsoft.com/en-us/library/ff798362.aspx


Possible to add a “configuration” page to my custom timer job? http://sharepoint.stackexchange.com/questions/14568/p…

How to create Web Template in SharePoint 2010 using Feature

The WSP when deployed and activated should create a blank sharepoint site in 2013 with default out of the box lists and web parts


https://usmanmughal.wordpress.com/2011/04/26/how-to-create-web-template-in-sharepoint-2010-using-feature/
https://blogs.msdn.microsoft.com/sambetts/2013/10/17/creating-a-clean-visual-studio-solution-from-a-sharepoint-2013-site-template/
https://msdn.microsoft.com/en-us/library/office/ff408263(v=office.14).aspx

add calendar and Announcements web parts on the home page of the created site. There are two types of web parts: Dataviewwebpart and XSLTListViewWebPart. Calendar and Announcements lists should be created automatically when the site is created and the listview webparts (XSLTListViewWebParts) added on the home page of the site.

Understanding Onet.xml Files

How to add calendar and announcement list to my custom web template

Image
Web parts added on the home page automatically when the site is created. just need to provision web parts in onet.xml. Then when you create site, webparts will be added automatically. These will be XSLTListViewWebparts (ListViewWebParts).

If you add following line in onet.xml, this will add Announcements list web part:

<View List="Lists/Announcements" MobileView="TRUE" MobileDefaultView="TRUE" BaseViewID="2"WebPartZoneID="Right" WebPartOrder="1" />

Similarly you can add other webparts also like calendar etc. Before you provision web parts, make sure you provision lists. That is also easy. First you need to add publishing feature ID. That will automatically add all lists. You can also add lists separately
http://sharepoint.stackexchange.com/questions/63178/how-to-add-calendar-and-announcement-list-to-my-custom-web-template


More detail (above screenshot is from this page): 
https://msdn.microsoft.com/en-us/library/office/ms474…

Pages in SharePoint 2013

Add FabricSnippets to Visual Studio Code

Digging into Angular’s “Controller as” syntax

Path to Modern Development Model(s) in SharePoint