Let's SharePoint

January 2017

  1. HOME
  2. Monthly Archives: January 2017
January 31, 2017 / Last updated : January 31, 2017 Sethu Office 365

How to remove External Users from User Information List in SharePoint Online?

Hello SharePointers, In SharePoint online, we have to remove the external users from user information list so that they can’t be visible in SharePoint searches. Below are the steps needed to done to remove the external users from the User Information List. Construct a sharepoint url like this https://mysite.sharepoint.com/_layouts/15/people.aspx/membershipGroupId=0 Select the external user from the […]

January 31, 2017 / Last updated : January 31, 2017 Sethu Client Object Model

How to remove External users from SharePoint Online ?

Hello SharePointers, In this blog, we will see the steps involved to remove external user from your Office 365 subscription . There is a chance that, you may have to remove the external users after adding them to the member groups. Please ensure that you connect to sharepoint online powershell to execute the below commands. […]

January 27, 2017 / Last updated : January 27, 2017 Sethu Client Side Object Model

How to update Date field in SharePoint list in sharepoint online using CSOM?

Hi SharePointers, In this blog, we will see the steps involved in updating Date field in SharePoint list in Office 365 using CSOM. var login = “Lakshmanan@xxx.onmicrosoft.com”; var password = “your password” var securePassword = new SecureString(); foreach (char c in password) { securePassword.AppendChar(c); } SharePointOnlineCredentials onlineCredentials = new SharePointOnlineCredentials(login, securePassword); ClientContext context = new […]

January 27, 2017 / Last updated : January 27, 2017 Sethu Client Object Model

How to automate the sharepoint ADD IN’s deployment using CSOM in sharepoint online/Office 365?

Hello SharePointers, In this blog, I will give you the list of steps to automate the SharePoint ADD’in deployment using CSOM. ClientContext cctx = new ClientContext(myurl); cctx.AuthenticationMode = ClientAuthenticationMode.Default; cctx.Credentials = new SharePointOnlineCredentials(userName, pwd); // Get Site Information. Site site = cctx.Site; Web web = cctx.Web; try { site.ActivateFeature(sideloadingFeature); try { var appstream = System.IO.File.OpenRead(path); AppInstance […]

January 19, 2017 / Last updated : January 19, 2017 Sethu Client Side Object Model

How to get Createdby Column in Sharepoint 2013/2016 or Office 365 using REST API?

Hello SharePointers, Below is the script to get Created by Column in Sharepoint 2010/2013/2016 using REST API. var Ownurl = _spPageContextInfo.webAbsoluteUrl + “_api/web/lists/getbytitle(‘ YOurListname’)/items?$filter=Id eq 1&$expand=Author&$select=Author/Id” $.ajax({ url: Ownurl, headers: { Accept: “application/json;odata=verbose” }, async:false, success: function (data) { var items = data.d.results; if (items[0].Author!= “”) { author = items[0].Author; } },eror: function (data) { alert(“An […]

January 10, 2017 / Last updated : January 10, 2017 Sethu Customization

How to get User Information List information using JSOM in SharePoint 2013/2016/online?

Hello SharePointers, Below is the sharepoint JSOM code to user information list information for a logged in user. ExecuteOrDelayUntilScriptLoaded(getUserProfile, “sp.js”); function getUserProfileInformation(){ var userID= _spPageContextInfo.userId; var clientContext = new SP.ClientContext.get_current(); var web = clientContext.get_web(); var userInfoList = web.get_siteUserInfoList(); var camlQuery = new SP.CamlQuery(); camlQuery.set_viewXml(“” + userID + “1”); this.collListItem = userInfoList.getItems(camlQuery); clientContext.load(collListItem); clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded),Function.createDelegate(this, this.onQueryFailed)); […]

January 10, 2017 / Last updated : January 10, 2017 Sethu Office 365

How to Create a Folder in a SharePoint List using REST API in SharePoint 2013/2016/Office 365?

Hello SharePointers, Below are the piece of REST API code to create a folder in a SharePoint list using REST API in  SharePoint 2013/2016/Office 365? <script type=”text/javascript”> function getFormDigest() { return $.ajax({ url: _spPageContextInfo.webAbsoluteUrl + “/_api/contextinfo”, method: “POST”, headers: { “Accept”: “application/json; odata=verbose” } }); } function PreSaveItem() { var folderName=$(“input[title=’Title Required Field’]”).val(); //get new […]

January 4, 2017 / Last updated : January 4, 2017 Sethu Client Side Object Model

How to Move description field in SharePoint Custom list in SharePoint online/2013/2016?

Hello Sharepointers, Below is the Jquery code to move the description field in SharePoint Custom list. <script type=”text/javascript”> $( document ).ready(function() { $(‘tr:has(td:contains(“Options”))’).after(“Please provide the Money value”); }); </script> Happy Sharepointing 🙂

Recent posts

How to insert table in Modern Pages using PnP Powershell in Office 365/Sharepoint Online?

June 7, 2019

How to set up Access Requests in SharePoint online using Powershell?

May 11, 2019

How to change the default SharePoint suite logo in SharePoint 2013/2016/2019?

April 30, 2019

How to add metadata to Document libraries in SharePoint online using powershell.

April 27, 2019

How to get Sharepoint site details using Powershell in Office 365?

April 17, 2019

How to get alerts for a specific policy in Cloud app security using Powershell

April 16, 2019

How to get the list of custom apps in App catalog using Powershell?

April 9, 2019

How to get the list of policies in Microsoft Cloud app security using window powershell?

April 4, 2019

How to get the list of List and Document library item counts in SharePoint online using Pnp Powershell ?

April 4, 2019

How to restore subsite in a Sharepoint online site collection using Pnp Powershell

April 2, 2019

Category

  • Anonymous access
  • Client Object Model
  • Client Side Object Model
  • Customization
    • Customization
  • Designer Workflows
  • Errors & Resolutions
  • Features
  • Google Analytics
  • InfoPath
  • Item Scheduling
  • JSOM
  • Nintex worflows
  • Office 365
  • Office 365 Groups
  • PnP JS Library
  • PowerShell
  • Powershell Online
  • REST API
  • REST API's
  • Server Side Object Model
  • SharePoint 2010
  • SharePoint 2010 Search
  • SharePoint 2013
  • SharePoint 2013 Search
  • SharePoint 2013 Workflows
  • SharePoint 2016
  • SharePoint 2019
  • SharePoint Designer
  • SharePoint Framework
  • SharePoint Online
  • SharePoint Pnp
  • SharePoint Usage Analytics
  • Unique values
  • User Profile Services
  • Windows Powershell
  • Workflow Manager

Archive

  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • January 2016
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • May 2015
  • April 2015
  • March 2015

Copyright © Let's SharePoint All Rights Reserved.

Powered by WordPress & Lightning Theme by Vektor,Inc. technology.