I want to change Custom Property of Webpart using javascript.

Does anyone have any ideas on how to accomplish this?

  • Can you be more specific? with property do you mean any public property of your web part class which appears on web part edit panel? that is what i understand from custom property and if so, it not possible.
    – megusta
    Nov 17, 2011 at 14:18

2 Answers 2


there are some options but imo easiest one is to use Client Object Model: see SP.WebParts.WebPart.Title


This is an old question, but I figured I'd post a solution I came up with. I haven't tested in SharePoint 2010, but it's possible to update any web part property using JavaScript CSOM: http://almondlabs.com/blog/update-web-part-properties-csom/

  • 2
    Thanks for posting! One of our guidelines here is that we do not accept link only posts. If you could, please summarize your blog post so that if it is deleted or moved in the future others who come looking can still get an understanding of what you found. Mar 4, 2014 at 2:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.