Posts

PNP

https://github.com/sharepoint/pnp-powershell/releases/tag/2.10.1612.0 https://github.com/SharePoint/PnP-PowerShell https://github.com/SharePoint/PnP-PowerShell/releases https://channel9.msdn.com/blogs/OfficeDevPnP/SharePoint-Responsive-UI-Package-for-on-premises-SP-2013-and-SP-2016 https://github.com/SharePoint/PnP-Tools/tree/master/Solutions/SharePoint.UI.Responsive#requirements https://github.com/SharePoint/PnP-Tools/tree/master/Solutions/SharePoint.UI.Responsive https://dev.office.com/blogs/announcing-responsive-ui-package-for-sharepoint-on-premises-2013-2016 https://github.com/SharePoint/PnP-Tools/tree/master/Solutions/SharePoint.UI.Responsive https://channel9.msdn.com/blogs/OfficeDevPnP/PnP-Web-Cast-Introduction-to-PnP-Partner-Pack PnP Deployment Instructions 1.        Download SharePointPnPPowerShellOnline.msi from here , then Install 2.        Open SharePoint 2013 management shell then run below command Install-Module SharePointPnPPowerShellOnline 3.        Do

Display

var userArray = []; var ideaArray = []; var itemCounter = 0; var ideaItemCounter = 0; var favoritesArray = []; var myLikesArray = []; //--------HTML Binding------------- function htmlBinding() {       //var Editbutton = "";     for (var i = 0; i < ideaArray.length; i++) {         var Editbutton = "";         var favouritescss = ideaArray[i].Favouritescss;         var LikesCssClass = ideaArray[i].LikesCssClass;         if ((CurrentUser == ideaArray[i].createdBy.get_lookupValue()) && (userId == ideaArray[i].createdBy.get_lookupId())) {             Editbutton = "<li><i class='fa fa-pencil' title='edit' aria-hidden='true' data-toggle='modal' data-target='#myModal' OnClick='EditIdeas(" + ideaArray[i].ItemId + ");'></i></li><li><i class='fa fa-trash' aria-hidden='true' class='btn-delete'  OnClick='deleteIdeaItem(" + i

Insert

//----------------------------Insert Idea ---------------------- function InsertItemToList() {     var result = validation();     if (result) {         web = context.get_web();         context.load(web);         var list = web.get_lists().getByTitle("Ideas");         var listCreationInformation = new SP.ListItemCreationInformation();         listItem = list.addItem(listCreationInformation);         listItem.set_item("Title", $("#iTitle").val());         listItem.set_item("IdeaDescription", $("#iDescription").val());         listItem.set_item("IdeaOutcome", $("#iOutcome").val());         listItem.set_item("IdeaBox", $("#iIdeaBox option:selected").text());         listItem.set_item("Tags", $("#iTags").val());         listItem.set_item("Status", "Initial");         listItem.set_item("Email", user.get_email());         listItem.upda