Tag Info

Hot answers tagged

2

You can get Distinct values for email column from your SharePoint list using below mentioned code. i had showed how to insert the distinct email values in drop down list. you can change the code accordingly. try { SPList oList = SPContext.Current.Web.Lists["Your List Nmae Here"]; SPQuery query = new SPQuery(); query.Query = "<OrderBy><FieldRef ...


1

In Sharepoint 2013 one thing called App Step and that it is a mechanism provided to developers of SharePoint 2013-platform workflows (Designer workflows or Visual Studio workflows) to elevate permission of the workflow. you have to do following steps. Allow workflow to use app permissions. Grant full control permission to workflow. Develop the workflow to ...


1

Sharepoint workflows have always run under the context of the user who initiated the workflow process. There were ways to run as the system account in 2007 but that was removed. In 2010 there are impersonation steps that allow actins to run under the context of the person who publishes the workflow. I believe the impersonation steps exist in 2013 as well.


1

I don't know if it is possible with CAML, but this should work: var emails = List.getItems(querysp).OfType<SPListItem>().Select(item => "" + item["email"]).Distinct();


1

You definitely need both the https and an app catalog on your office 365 (SharePoint Online) site to resolve the "Connecting to SharePoint" issue in Visual Studio.



Only top voted, non community-wiki answers of a minimum length are eligible