1

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.

2
  • Is it the OOTB webparts or Custom Webpart?
    – Thomson
    Commented Oct 1, 2010 at 11:14
  • Custom web part.
    – Luc
    Commented Oct 1, 2010 at 11:40

2 Answers 2

2

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.

0

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.

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.