<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Javascript Console in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/javascript-console/m-p/303588#M256718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I wish to send an e-mail using a javascript and a Freemarker Template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can send an e-mail via my javascript using the Javascript Input tab of the Console. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried using the "Freemarker Input" and I can see "Freemarker HTML Output" if I use the ${companyhome} type nodes; but I get an error if I used the ${space},${space.name}, ${document} etc nodes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;strong&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;500 Internal Error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;An error inside the HTTP server which prevented it from fulfilling the request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;03240034 Wrapped Exception (with status template): 03241463 Error during processing of the template 'Expression space is undefined on line 1, column 7 in string://fixed.'. Please contact your system administrator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/strong&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I doing wrong? Should I pass nodes to the "FreeMarker Input" template from my javascript? If so, how?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Apr 2013 16:13:46 GMT</pubDate>
    <dc:creator>drbaz</dc:creator>
    <dc:date>2013-04-24T16:13:46Z</dc:date>
    <item>
      <title>Javascript Console</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-console/m-p/303588#M256718</link>
      <description>I wish to send an e-mail using a javascript and a Freemarker Template.I can send an e-mail via my javascript using the Javascript Input tab of the Console. I have tried using the "Freemarker Input" and I can see "Freemarker HTML Output" if I use the ${companyhome} type nodes; but I get an error if I</description>
      <pubDate>Wed, 24 Apr 2013 16:13:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-console/m-p/303588#M256718</guid>
      <dc:creator>drbaz</dc:creator>
      <dc:date>2013-04-24T16:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Console</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-console/m-p/303589#M256719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Add all the data you want to display in a Freemarker template to the "model" variable in your JavaScript&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;model.myVar = "This is my variable";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then you can use…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;${myVar}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.. in the template and in the Freemarker Input tab of the JavaScript Console&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks to Florian Maul of FME for providing the support and solution&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 12:18:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-console/m-p/303589#M256719</guid>
      <dc:creator>drbaz</dc:creator>
      <dc:date>2013-04-26T12:18:55Z</dc:date>
    </item>
  </channel>
</rss>

