4

I need to create a custom list in Sharepoint 2007 using JQuery (only!). I'm using Sharepoint 2007. Is there any way to do it?

  • Only jQuery? No JavaScript allowed? – Danny '365CSI' Engelman Jan 12 '16 at 9:50
  • Yes only Jquery as javascript won't work in sharepoint 2007. – Naveen Jan 13 '16 at 3:33
2

Yes, SPServices wraps the Lists web service:

https://spservices.codeplex.com/wikipage?title=Lists

Which includes AddList:

https://msdn.microsoft.com/en-us/library/lists.lists.addlist.aspx

Once the list is created, you would use UpdateList to add fields or modify other properties:

https://spservices.codeplex.com/wikipage?title=UpdateList&referringTitle=Lists

  • This is what I needed. Can I edit the column/field name using Updatelist property??? If yes please provide me example. – Naveen Jan 13 '16 at 3:36
  • did you try giving your own display name in updateList command? – Taran Goel Jan 13 '16 at 5:13
  • Giving display name works just fine:) – Naveen Jan 13 '16 at 12:53
  • Can we create the list based on list template using same method? – Naveen Jan 14 '16 at 5:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.