Push Notification in Mobile for Email from Client

Prerequisites: An account with access to Microsoft Flow An Office 365 Outlook account The Microsoft Flow mobile app for Android, iOS, or Windows Phone Connections to Office, Outlook, and the push notification service Introduction: In this blog, we will create a flow that sends a push notification to your mobile if any new email arrives from a specific Client (email […]

Crud Operations on a List

This code block is related to create, delete, update and add list items to a custom list. [code lang=”c”] using System; using Microsoft.SharePoint.Client; using System.Security; namespace List_Crud_Operations { class Program { static void Main(string[] args) { ClientContext ctx = new ClientContext(“http://portal/sites/site1”); Web web = ctx.Web; var password = “Password”; SecureString secureString = new SecureString(); foreach (char c in password.ToCharArray()) secureString.AppendChar(c); […]

How to get items from a specific SharePoint List View using client object model

Below code describes how to retrieve items from sharepoint list by specific view using client side object model Add reference “Microsoft.sharepoint.client.dll” and “Microsoft.sharepoint.client.Runtime.dll”. Write Below Code. using Microsoft.SharePoint.Client; namespace ConsoleApplication {       class Program     {         static void main(string[] args)         {             using (ClientContext ctx=new ClientContext(“http://siteurl”))             {                 //Apply Credential                 ctx.Credentials […]

How to get list item version history of a custom list using Client Object Model

Below code describes how to get the list item version history of a custom list using Client Object Model Add reference “Microsoft.sharepoint.client.dll” and “Microsoft.sharepoint.client.Runtime.dll”. Write Below Code. class Program { static void Main(string[] args) { using (ClientContext ctx = new ClientContext(“SITE_URL”)) { CamlQuery camlQuery = new CamlQuery(); Web web = ctx.Web; ctx.Load(web,                     w => w.ServerRelativeUrl,                     w => w.Lists); […]

Enable or Disable Audience targeting of a list in SharePoint

Below code describes how to enable or Disable Audience targeting of a list in sharepoint using client side object model Add reference “Microsoft.sharepoint.client.dll” and “Microsoft.sharepoint.client.Runtime.dll”. Write Below Code.   using Microsoft.SharePoint.Client; namespace ConsoleApplication {       class Program     {         static void Main(string[] args)         {             using (ClientContext ctx=new ClientContext(“SiteUrl”))             {                 //Apply Credential                 ctx.Credentials = new […]