0

I am using below code to create a folder in sharepoint custom list but the folders are created with name "No Title".WHere is the code going wrong or i miss any attributes ?

http://www.c-sharpcorner.com/UploadFile/91b369/create-a-folder-in-sharepoint-2013-using-javascript-jsom/

1

Try to add this line between line before this.oListItem.update() statement (between lines 15 and 16 in the sample):

this.oListItem.set_item('Title', "My new folder!");

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.