<?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 How to set custom attribute to file when upload to nuxeo document? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-set-custom-attribute-to-file-when-upload-to-nuxeo/m-p/313846#M847</link>
    <description>&lt;P&gt;I want to add some custom attributes to file when upload to nuxeo document using below endpoint and payload:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://localhost:8080/nuxeo/api/v1/id/folder_id" target="test_blank"&gt;http://localhost:8080/nuxeo/api/v1/id/folder_id&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;{
"entity-type": "document",
"type": "File",
"name":"test",
"properties" : {
"file:content": {
"upload-batch":"batchId",
"upload-fileId":"0"
}
}
}&lt;/P&gt;
&lt;P&gt;How can I add attribute to file using nuxeo rest API?&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2020 05:44:49 GMT</pubDate>
    <dc:creator>Mustafa_Mustafa</dc:creator>
    <dc:date>2020-07-01T05:44:49Z</dc:date>
    <item>
      <title>How to set custom attribute to file when upload to nuxeo document?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-set-custom-attribute-to-file-when-upload-to-nuxeo/m-p/313846#M847</link>
      <description>&lt;P&gt;I want to add some custom attributes to file when upload to nuxeo document using below endpoint and payload:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://localhost:8080/nuxeo/api/v1/id/folder_id" target="test_blank"&gt;http://localhost:8080/nuxeo/api/v1/id/folder_id&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;{
"entity-type": "document",
"type": "File",
"name":"test",
"properties" : {
"file:content": {
"upload-batch":"batchId",
"upload-fileId":"0"
}
}
}&lt;/P&gt;
&lt;P&gt;How can I add attribute to file using nuxeo rest API?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 05:44:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-set-custom-attribute-to-file-when-upload-to-nuxeo/m-p/313846#M847</guid>
      <dc:creator>Mustafa_Mustafa</dc:creator>
      <dc:date>2020-07-01T05:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to set custom attribute to file when upload to nuxeo document?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-set-custom-attribute-to-file-when-upload-to-nuxeo/m-p/313847#M848</link>
      <description>&lt;P&gt;I fix it using below payload
{
"entity-type": "document",
"type": "File",
"name":"name",
"properties" : {
"file:content": {
"upload-batch":"batchId",
"upload-fileId":"0"
},
"nxtag:tags":[{
"label": "tag content"
}]
}
}&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 06:32:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-set-custom-attribute-to-file-when-upload-to-nuxeo/m-p/313847#M848</guid>
      <dc:creator>Mustafa_Mustafa</dc:creator>
      <dc:date>2020-07-01T06:32:20Z</dc:date>
    </item>
  </channel>
</rss>

