Posts

Showing posts from August, 2016

SharePoint 2013 - Get list items using REST

Here I demonstrated how to fetch items of a SharePoint list using Rest. Example code for REST: //get the title of the site var siteUrl = _spPageContextInfo.webAbsoluteUrl; //Ajax call to get data $.ajax({ url: siteUrl + "/_api/web/lists/getbytitle('Give Title of List Name')/items" , method: "GET" , headers: { "Accept" : "application/json; odata=verbose" }, success: function (data) { var listitems = data.d.results; // listitems.forEach(function (entry) { // $('#message').text(listitems["FirstName"]); // }); }, error: function (data) { alert( "Error" ) } });

SharePoint 2013 Event Manager - Tool for deleting and creating event receivers in SharePoint 2013

Image
When developing event receivers in SharePoint, things can get a little bit  untidy  , because, sometimes we might find ourself in a situation where we  have multiple events firing on your SharePoint lists and we don't know why?.And SharePoint doesn't give you any tool for monitoring events.  We have a tool "SharePoint 2013 Event Manager", a simple windows application which enables to monitor all event receivers in you farm, create new events or delete existing events: Download

Create People Picker using SharePoint Hosted App

Image
Here, I demonstrated how to create a People picker using Javascript Example code for JSOM: 1. Open Default.aspx page. Add below code <%-- The markup and script in the following Content element will be placed in the <body> of the page --%> <asp:Content ContentPlaceHolderID= "PlaceHolderMain" runat= "server" > <SharePoint:ScriptLink ID= "ScriptLink1" name= "clienttemplates.js" runat= "server" LoadAfterUI= "true" Localizable= "false" /> <SharePoint:ScriptLink ID= "ScriptLink2" name= "clientforms.js" runat= "server" LoadAfterUI= "true" Localizable= "false" /> <SharePoint:ScriptLink ID= "ScriptLink3" name= "clientpeoplepicker.js" runat= "server" LoadAfterUI= "true" Localizable= "false" /> <SharePoint:ScriptLink ID= &

Create a Folder in Document Library Using Client Object Model (CSOM)

Here, I demonstrated how to create a floder in a document library using CSOM Example code for CSOM: using System.Collections.Generic ; using System.Linq ; using System.Text ; using System.Threading.Tasks ; using Microsoft.SharePoint.Client ; using Microsoft.SharePoint ; namespace FolderCreation { class Program { static void Main ( string [] args) { ClientContext context = new ClientContext( "http://win-pi0rfb9adj8/sites/Home/" ); Web oWeb = context.Web; List oList = oWeb.Lists.GetByTitle( "Give your library" ); ListItemCreationInformation oCreationInfo = new ListItemCreationInformation(); oCreationInfo.UnderlyingObjectType = FileSystemObjectType.Folder; oCreationInfo.LeafName = "Approved" ; ListItem oListItem = oList.AddItem(oCreationInfo); oListItem.Update(); context.ExecuteQuery(); } } }

Create a Folder in Document Library Using Javascript

Image
Here, I demonstrated how to create a floder in a document library using Javascript Example code for JSOM: 1. Open Default.aspx page. 2.Add a button to create a folder. <button id="btnFolder" onclick=" floderCreation ()">Click Here</button> 3.Open  App.js file and below code 'use strict' ; var context = SP.ClientContext.get_current(); var hostweburl; var appweburl; $( document ).ready( function () { hostweburl = decodeURIComponent (getQueryStringParameter( "SPHostUrl" )); appweburl = decodeURIComponent (getQueryStringParameter( "SPAppWebUrl" )); }); function folderCreation() { var ctx = new SP.ClientContext(appweburl); var appCtxSite = new SP.AppContextSite(ctx, hostweburl); var web = appCtxSite.get_web(); var list = web.get_lists().getByTitle( "Documents" ); var folderCreation = new SP.ListItemCreationInformation(); folderCre

Ram Gopal Varma apologises to all Chiranjeevi fans for criticising him

Image
For quite some time, maverick Tollywood and Bollywood director Ram Gopal Varma had been the subject of attack from mega family, for the simple reason that he does not lose any opportunity to take pot shots at megastar Chiranjeevi, his brother Pawan Kalyan and others in the family. But on Tuesday, Varma sprang a surprise on mega fans by tendering an open apology to them for his comments on Chiranjeevi in the past. What caused the change of his mind on the mega star was the first look released by Konidela Productions on Chiranjeevi’s 150th film on Monday. “After seeing this look, I want to apologise to all his fans for whatever criticism I made in the past on his 150th,” tweeted Varma. And he did not stop at that. He showered praises on Chiranjeevi as never before. “Mega Star’s look is amazingly mind-blowing… Looks like a sure shot blockbuster … million cheers,” he said. He also wished success for Chiranjeevi’s 150th film. “Best look of Megastar in his entire career. Super

How do I get Android 7.0 Nougat on your Nexus phone right now?

Image
Android Nougat is rolling out to Nexus devices via an OTA update. You'll get this update soon if you have any of the following devices: Nexus 6P, Nexus 5X, Nexus 6, General Mobile 4G, Nexus Player, Nexus 9, or Pixel C. The simplest way to get the update is to wait for it to show up on your phone, or check for the OTA update manually: How to download Android 7.0 Nougat via OTA update Over-the-air (OTA) updates are the easiest way to download Android 7.0 Nougat. Follow these steps to check if you've received the update. Open Settings > About > System updates.  Tap Check for updates. If the update shows up here, you can download and install Android Nougat on your Nexus device. If it hasn't showed up, you should ideally wait until it does. If you don't want to wait, read on. How to download Android 7.0 Nougat If the OTA update hasn't appeared yet, you can try installing Android 7.0 Nougat via the beta program. The release build is a