New answers tagged jsom
0
votes
Upload Attachments on SP CUSTOM list
It is possible to upload attachments to SharePoint list item using JSOM.
Here's the sample code taken from 1st reference link (given below):
<script type="text/javascript" src="//...
0
votes
Accepted
update list item with presaveaction function
You're going to have a lot of timing issues with this and you probably don't want to do it in PreSaveAction, actually.
What it seems like you are tying to do is set something up to work like this:
...
0
votes
update list item with presaveaction function
You're missing an important line of code in the updateListItem function.
function updateListItem() {
var clientContext = new SP.ClientContext.get_current();
var list = clientContext.get_web()....
Top 50 recent answers are included
Related Tags
jsom × 872sharepoint-online × 314
javascript × 299
csom × 126
2013 × 94
sharepoint-enterprise × 87
sharepoint-server × 71
sharepoint-addin × 66
rest × 63
office-365 × 58
sharepoint-rest-api × 54
jquery × 53
list × 49
2010 × 39
client-object-model × 32
caml-query × 31
sharepoint-hosted-app × 28
web-part × 23
2016 × 21
sharepoint-designer × 20
caml × 16
workflow × 15
development × 15
sharepoint-foundation × 15
permissions × 15