Let's SharePoint

August 2018

  1. HOME
  2. Monthly Archives: August 2018
August 31, 2018 / Last updated : August 31, 2018 Sethu Client Object Model

How to hide fields in SharePoint display form using Javascript in SharePoint 2010/2013/2016 /2019 and office 365?

Hello SharePointers, If you add external column in list, those columns will be visibile in your sharepoint display form by default. To hide sharepoint fields in sharepoint display form, you have to write the below script. <script language=”javascript” src=”https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js”></script><script language=”javascript”> $(document).ready(function () { $(“.ms-standardheader:contains(‘FieldName1’)”).closest(“tr”).hide(); $(“.ms-standardheader:contains(‘FieldName2)”).closest(“tr”).hide(); $(“.ms-standardheader:contains(‘FieldName3’)”).closest(“tr”).hide(); $(“.ms-standardheader:contains(‘FieldName4)”).closest(“tr”).hide(); $(“.ms-standardheader:contains(‘FieldName5)”).closest(“tr”).hide(); $(“.ms-standardheader:contains(‘FieldName6’)”).closest(“tr”).hide(); $(“.ms-standardheader:contains(‘FieldName7’)”).closest(“tr”).hide(); $(“.ms-standardheader:contains(‘FieldName8’)”).closest(“tr”).hide(); }); </script>​​​<br/>​<br/>   Happy […]

August 22, 2018 / Last updated : August 22, 2018 Sethu Client Object Model

How to add multiple users to People picker using JSOM in SharePoint 2010, 2013,2016,2019 Online & Office 365?

Hello SharePointers, Below is the JSOM script to add multiple user to people picker field in SharePoint list forms. function InsertUserstopeoplePicker() { var ctx = new SP.ClientContext(appWebUrl); var CtxSite = new SP.AppContextSite(ctx, hostWebUrl); var web = CtxSite.get_web();  var List = web.get_lists().getByTitle(‘Mytestlist’); var itemCreateInfo = new SP.ListItemCreationInformation(); var oListItem = List.addItem(itemCreateInfo); //Get User info var peoplePicker […]

August 15, 2018 / Last updated : August 15, 2018 Sethu PowerShell

How to move all the items in recycle bin stage 1 to recycle bin stage 2 in SharePoint Online/Office 365/Sharepoint 2010/2013/2016?

Hello SharePointers, Below are the powershell script to move recycle bin items from stage1 to stage 2. This would come to us in handy in case if we can to move it on our own rather than depending on the job. $ctx=New-Object Microsoft.SharePoint.Client.ClientContext($Url) $ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Username, $Password) $ctx.ExecuteQuery() $ctx.Load($ctx.Web) $recyclebin=$ctx.Web.RecycleBin $ctx.Load($rb) $ctx.ExecuteQuery() Write-Host $ctx.Web.Url […]

August 15, 2018 / Last updated : August 15, 2018 Sethu PowerShell

How to loop through all the azure subscriptions in a powershell?

Hello SharePointers, In this blog, I will share the script to loop through all the azure subscriptions in a tenant   $allResources = @() $subscriptions=Get-AzureRMSubscription ForEach ($vsub in $subscriptions){ Select-AzureRmSubscription $vsub.SubscriptionID Write-Host Write-Host “Working on “ $vsub Write-Host $allResources += $allResources |Select-Object $vsub.SubscriptionID,$vsub.Name Get-AzureRmVM | Select Name,REsourceGroupName,Location } Happy SharePointing Folks 🙂

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.