Tag Info

New answers tagged

0

Not the answer you are expecting for, but I would advice you to look at this and rethink your way of implementing custom field logic - might be helpful JSLink + EditForm/ViewForm: http://channel9.msdn.com/blogs/OfficeDevPnP/Client-Side-Rendering


1

This may be caused by not having resource quota on the site collection where the sandboxed solution is. Check by accessing SharePoint Admin Center, and see if you have resource quota for that site collection. Check in the list of site collections or the property page: If you have resource quota for your site collection, then you may be using the Update ...


0

the user would be belong to a group to access the site so verify if the user have been included to any of the group using sp services the below code would help var selector = 'Group[ID=\'' + GroupId+ '\']'; $().SPServices({ operation: "GetGroupCollectionFromUser", userLoginName: $().SPServices.SPGetCurrentUser(), async: false, completefunc: ...


1

If you're creating Apps for SharePoint you need to define an authorized remote endpoint in your AppManifest and then use the Web Proxy: http://msdn.microsoft.com/en-us/library/office/fp179895%28v=office.15%29.aspx Example using the JS Object Model Define http://services.odata.org/ as a remote endpoint in the AppManifest file of your App for SP project (or ...


0

The ajax call was correct, the error was because of my SharePoint field type:text, changed it to number, now it works.


0

Check if you can see the list with a basic get request with something like: $.getJSON("_spPageContextInfo.webAbsoluteUrl + "/_vti_bin/listdata.svc/PollUserData", function(data) { console.log(data) }); Which will log the contents to your browser dev tools console. Once you get that figured out.... You're also not passing the request digest in your ...


1

What you have seems to work just fine for me with a similar list (using AssignedTo field with multiple selections, filter on a list criterea, and use of $Top) Something to remember, is that when you have a field that allows multiple selections, your JSON result object for that field is actually an array, even if it only contains one object. So in your code ...


1

Since AssignedTo is a multi-user field, you'd receive an array. You can then loop into the array and receive specific properties such as title or id. Make sure the properties are in the $select. See the example below: var call = $.ajax({ async: false, url: _spPageContextInfo.webAbsoluteUrl + "/_api/Web/Lists/GetByTitle('Tasks')/items" + ...


1

You have a closing tag at the beginning of the viewFields Block : soapEnv += " </viewFields>"; soapEnv += " <ViewFields>"; soapEnv += " <FieldRef Name='UserID'/>"; soapEnv += " <FieldRef Name='QuestionID'/>"; soapEnv += " <FieldRef Name='Question'/>"; ...


0

This article explains every scenario for the datetime picker control. I've used it without issue. http://theway4ward.wordpress.com/2013/07/30/211/



Top 50 recent answers are included