Set Permission to List Items using PowerShell
Add-PSSnapin Microsoft.SharePoint.Powershell $url = "http://weburl" $listName = "List Name"; $permissionLevel = "Permission Level Name"; $groupName = "Enter Group Name"; #Grant permission on all...
View ArticleImporting Best Bets as Query Rule in SharePoint 2013 using PowerShell
Use the below format for the CSVfile input BestBet,UserContext,Keyword,Description,Url,StartDate,EndDate,Position "IRS","","Income Tax;Tax;","Internal Revenue Service","http://irs.gov/","","","" Sample...
View ArticleHow to read SharePoint Managed Metadata Look-up (Taxonomy Field) value using...
The below Console Application code explains you how to read SharePoint Managed Metadata Look-up (Taxonomy Field) value using Client Object Model. using System; using System.Text; using...
View ArticleHow to use taxonomy hidden field?
Problem: In one of our SharePoint list we have more than 10 look-up columns with managed metadata type. One fine day our UAT SharePoint site went very low and the CPU utilization in DB Servers...
View ArticleCall Page button click event using PowerShell
Using the below PowerShell commands we can open a page and trigger the click event written inside the page. I am using ListItemCollectionPosition to run the while based on the ROW Limit configured in...
View ArticleHow to update taxonomy hidden field using PowerShell?
Continuation to How to use taxonomy hidden field? – (http://sprider.org/2014/09/18/894/) Article Example PowerShell script to update taxonomy(MMD) hidden field Add-PSSnapin...
View ArticleOffice 365 – Loading SharePoint List Items using AngualrJS and Napa Code Editor
Pre-Requisites Office 365 Developer Site (Take 1 month free subscription from Microsoft Site / use your own site) Napa tool installed on the Office 365 Developer Site (instructions given in Microsoft...
View ArticleO365 – SharePoint Hosted App – Custom Global Navigation using Term Store
Hope you are all aware of the limitations of Managed Navigation in SharePoint. If not go through this article http://nikpatel.net/2014/06/09/limitations-of-managed-navigation-in-sharepoint-2013 As...
View ArticleO365 / SharePoint Online – Import Term Store Terms using CSOM & PowerShell
Looking for a solution to import Term Store Terms using CSOM & PowerShell in O365 / SharePoint Online? Here you go…. Note: Modify the XML term attributes and PS script logic as per your requirement...
View ArticleO365 / SharePoint Online – Apply Theme – CSOM & Powershell
As you know, Web.ApplyTheme method applies a theme with the specified components to this site. For more information refer –...
View ArticleO365 Custom JavaScript Injection using PowerShell
What is Custom Action? Custom action fetches an external script and includes it in the page. So at run time the script will self execute as an anonymous function. Following are few scenarios you may...
View ArticleO365 – How to deploy Provider Hosted App without ACS
Last week, I got an interesting requirement from the Architect to check the possibility to host the provider hosted app in the on-premise server and use the same in SharePoint Online. I hope many of...
View ArticleHide Webpart – SharePoint Online by PowerShell
I came across a scenario where I need to hide the OOTB list form WebPart from the SharePoint List “NewForm.aspx” page by PowerShell. I have written a script to perform the same in SharePoint online. In...
View ArticleExecute C# code from PowerShell Script – SharePoint Online
Are you looking for an example code to exeucte C# code from PS? Hope you can get started with the below sample. As per your requirement change the DLL path, Site URL, UserName and Password parameters...
View ArticleProvider Hosted App Deployment to Azure Website’s (One Azure site for...
Deployment Steps Create an Azure Website in Azure Portal. In this example, I am going to create an azure website with name “cloud-demo-providerapps” I wish to use one azure website to host multiple...
View ArticleResponsive Kanban Board – SharePoint Hosted App
Do you have a requirement to create a SharePoint Hosted Kanban Board App in O365? If so, I have created a very basic prototype which you can use and get started. Steps to get this work in your O365...
View ArticleO365 – Install / Upgrade App from App Catalog OOTB
Upload the first version(example: 1.0.0.5) of your app in the app catalog site. Install the first version of your app in the app catalog site. Go to Site Contents Page and select “Deployment” from App...
View ArticleHook up Google Analytics or Azure Application Insights to track SharePoint Usage
Knowing how people use your application lets you focus your development work on the scenarios that are most important to them, and gain insights into the goals that they find easier or more difficult...
View ArticleHiding SharePoint Apps/Add-ins from users
Problem Statement Users who have full control are able to delete the mandatory apps from site. Question Is it possible to hide an installed/added app (in a site collection) from users with specific...
View ArticleIsolating RER code logic from Provider Hosted Apps
Problem Statement Users who have full permission on the SharePoint site can delete the mandatory provider hosted apps developed to handle remote events such as List Added, Item Added, etc., If the user...
View Article