Showing posts with label ECMAScript. Show all posts
Showing posts with label ECMAScript. Show all posts

Friday, February 5, 2016

05 Feb

How to get user displayname in SharePoint 2010 and even more in 2013 ECMA Script

ExecuteOrDelayUntilScriptLoaded(init,"sp.js"); var currentUser; function init(){  this.clientContext = new SP.ClientContext.get_current();  this.oWeb = clientContext.get_web();  currentUser = this.oWeb.get_currentUser();  this.clientContext.load(currentUser);  this.clientContext.executeQueryAsync(Function.createDelegate(this,this.onQuerySucceeded),...

Tuesday, March 17, 2015

17 Mar

how to create CRUD operation in SharePoint App in Client Object Model?

SharePoint app Client object model using ECMAScript Add List item how to create a custom properties in user profile service application Open to Central Adminstration->Application Management->Manage Service Applications-> Click on the User Profile Service...