SPServices
SPServices copied to clipboard
SPUpdateMultipleListItems does not work in the document library
Tell me why SPServices does not work in the document library, there are no problems in the list, but the library does not work out either, the Russian language name, tried both GUID and by name...it's still useless... script type="text/javascript" src="/SiteAssets/jquery.SPServices-2014.02.min.js" $().SPServices.SPUpdateMultipleListItems({ listName: "Office", CAMLQuery: "<Query><Where><IsNotNull><FieldRef Name='ID' /></IsNotNull></Where></Query>", batchCmd: "Update", valuepairs: [["ValueItem", 'Update']], debug: false, completefunc: null });
- What have you done to debug?
- are there any errors in the console? If so: follow the stack tree to find the root cause calling code.
- is the API call made? And if so, any errors returned by Sharepoint?
- what version of SPServices are you using?
- What version of Sharepoint?
- MOST IMPORTANT: what are you trying to do? The code snippet you posted makes no sense.
I don't think anyone here can tell you what might be wrong just based on your initial post - but it sounds like you already made up your mind - library is "useless". If you really want help, let me suggest more constructive dialog here other that short words that really provide no help.
Being that SPServices broadly used by many, I would bet, that the problem is probably all on your side - but that's just a guess.
And: on a final note: remember that the use of FOSS is a privilege and not a right. We should all be thankful to folks like Marc for sharing their tools with the rest of the world.
Paul
-- sent from mobile
Does not work in the 'project documents library' where a collection of documents is organized.
Are you also referencing jQuery? See the General Instructions. Also, like @purtuga, I can't tell what it is you're trying to do. Could you explain your goals?