<?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: how to set properties? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-properties/m-p/224460#M177590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Found this in the wiki:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;// change the name of this document&lt;BR /&gt;document.properties.name = "Backup of " + document.properties.name;&lt;BR /&gt;// add a new property string&lt;BR /&gt;document.properties["cm:locale"] = mylocalenode;&lt;BR /&gt;// save the property modifications&lt;BR /&gt;document.save();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks lite you have to set the properties one by one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Mar 2010 15:54:11 GMT</pubDate>
    <dc:creator>billerby</dc:creator>
    <dc:date>2010-03-10T15:54:11Z</dc:date>
    <item>
      <title>how to set properties?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-properties/m-p/224459#M177589</link>
      <description>I can get properties:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var propObj = document.getProperties();how do I set properties?&amp;nbsp;&amp;nbsp;&amp;nbsp; document.setProperties(propObj);produces:exception occurred: Cannot find function setProperties.</description>
      <pubDate>Wed, 10 Mar 2010 14:52:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-properties/m-p/224459#M177589</guid>
      <dc:creator>targa2000</dc:creator>
      <dc:date>2010-03-10T14:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to set properties?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-properties/m-p/224460#M177590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Found this in the wiki:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;// change the name of this document&lt;BR /&gt;document.properties.name = "Backup of " + document.properties.name;&lt;BR /&gt;// add a new property string&lt;BR /&gt;document.properties["cm:locale"] = mylocalenode;&lt;BR /&gt;// save the property modifications&lt;BR /&gt;document.save();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks lite you have to set the properties one by one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 15:54:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-properties/m-p/224460#M177590</guid>
      <dc:creator>billerby</dc:creator>
      <dc:date>2010-03-10T15:54:11Z</dc:date>
    </item>
  </channel>
</rss>

