Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Get Content from Content Editor WP

  Asked By: Maurice    Date: Feb 21    Category: Sharepoint    Views: 1680

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.



2 Answers Found

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

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

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.