简体   繁体   中英

sharepoint 2010 Add value in site column using javascript

hi my requirement is add value in my site column using javascript The main thing is that first of all i want to check my site column if it is currently exist then add my value in that but if it is not exist then create new site column using javascript and then add value into that......... thanks

Take a look at the javascript code in this blog post. It shows how to use the client object model to retrieve a list item and update the value of a column.

http://blog.dennus.net/2010/07/20/using-the-sp2010-client-object-model-to-update-a-list-item/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM