This project has moved and is read-only. For the latest updates, please go here.

Too complex for SPServices?

Nov 26, 2013 at 8:11 AM
I have a specific need to create a table which is based on Sharepoint List and which must update the sharepoint list. In particular I must copy one item of the list in the same list and before copying set just a column from value X to value Y, where X is the name of the original owner and Y is the copy for the destination owner.
Technically this should be nothing difficult (from pure programming, this is , but I'm stacked on a couple of thoughts (may be all of them linked to my lack of knowledge in jQuery).

First of all do you have easy way to visualize easily the table/list/items (if you may suggest two APIs based on jQuery which you use most, which can be easily integrated with SPServices), and how to generate a key which, onClick, will just call the id of the item, load the data, and copy the data in the new line (but an API with an easier example is also better, I can elaborate on my own after).

Second, and more interesting part, is that I would like to put everything in the same page in sharepoint, instead of switching from a page to another.

Assuming that I accomplish the first part in a way or another, is it possible to do so?

And finally, I went through the documentation, I like it, it is very easy and effective, but all the times I see isolated steps: do you have a part in the website where I cans see both the application in use and the behavior in practice?
It will help a lot of newbies to better understand.

Thank you for help and I promise I'll publish my solutions in order to help others already today if I reach the stage :)

And hope I'll be able to do what I need with SPServices, I think it is a wonderful product!

Nov 26, 2013 at 1:39 PM

SPServices isn't an application, but more of a toolkit. You can retrieve items from lists using GetListItems and write items to lists using UpdateListItems. Many people are using SPServices underneath such frameworks as AngularJS or KnockoutJS, if you'd prefer to roll less of your own functionality, but there is some overhead, of course.

Nov 26, 2013 at 1:42 PM
Thank you Mark!
I noticed, but it does a lot more I was thinking to do :)
I also found an example which I may adapt to my needs, I'm doing it right now in order to make it working for me.
I really thank you for the examples, documentation, and all the time you took in doing this.
And thank you for the suggestion for the frameworks, I'll give a look to them indeed.

Have a very good day.

Nov 26, 2013 at 1:44 PM
Thinking. Ugh!

Let me know how it goes!