How do I render the content of the editable region of another document using a macro?

Bryan Drenner asked on February 20, 2014 13:40

How do I render the content of the editable region of another document using a macro?

Recent Answers


Richard Sustek answered on February 21, 2014 02:34

Hi Bryan,

Thank you for your message.

You will need to create a Custom macro and in the macro you can get the content of some editable region like this:

CMSContext.CurrentPageInfo.EditableItems["editabletext1"];

The editabletext1 is the ID of the editable text webpart which content you need. This will also work for the current page, if you want to get some other page you will need to get the corresponding page info object.

Let me know how it works.

Kind regards, Richard Sustek

2 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.