New Post: Elevating privileges using spservices
But the more direct answer is that you cannot do impersonation or permission elevation client side:http://sympmarc.com/2011/05/27/elevating-permissions-with-sharepoints-web-services/ M.
View ArticleNew Post: Elevating privileges using spservices
I'm pretty sure you can send your own username and password down the pipe via AJAX with the web services. Obviously, I've never tried b/c I know the security ramifications of doing so, but a username...
View ArticleNew Post: Elevating privileges using spservices
I don't even mention that because it's such a bad idea. You'd have to put the credentials into your script. DON'T DO IT! M.
View ArticleNew Post: Docs for GetRoleCollectionFromGroup point to wrong MSDN link
Hi Marc, Not sure if there is a reason for this, but the following two entries both point to the same MSDN link: GetRoleCollectionFromGroup groupName UserGroup.GetRoleCollectionFromUser Method 0.2.10...
View ArticleNew Post: Custom Form Unknown Error (ULS Errors Included) upon Item Submission.
Morning Marc, Ah, that might explain it. My child column was a choice column rather than a look-up. I'll get this changed and will report back. Slight oversight on my part. Thanks for the tip.
View ArticleNew Post: How to "reset" fetching results for SPCascadeDropdowns
Hi Marc, thank you for your answer. I was thinking to complicated and was able to solve the issue with 2 CascadingDropdown functions and the help of customizing the spservices like described in this...
View ArticleNew Post: GetVersionCollection with DateTime colum returns value one day off!
Hi, Thanks for your replies. Mark - yes, I realize that SPServices is simply returning the value from the webservice - but I thought this would be the best place for the discussion. The timezone in...
View ArticleNew Post: Somehow use SPGetCurrentUser to set default dropdown values?
So I have this problem, and I'm still trying to come up with ways to tackle it. Basically I have a form and on it I would like to have two special types of the dropdowns. On type would set the value...
View ArticleNew Post: permissions problem with UpdateListItems
Right. I see that now. So, here's the issue I'm encountering, more broadly. It seems that pretty much anywhere I'm using web services a user with read rights to a site, but edit rights to a list cannot...
View ArticleNew Post: permissions problem with UpdateListItems
SOLVED (At least the web services part of things) The visitors permissions on our site had "use remote interfaces" totally disabled, so no web services were able to be used. Enabling that lets all...
View ArticleNew Post: SPCascadeDropDowns: Help needed
I need some directions/help on accompolishing the following scenario: UserA enters some asset details, for which user B will fill additional details. Current setup is 1. InitiatorDetails:...
View ArticleNew Post: Can't seem to get the GetAlerts webservice to work in a demo...
Hi Marc, I'm loving the library - this is an awesome piece of kit to use in Sharepoint! I do have a question though, about how to get the GetAlerts web service to work in a demo: <script...
View ArticleNew Post: rs:name retrieval / ows_issues
Hi - maybe this has come up before. Using SpServices i can easily loop the ows_variable using the returned loop. But i have a situation where sharepoint adds it's usual nonsense into the title one...
View ArticleNew Post: rs:name retrieval / ows_issues
The easiest way to do this is to use a method similar to what I have in roboCAML. Here's straight from the source: GetList = function( opt, internalUsage ) { //debugger; //Return listProperties if...
View ArticleNew Post: SPCascadeDropdowns
I can't get it to work. I am trying to use it in a Record Library and not in a simple list if that makes a difference. I have 2 lists, Document Type, and Document Sub Type. Both have the default...
View ArticleNew Post: SPCascadeDropdowns
At first glance, the only thing that jumps out at me is the comma after "debug: true" Since there are no arguments provided after that line, the comma is not required and is probably causing an error.
View ArticleNew Post: SPRequireUnique stopped working
Marc, I have been using SPRequireUnique on one of my lists for about a month and suddenly it stopped working today. The list just reached 300 items this morning. The interesting thing is that the...
View ArticleNew Post: SPServices.CascadeDropdowns
This is GREAT! I got it to work but now I need help with hiding/revealing fields on my form. Name: Number of Connections: ==> this is a "choice" column of "One", "Two", "Three" Country: Location...
View ArticleNew Post: GetListItems - retrieve checkbox value
Hi! I'm struggling with retrieving a value from a list column checkbox. The default value is set to No, so when I retrieve it I would expect No || 0 || something other than undefined....
View ArticleNew Post: Sample Code for SiteDataGetWeb
Needed to use it to snag the WebID for use in a different call. $().SPServices({ operation: "SiteDataGetWeb", async:false, webURL: "/MySiteRelativeWebUrl", completefunc: function (xData, Status){ //To...
View Article