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

Rh Variable displays variable name, not value

New Here ,
Oct 17, 2014 Oct 17, 2014

Copy link to clipboard

Copied

In master page, header, I have inserted the chapter name. When I generate the output, it displays the variable name, PD Chapter Name, not the value of the variable. The code is unaltered from the button selection 'Insert Chapter Name' . Is there another step I'm missing? Thank you!

<p><?rh-variable_start name="pd-chap-name"

  value="&lt;&lt;PD Chapter Name&gt;&gt;" ?>&lt;&lt;PD Chapter Name&gt;&gt;<?rh-variable_end ?></p>

Views

382

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
LEGEND ,
Oct 17, 2014 Oct 17, 2014

Copy link to clipboard

Copied

Hi there

Can you share screen captures of the variables pod as well as a topic or something depicting this in the final result?

Thanks... Rick

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
New Here ,
Jun 29, 2015 Jun 29, 2015

Copy link to clipboard

Copied

Hello, I am having a similar issue where my variable output is displaying the variable name and not it's value. I am currently using a MacBook Pro running OS X Yosemite. I am using ColdFusion Builder 3 to build the code and MAMP to run a local server. I have a very simple output to test whether or not I am getting correct output. The code is as follows:


index.cfm

<!DOCTYPE html>

    <html>

          <head>

                <title>Demo</title>

          </head>

          <body>

                <h1> hello world</h1>

                <cfset name = "John">

                <cfoutput>#name#</cfoutput>

          </body>

    </html>



After running this code, I receive the result:

hello world

#name#

I am confused on why the variable is displayed as the actual variable name and not its value. When running the exact same code in a windows environment, I receive the result as expected.

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
Community Expert ,
Jun 29, 2015 Jun 29, 2015

Copy link to clipboard

Copied

LATEST

Hi Nicole, this is a Robohelp forum. You'll probably have better luck asking in the ColdFusion Builder forum.

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
RoboHelp Documentation
Download Adobe RoboHelp