SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to get web part property value using javascript in SharePoint 2007? Using web services and such is fine.

EDIT: I need this for my custom web part.

share|improve this question
Is it the OOTB webparts or Custom Webpart? – Thomson Oct 1 '10 at 11:14
Custom web part. – Luc Oct 1 '10 at 11:40

If it's your custom web part, you could just output the web part properties in the render method. Either you directly render java script code, that sets some variables or you can output some html that you can access with your client side code.

share|improve this answer

Have a look at the source code for SharePoint LiveListData. I am reading the ListName property from ListViewWebParts on the page using jQuery and the Web Services.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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