Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How to read and modify content of SitePages Programatically ?

"http://myServer/sites/SitePages/MySitePage.aspx"

i want to read and modify content of MySitePage.aspx.

Any Solution??

Thanks in advance..

share|improve this question
add comment

1 Answer

You can access the contents (Webparts) by using the SPWeb.GetLimitedWebPartManager method. More here : http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.getlimitedwebpartmanager.aspx

share|improve this answer
add comment

Your Answer

 
discard

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.