<?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 add new content using WebScripts? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-content-using-webscripts/m-p/176695#M129825</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;BR /&gt;&lt;SPAN&gt;normally, you'd set a new name like this (for example):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;node.properties["cm:name"] = new_value;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to do this with your new custom property, you need to include it's prefix. If we go by that article, then it's:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;node.properties["sc:some_property"] = new_value;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Mar 2009 10:27:00 GMT</pubDate>
    <dc:creator>lista</dc:creator>
    <dc:date>2009-03-13T10:27:00Z</dc:date>
    <item>
      <title>How to add new content using WebScripts?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-content-using-webscripts/m-p/176692#M129822</link>
      <description>Hi All,I have created a custom content type using this article http://ecmarchitect.com/archives/2007/06/09/756I have also created a webscript to read data using http://ecmarchitect.com/archives/2007/10/25/777But I am struggling to find a way to create webscript that can add new content into the repo</description>
      <pubDate>Wed, 22 Oct 2008 01:28:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-content-using-webscripts/m-p/176692#M129822</guid>
      <dc:creator>jaiatpm</dc:creator>
      <dc:date>2008-10-22T01:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new content using WebScripts?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-content-using-webscripts/m-p/176693#M129823</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 think you will find what you are looking for in this example: &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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need to add custom properties pass them with the request as parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//Carl&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 06:14:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-content-using-webscripts/m-p/176693#M129823</guid>
      <dc:creator>calle</dc:creator>
      <dc:date>2008-10-22T06:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new content using WebScripts?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-content-using-webscripts/m-p/176694#M129824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;would you please show me an example of how to pass custom properties as parameters? thanx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 07:50:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-content-using-webscripts/m-p/176694#M129824</guid>
      <dc:creator>handsum_z</dc:creator>
      <dc:date>2009-03-12T07:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new content using WebScripts?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-content-using-webscripts/m-p/176695#M129825</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;BR /&gt;&lt;SPAN&gt;normally, you'd set a new name like this (for example):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;node.properties["cm:name"] = new_value;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to do this with your new custom property, you need to include it's prefix. If we go by that article, then it's:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;node.properties["sc:some_property"] = new_value;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 10:27:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-content-using-webscripts/m-p/176695#M129825</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2009-03-13T10:27:00Z</dc:date>
    </item>
  </channel>
</rss>

