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.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityIs 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.
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.
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.