Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Get Content from Content Editor WP

  Asked By: Maurice Harper         Date: Feb 21, 2009      Category: Sharepoint      Views: 250
 

I want to programmatically extract content from Content Editor Web Part
located on landing pages and show it on the Home Page. Since It is not a
list I am not able to iterate. Can anyone help me on this. A code
snippet would be great.

Tagged:          

 

2 Answers Found

 
Answer #1       Answered By: Alicia Scott          Answered On: Feb 21, 2009       

You should be able to get the page  (SPFile I think), then get the Web
Part from a collection on the page. The CEWP has a Contents property
that contains what you are looking for.

 
Answer #2       Answered By: Mike Lamb          Answered On: Feb 21, 2009       

I will let you know about the outcome.

 
Didn't find what you were looking for? Find more on Get Content from Content Editor WP Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].