This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//CSOM Assembly version - 16.1.4727.1200 | |
//using Microsoft.SharePoint.Client; | |
//using System.Net | |
//GetItemChanges(credentials, weburl, listtitle, itemid); | |
//This method returns all the changes (add, update & delete) happened to the list item | |
private static void GetItemChanges(ICredentials credentials, string weburl, string listTitle, int itemid) | |
{ | |
using (ClientContext ctx = new ClientContext(weburl)) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Author: Shantha Kumar T | |
//Supports: SharePoint Online, SharePoint 2013+ | |
//PnP JavaScript file available from https://github.com/OfficeDev/PnP-JS-Core | |
//More details: http://www.ktskumar.com/2016/09/pnp-js-core-create-sharepoint-group | |
<script type="text/javascript" src="/siteassets/scripts/fetch.js"></script> | |
<script type="text/javascript" src="/siteassets/scripts/promise.min.js"></script> | |
<script type="text/javascript" src="/siteassets/scripts/pnp.min.js"></script> | |
<div id="sample"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getcheckoutStatus(listtitle, itemid) { | |
var clientContext = SP.ClientContext.get_current(); | |
if (clientContext != undefined && clientContext != null) { | |
var webSite = clientContext.get_web(); | |
this.list = webSite.get_lists().getByTitle(listtitle); | |
this.item = list.getItemById(itemid); | |
this.file = this.item.get_file(); | |
clientContext.load(this.file); | |
clientContext.executeQueryAsync(Function.createDelegate(this, this.OnLoadSuccess), Function.createDelegate(this, this.OnLoadFailed)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"Title":"Cert Exam Prep: Exam 70-742: Identity with Windows Server 2016","ID":"3wR_uDk_2HY","Thumb":"AOn4CLB_Wm-UTCbhbMUlKSrF_zQ9JTYH8Q"},{"Title":"Developing for the cloud with Visual Studio","ID":"E19UO3RAtz4","Thumb":"AOn4CLAqmXuICS3whGrZ7Xx9Zog2a1xVEA"},{"Title":"Real world experience from the field - Moving a global client infrastructure into the cloud","ID":"KNtZ-vgWTN4","Thumb":"AOn4CLDJV7VKv1tBZetT1PyK_F6tXoYibQ"},{"Title":"Inside Microsoft Azure datacenter hardware and software architecture with Mark Russinovich","ID":"sOw8On1iCa4","Thumb":"AOn4CLC96HwETxE2wVsvsRRKgLz9tvpM4Q"},{"Title":"Extend the reach of your applications using the Business Application Platform","ID":"ZhnluZCWozA","Thumb":"AOn4CLBriRGt79ppYTtVPMQVv89dm8z0ag"},{"Title":"Azure Service Fabric for Linux","ID":"RzbxL9oSoKw","Thumb":"AOn4CLCcWoWyCZ6sXvmJ4EAcu7_V4buRSA"},{"Title":"Operating principles of Microsoft Azure Stack","ID":"7ylJJq8sKLQ","Thumb":"AOn4CLBbwCx6xUWvjTKII1NqPnWOkdE6Uw"},{"Title":"Deep dive with Microsoft Cognitive T |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Author: Shantha Kumar T | |
//Supports: SharePoint Online, SharePoint 2013+ | |
//PnP JavaScript file available from https://github.com/OfficeDev/PnP-JS-Core | |
//More details: http://www.ktskumar.com/2016/09/pnp-js-core-create-sharepoint-group | |
<script type="text/javascript" src="/siteassets/scripts/fetch.js"></script> | |
<script type="text/javascript" src="/siteassets/scripts/promise.min.js"></script> | |
<script type="text/javascript" src="/siteassets/scripts/pnp.min.js"></script> | |
<div id="sample"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Author: Shantha Kumar T | |
//Supports: SharePoint Online, SharePoint 2013+ | |
//PnP JavaScript file available from https://github.com/OfficeDev/PnP-JS-Core | |
//Fabric Core CSS file available from https://github.com/OfficeDev/office-ui-fabric-core | |
//https://github.com/OfficeDev/office-ui-fabric-core/<Release build>/dist/css/fabric.min.css | |
//Fabric JS file available from https://github.com/OfficeDev/office-ui-fabric-js | |
//https://github.com/OfficeDev/office-ui-fabric-js/<Release build>/dist/js/fabric.min.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Author: Shantha Kumar T | |
//Assembly Reference Used: OfficeDevPnP.Core, Version=2.5.1606.1, Culture=neutral, PublicKeyToken=3751622786b357c2 | |
//Supports: SharePoint Online, SharePoint 2013+ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Microsoft.SharePoint.Client; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Author: Shantha Kumar T | |
//Assembly Reference Used: OfficeDevPnP.Core, Version=2.5.1606.1, Culture=neutral, PublicKeyToken=3751622786b357c2 | |
//Supports: SharePoint Online, SharePoint 2013+ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Microsoft.SharePoint.Client; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Author: Shantha Kumar T | |
//Assembly Reference Used: OfficeDevPnP.Core, Version=2.5.1606.1, Culture=neutral, PublicKeyToken=3751622786b357c2 | |
//Supports: SharePoint Online, SharePoint 2013+ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Microsoft.SharePoint.Client; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Author: Shantha Kumar T | |
//Assembly Reference Used: OfficeDevPnP.Core, Version=2.4.1605.0, Culture=neutral, PublicKeyToken=3751622786b357c2 | |
//Supports: SharePoint Online, SharePoint 2013+ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Microsoft.SharePoint.Client; |
NewerOlder