<?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 type=file dashlet ??? JSON in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/type-file-dashlet-json/m-p/299440#M252570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a dashlet with an input type=file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have done a request to send inputs data values to alfresco, I could get all my inputs values in my xxx.post.json.js, but not the content of my sended image file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found many difficulties to do it with formdata (multipart), I can't .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to do it in the JSON way ??? and how can I get : my image content ???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;newFile.content = content; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't use : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;newFile.properties.content.write(content); //the problem come form write.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please help me &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thnx &amp;amp; regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 May 2014 12:28:47 GMT</pubDate>
    <dc:creator>yascorp</dc:creator>
    <dc:date>2014-05-16T12:28:47Z</dc:date>
    <item>
      <title>type=file dashlet ??? JSON</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/type-file-dashlet-json/m-p/299440#M252570</link>
      <description>Hi,I have a dashlet with an input type=file.I have done a request to send inputs data values to alfresco, I could get all my inputs values in my xxx.post.json.js, but not the content of my sended image file.I found many difficulties to do it with formdata (multipart), I can't .Is it possible to do i</description>
      <pubDate>Fri, 16 May 2014 12:28:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/type-file-dashlet-json/m-p/299440#M252570</guid>
      <dc:creator>yascorp</dc:creator>
      <dc:date>2014-05-16T12:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: type=file dashlet ??? JSON</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/type-file-dashlet-json/m-p/299441#M252571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you checked the existing file upload functionality in alfresco share? You can invoke your webscript the same way. Take a look at &lt;/SPAN&gt;&lt;A href="http://flash-upload.js/file-upload.js/dnd-upload.js" rel="nofollow noopener noreferrer"&gt;flash-upload.js/file-upload.js/dnd-upload.js&lt;/A&gt;&lt;SPAN&gt;, it makes a call to api/upload webscript to upload a content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 13:01:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/type-file-dashlet-json/m-p/299441#M252571</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2014-05-16T13:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: type=file dashlet ??? JSON</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/type-file-dashlet-json/m-p/299442#M252572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thnx for your reply ! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I check those files but I can't find a solution so I decide to make it my way with input type file, but when I recieve my image, I can't view it because It's corrupted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The content of my image is encoded in base64 (does Alfresco read the base64 file content or not ???)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tnnx for you answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 14:32:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/type-file-dashlet-json/m-p/299442#M252572</guid>
      <dc:creator>yascorp</dc:creator>
      <dc:date>2014-05-16T14:32:42Z</dc:date>
    </item>
  </channel>
</rss>

