Featured
-
How to enable CORS (Cross-Origin Requests) in ASP.NET Web API
There are certain steps that need to be followed f
by gaurav.gautam -
Why does my CHM have a blank content pane?
Hello Readers, Many times I have heard that, many
by Chetan.Sharda -
How to connect to icloud calendar?
Hello coder's world, To connect to icloud calen
by govind.chauhan -
Working with List in Provider Hosted App for Sharepoint
Sharepoint List in Provider Hosted App This Blo
by shubham.mamgain -
REST attributes of WCF Service
Objective: In this article we will explain what a
by govind.chauhan
Tags
How to add Team members to Projects in SharePoint 2013 using CSOM?
In SharePoint, while creating projects we would also have to add team members for each projects. Team members can contribute source control and other team item activity.
Team member are of two types:
1.Enterprise team member
2. Non enter...
Export workflow phases from one environment and import to another environment in SharePoint using CSOM
Workflow phases represents collection of Stages to represent project life cycle.
Example of phases are :
Create- Project information is captured in this phase.
Select- A subset of projects are selected in this phase.
Plan- An executi...
How to create Lookup tables in SharePoint 2013 using CSOM?
Lookup tables is used in Enterprise Custom Fields. We can create Lookup tables programmatically either from CSOM or PSI. Here below is the example of creating Lookup tables using CSOM.
Microsoft.ProjectServer.Client.LookupTableCreationInform...
How to create Enterprise Custom Fields in SharePoint 2013 using CSOM?
Enterprise Custom Fields includes custom formula and lookup tables. We can create CustomField programmatically either from CSOM or PSI. Here below is the example of creating CustomField using CSOM.
Microsoft.ProjectServer.Client.CustomFieldC...
Connecting SharePoint site using CSOM
This code packet will help you to authenticate to O365 using Client Side Object Model(CSOM). It uses the SharePointOnlineCredentials class to get clientContext of SharePoint. Let try it yourself.
// Namespaces
using System;
u...
Programmatically create Workflow Stages in SharePoint 2013 using CSOM
For creating Stages using CSOM, we have to use StageCreationInformation.
1. First of all, assign basic information to Stage.
Microsoft.ProjectServer.Client.StageCreationInformation stageInfo = new Microsoft.ProjectServer.Client.StageCrea...
How to resolve error "PJClientCallableException: WSSWebAlreadyExists" in SharePoint 2013
A new method is introduced in CSOM is CreateProjectSite()
When we try create to create Project Site using this method, sometimes we get this error "PJClientCallableException: WSSWebAlreadyExists" which means the project site we try to ...
How to create Risks,Issues and Deliverables using CSOM in SharePoint
For creating list item, we have to use ListItemCreationInformation
First we create list of Risks
using Microsoft.SharePoint.Client;
context = new ClientContext(projectSiteUrl); //pass your project site url
context.Credentials = ...