<?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 companyhome not defined in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/companyhome-not-defined/m-p/233620#M186750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;WE are trying to use the JAvascript API to access webscripts. However we are receving the "companyhome not defined" error and as a result not able to proceed. Are we missing anything as far the installation goes, trying to figure why we would get this error for a seemingly simple script. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is sample code from the cookbook for JS API&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var template = companyhome.childByNamePath("/Data Dictionary/Presentation Templates/doc_info.ftl");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (template != null)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; var result = document.processTemplate(template);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; // output result to the console - could just as easily save the content into a new node…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; logger.log(result);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2009 20:22:28 GMT</pubDate>
    <dc:creator>djesdforum</dc:creator>
    <dc:date>2009-06-10T20:22:28Z</dc:date>
    <item>
      <title>companyhome not defined</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/companyhome-not-defined/m-p/233620#M186750</link>
      <description>WE are trying to use the JAvascript API to access webscripts. However we are receving the "companyhome not defined" error and as a result not able to proceed. Are we missing anything as far the installation goes, trying to figure why we would get this error for a seemingly simple script. This is sam</description>
      <pubDate>Wed, 10 Jun 2009 20:22:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/companyhome-not-defined/m-p/233620#M186750</guid>
      <dc:creator>djesdforum</dc:creator>
      <dc:date>2009-06-10T20:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: companyhome not defined</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/companyhome-not-defined/m-p/233621#M186751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you're running that code as part of a webscript, then make sure the descriptor is setting &lt;/SPAN&gt;&lt;STRONG&gt;authentication&lt;/STRONG&gt;&lt;SPAN&gt; to &lt;/SPAN&gt;&lt;STRONG&gt;user&lt;/STRONG&gt;&lt;SPAN&gt; rather than &lt;/SPAN&gt;&lt;STRONG&gt;guest&lt;/STRONG&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;STRONG&gt;none&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 20:42:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/companyhome-not-defined/m-p/233621#M186751</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-06-10T20:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: companyhome not defined</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/companyhome-not-defined/m-p/233622#M186752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thx MikeH&amp;nbsp; that helped.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 21:37:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/companyhome-not-defined/m-p/233622#M186752</guid>
      <dc:creator>djesdforum</dc:creator>
      <dc:date>2009-06-10T21:37:29Z</dc:date>
    </item>
  </channel>
</rss>

