Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Retreiving Eniter HTML Page from CMS via API View modes: 
User avatar
Member
Member
john.puopolo-rapidbuyr - 1/19/2011 1:35:57 PM
   
Retreiving Eniter HTML Page from CMS via API
All,

Is it possible to retrieve the entire HTML page from the CMS via API? We have a need to read a document out of the CMS via API and send the HTML to a browser. We cannot have the CMS serve up the page for a variety of reasons.

I have successfully used the API to locate the document, but it's unclear how to get the entire HTML chunk that displays the page at high fidelity.

Thank you,
John

User avatar
Member
Member
dima - 1/20/2011 1:59:43 AM
   
RE:Retreiving Eniter HTML Page from CMS via API
Hi,

Don't you think it would be easier just to initiate WebRequest to the required page and get the html you need?

http://msdn.microsoft.com/en-us/library/system.net.webrequest.aspx

User avatar
Member
Member
john.puopolo-rapidbuyr - 1/20/2011 6:36:38 AM
   
RE:Retreiving Eniter HTML Page from CMS via API
Absolutely! I overcomplicated the whole thing. Thanks for the reply.
John