tag:help-archives.hannonhill.com,2010-02-09:/discussions/velocity-formats/5528-help-with-calling-a-valueCascade CMS: Discussion 2013-09-10T17:07:53Ztag:help-archives.hannonhill.com,2010-02-09:Comment/287231982013-09-10T15:48:33Z2013-09-10T15:48:33ZHelp with calling a value<div><p>Hi Jim,</p>
<p>Everything seems ok in your Format. I was testing your Format in
Cascade Server 7.6 using the XML you provided and it was outputting
the title for me just fine.</p>
<p>Have you tried using another element just to make sure the loop
is working correctly? Perhaps try replacing the following:</p>
<p><code>#set ($assetTitle =
$asset.getChild("system-data-structure").getChild("title").value)</code></p>
<p>With</p>
<p><code>#set ($assetTitle =
$asset.getChild("name").value)</code></p>
<p>We should expect the asset's system name to be displayed
here.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/287231982013-09-10T16:10:35Z2013-09-10T16:10:35ZHelp with calling a value<div><p>We’re also on 7.6. And I did test the loop. It’s
picking up the path just fine. For some reason when I try to go on
down to system-data-structure, it fails.</p></div>steelejtag:help-archives.hannonhill.com,2010-02-09:Comment/287231982013-09-10T16:12:41Z2013-09-10T16:12:41ZHelp with calling a value<div><p>Hm. If you are not able to return system-data-structure, perhaps
check to make sure your Index Block is including page contents. If
this option is not checked, you will only get system information
such as name, path, etc.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/287231982013-09-10T16:27:52Z2013-09-10T16:27:52ZHelp with calling a value<div><p>My block was set up just right (the xml I sent you).
Unfortunately, the block the page was calling was from another
site. I knew it would be a dumb mistake—but one I
couldn’t find.</p>
<p>Thanks. Please close the ticket.</p>
<p>Jim</p></div>steelejtag:help-archives.hannonhill.com,2010-02-09:Comment/287231982013-09-10T17:07:51Z2013-09-10T17:07:51ZHelp with calling a value<div><p>Thank you for following up, Jim. I am glad to hear you were able
to track down the cause.</p>
<p>Have a great day!</p></div>Ryan Griffith