Tag Info

Hot answers tagged

3

You cannot do impersonation or permission elevation in client side object model. http://sympmarc.com/2011/05/27/elevating-permissions-with-sharepoints-web-services/ http://spservices.codeplex.com/discussions/392133


2

You could use AddUserToGroup operation for that purpose, for example: $().SPServices({ operation: "AddUserToGroup", groupName: groupName, userLoginName: userLoginName, completefunc: function(data,status){ //... } }); References Managing SharePoint Site User Memberships in Multiple Groups Using SPServices


2

In the SPServices library, you just need to add an option like this in your GetListItems configuration: CAMLRowLimit: 6 Marc then tacks this onto the appropriate place in the dynamically built CAML query to get your data.


1

It could be done by leveraging SharePoint REST services. In SharePoint 2013 workflows was introduced a new action named Call HTTP Web Service. This action is flexible enough to make requests to a variety web services including SharePoint REST service. The following REST request demonstrates how to determine whether Folder contains items: ...


1

Your <RowLimit> tag is inside <Query> tag which is wrong, it should be out side the <Query> and inside <View>. Try below camlQuery = "<View><Query><CalendarDate>" + calendarDate + "</CalendarDate><Where><DateRangesOverlap><FieldRef Name='EventDate' /><FieldRef Name='EndDate' ...


1

use some LDAP code to search for a usable field (if the UID in the document exists in some field in AD) Replace FIELD with your equivalent field. Replace DOMAIN with your domain like LDAP://example.corp: string sFilter = String.Format("(&(objectCategory=user)(objectClass=user)(FIELD={0}))", query); string adPath = "LDAP://DOMAIN"; using (DirectoryEntry ...


1

You could use clientpeoplepicker.js. Here is a simple example on how to use it: if (LoadSodByKey('clientpeoplepicker.js', null) == Sods.missing) { RegisterSod('clientpeoplepicker.js', '/_layouts/15/clientpeoplepicker.js'); } if (LoadSodByKey('clientforms.js', null) == Sods.missing) { RegisterSod('clientforms.js', '/_layouts/15/clientforms.js'); } if ...



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