<?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 Cannot able to call API Webscript in lastest version alfresco in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cannot-able-to-call-api-webscript-in-lastest-version-alfresco/m-p/302527#M255657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I create new page follow link : &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.1/tasks/tutorial-share-add-page.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.1/tasks/tutorial-share-add-page.html&lt;/A&gt;&lt;SPAN&gt; and add a file to call API in file js, but I am trying to run a webscript using the [var connector = remote.connect(”http”)]; but i cannot able to call the webscript it throws the following error: "ReferenceError: "remote" is not defined." as exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I added the "remote" entry to the scriptsObjects in the endpoint tag :&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;bean id="webscripts.container" class="org.alfresco.repo.web.scripts.TenantRepositoryContainer" parent="webscripts.abstractcontainer" init-method="setup"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;entry key="remote" value-ref="webscripts.script.remote" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there is some config webscript-framework-config.xml…bla bla. I think file doesn´t exist in this version&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you any idea ???????????&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 May 2014 09:11:00 GMT</pubDate>
    <dc:creator>kimryan</dc:creator>
    <dc:date>2014-05-23T09:11:00Z</dc:date>
    <item>
      <title>Cannot able to call API Webscript in lastest version alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-able-to-call-api-webscript-in-lastest-version-alfresco/m-p/302527#M255657</link>
      <description>I create new page follow link : http://docs.alfresco.com/4.1/tasks/tutorial-share-add-page.html and add a file to call API in file js, but I am trying to run a webscript using the [var connector = remote.connect(”http”)]; but i cannot able to call the webscript it throws the following error: "Refere</description>
      <pubDate>Fri, 23 May 2014 09:11:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-able-to-call-api-webscript-in-lastest-version-alfresco/m-p/302527#M255657</guid>
      <dc:creator>kimryan</dc:creator>
      <dc:date>2014-05-23T09:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot able to call API Webscript in lastest version alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-able-to-call-api-webscript-in-lastest-version-alfresco/m-p/302528#M255658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Where did you place your js file ? "remote" object is server side object ,you can only call it in your webscript controller js not in client side js.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 03:11:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-able-to-call-api-webscript-in-lastest-version-alfresco/m-p/302528#M255658</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-05-28T03:11:05Z</dc:date>
    </item>
  </channel>
</rss>

