Sharepoint soap request, how to set dropdown fields?
I want to post some data into sharepoint list using jQuery and Sharepoint webservices. The problem is that I've t开发者_JAVA技巧o set some dropdownboxes required in the list, textfields are no problem. How to set them?
Thx for help!
Add ;# around the values for the choice(s). Maybe you even need to add a namespace to the fieldname, like this: <SetVar Name="urn:schemas-microsoft-com:office:office#FieldName">2;#Choice_Value</SetVar>
Take a look at this blog post.
Also take a look at SPServices It is big library for working with sharepoint using jQuery.
精彩评论