I have seen some posts (Muse forum) stating that embedding coldfusion code in Muse pages is impractical. However, I want to do the opposite.
I tried calling the muse from CF using a variety of methods, including cfhttp (presumably preferred), cfmodule, and cfinclude. The following error code seems to be the core issue among these methods:
I have also tried removing some of the standalone page type code from the muse code (e.g. !DOCTYPE, and HTML and BODY tags), but to no effect. I asked this on the Muse forum as well.
<div class="container home">
<cfhttp url="#application.proot#/includes/__sstandards/index.html" method="GET" resolveurl="Yes" throwOnError="Yes">
I did ultimately have a bit of luck by calling the muse code from within the CF code using AJAX. I just included the muse code in a subdirectory of my CF site, then adjusted the resources paths in the muse code accordingly (i.e. to css, js, images), to access those from the muses effective loaded location. Looks like this should even work for a multi-muse drilldown, by including the ajax call / url in place of the normal static url in the muse. So far so good. At least got something working!
We are considering muse code for integration with CF (or other, e.g., .Net) sites, as a way to quickly do graphic-rich informational parts. So, far, proof of concept looks promising.