User bio

I have been with InterSystems for 20 years (including my year as an intern) and I am currently in charge of the Application Services team.  Application Services is focused on creating and enhancing inhouse applications within InterSystems (both based on InterSystems IRIS as well as a select number of commercial platforms).  

Show all
Member since Nov 7, 2015
Replies:

if you are wanting to completely render the page within the context of another page, then using <iframe src="package.page.csp" </iframe> is going to be your best bet.  Remember that a csp page isn't just a static HTML snippet - it is an entire renderable page, along with pre-page headers, etc.  That is why OnPreHttp(), OnBody() and OnPostHttp() are all included in the page framework for a .csp.  If you simply want to show what is 'rendered' when you call the page directly, you can play with calling OnPage() (which contains the compiled version of the entire body of your .csp file), but that may not operate correctly when called in isolation - it is intended to be called as part of a full pageload process, which the iframe approach above would provide.

Certifications & Credly badges:
Global Masters badges:
Followers:
Following: