Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Can CQWP render RichHTML ?

  Asked By: Edmond    Date: Nov 05    Category: Sharepoint    Views: 1445

How can I get the RichHTML created in ContentEditor WSYWYG to display
exactly the same via the CQWP. I can only find articles and answers to
remove markup, but I want the markup to actually display.

I've gone through the steps to expose other fields like
PublishingPageContent (an article's CEWP field name) and the CQWP
renders the text and markup altogether: the sample code

I played around with the "remove markup" code in the itemstyle.xslt...
and the CQWP removes anything that looks like code: the sample

But what I really want is the CQWP to render the html like the
following: the sample code

Any help, ideas or work around would be highly helpful! I'm trying to
create a corporate news frontpage with all the articles (separate pages)
to render on the same newspage in full exactly as the editor had
written, coded and produced them in the wsywyg.



4 Answers Found

Answer #1    Answered By: Elisabeth Walsh     Answered On: Nov 05

did I stump the group? Noone knows how to port richHTML via the
CQWP and have the richHTML display?

Answer #2    Answered By: Bhavesh Doshi     Answered On: Nov 05

I suspect that the answer is more likely to simply be that it can't be

Answer #3    Answered By: Elisa Santos     Answered On: Nov 05

You can get the CQWP to output standard HTML with a little tweak to the styles
within the "ItemStyle.xsl". I don't normally like to pimp my own blog but this
was something I was writing about so just published it today instead of waiting.
It is nothing special but explains it.

Answer #4    Answered By: Tatiana Houston     Answered On: Nov 05

Took me 2 seconds implement your solution turning on disable-output-
escaping. Works like a charm.

Didn't find what you were looking for? Find more on Can CQWP render RichHTML ? Or get search suggestion and latest updates.