Get Query String and Set List Form Field Value using jQuery

Years back, I used JavaScript for the similar requirement in SharePoint 2007: Get the value from URL Query String and populate the value of SharePoint list form field: How to Get the Query String from URL and Set SharePoint List Form field value? Now in SharePoint 2010, lets use jQuery to get…

Read more

Hide List Form Field in SharePoint using jQuery

My earlier post listed various methods such as C# Object model, PowerShell, JavaScript methods to hide columns in SharePoint list forms: Hide Columns in SharePoint List NewForm, EditForm and DispForms Now, let’s hide fields in SharePoint list form pages using jQuery. Let’s say you have a field called “Parent Project” and want…

Read more

Create a Scheduled Task for PowerShell Script with Windows Task Scheduler

Requirement: Schedule PowerShell Script in Windows Task Scheduler. PowerShell is really a game-changer for repeatable processes, isn’t it? We have a PowerShell script to generate a report on SharePoint content databases size growth SharePoint Content Databases Size – Storage Report, We used to run it on the first day of every month…

Read more

Using owssvr.dll to retrieve List data in XML format

Owssvr.dll is a traditional Remote Procedure Call method to remotely invoke functions in SharePoint. It can be used to retrieve data from SharePoint list as well. syntax: https://sharepoint.com/_vti_bin/owssvr.dll?Cmd=Display&List=<<LIST-GUID>>&XMLDATA=TRUE E.g. https://intranet.sharepoint.com/_vti_bin/owssvr.dll?Cmd=Display&List={6685db48-013f-4934-8147-b7a6014eccc9}&XMLDATA=TRUE Other options: Filter &  View Append –  FilterField1=<<Field-Internal-Name>>&FilterValue1=<<Value-of-the-field>> e.g: FilterField1=Domain&FilterValue1=Sales View={ViewGuid} How to get the List GUID? Go to List settings >>…

Read more