New answers tagged

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="//...
user avatar
  • 29.2k
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: ...
user avatar
  • 12.3k
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()....
user avatar
  • 11.7k

Top 50 recent answers are included