<?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 Re: Javascript api and content in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/javascript-api-and-content/m-p/50457#M29287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see at Wiki that we can upload files using javascript API. There is an example of this (please see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts_Examples#File_Upload" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts_Examples#File_Upload&lt;/A&gt;&lt;SPAN&gt;). But I saw that we can use "formdata" object only if we use Alfresco Enterprise, not Alfresco Community (see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts#Appendix_A:_Web_Script_Root_Objects" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts#Appendix_A:_Web_Script_Root_Objects&lt;/A&gt;&lt;SPAN&gt;). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My questions are: Is different the source code from the Alfresco Enterprise ?? Can we use this object on Alfresco Community ?? How can we upload files??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much!! Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Santigt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Aug 2007 11:45:43 GMT</pubDate>
    <dc:creator>santigt</dc:creator>
    <dc:date>2007-08-02T11:45:43Z</dc:date>
    <item>
      <title>Javascript api and content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-api-and-content/m-p/50454#M29284</link>
      <description>Is it, or will it be possible, to set a node's content with a file (eg an jpeg) from a file upload control, using the javascript api?such as :myNode.content = args["uploadedFile"];Tanks &lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;</description>
      <pubDate>Wed, 08 Nov 2006 15:11:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-api-and-content/m-p/50454#M29284</guid>
      <dc:creator>ajshaw</dc:creator>
      <dc:date>2006-11-08T15:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript api and content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-api-and-content/m-p/50455#M29285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No i don't think that will be easy &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; The JavaScript engine executes within the context of the repository - it has no access to web-client beans or JSF upload components etc. It would need some custom code to stream the content to a location that the JavaScript engine could access before it could deal with the uploaded content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2006 09:15:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-api-and-content/m-p/50455#M29285</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-11-09T09:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript api and content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-api-and-content/m-p/50456#M29286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2006 09:23:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-api-and-content/m-p/50456#M29286</guid>
      <dc:creator>ajshaw</dc:creator>
      <dc:date>2006-11-09T09:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript api and content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-api-and-content/m-p/50457#M29287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see at Wiki that we can upload files using javascript API. There is an example of this (please see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts_Examples#File_Upload" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts_Examples#File_Upload&lt;/A&gt;&lt;SPAN&gt;). But I saw that we can use "formdata" object only if we use Alfresco Enterprise, not Alfresco Community (see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts#Appendix_A:_Web_Script_Root_Objects" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts#Appendix_A:_Web_Script_Root_Objects&lt;/A&gt;&lt;SPAN&gt;). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My questions are: Is different the source code from the Alfresco Enterprise ?? Can we use this object on Alfresco Community ?? How can we upload files??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much!! Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Santigt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 11:45:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-api-and-content/m-p/50457#M29287</guid>
      <dc:creator>santigt</dc:creator>
      <dc:date>2007-08-02T11:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript api and content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-api-and-content/m-p/50458#M29288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This enhancement would of gone into 2.1 community, but it didn't make it due to time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It will propagate to SVN HEAD soon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 12:52:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-api-and-content/m-p/50458#M29288</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2007-08-02T12:52:40Z</dc:date>
    </item>
  </channel>
</rss>

