• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Adobe Muse code embedded in CF page.

Community Beginner ,
Jan 17, 2018 Jan 17, 2018

Copy link to clipboard

Copied

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:

COM.Allaire.ColdFusion.HTTPFailure

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">

        <!---cfmodule template="#request.includes#/__sstandards1/index.cfm"--->

<!---||#application.proot#||--->

</div>

Views

189

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 22, 2018 Jan 22, 2018

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation