<?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: Adding extra properties to a space in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/adding-extra-properties-to-a-space/m-p/57231#M34761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes absolutely - the content model in Alfresco is designed to be extended. You can add your own model with types, aspects and properties defined by you. You can configure the web-client UI to display those properties and you can use rules and scripts to set values automatically or when specific actions occur.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are lots of docs on the wiki, a good place to start would be here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Developer_Guide#Creating_new_Content_Models" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Developer_Guide#Creating_new_Content_Models&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Data_Dictionary_Guide" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Data_Dictionary_Guide&lt;/A&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>Mon, 04 Dec 2006 12:13:44 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2006-12-04T12:13:44Z</dc:date>
    <item>
      <title>Adding extra properties to a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-extra-properties-to-a-space/m-p/57230#M34760</link>
      <description>Hi,Is it possible to add extra properties/metadata to a space?I would like to make different space templates for projects, and give the project creator the possibility to add some general information about the project.And auto-update the metadata of files uploaded to the space or created in the spac</description>
      <pubDate>Wed, 29 Nov 2006 10:54:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-extra-properties-to-a-space/m-p/57230#M34760</guid>
      <dc:creator>nie</dc:creator>
      <dc:date>2006-11-29T10:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra properties to a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-extra-properties-to-a-space/m-p/57231#M34761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes absolutely - the content model in Alfresco is designed to be extended. You can add your own model with types, aspects and properties defined by you. You can configure the web-client UI to display those properties and you can use rules and scripts to set values automatically or when specific actions occur.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are lots of docs on the wiki, a good place to start would be here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Developer_Guide#Creating_new_Content_Models" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Developer_Guide#Creating_new_Content_Models&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Data_Dictionary_Guide" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Data_Dictionary_Guide&lt;/A&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>Mon, 04 Dec 2006 12:13:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-extra-properties-to-a-space/m-p/57231#M34761</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-12-04T12:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra properties to a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-extra-properties-to-a-space/m-p/57232#M34762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for the answer Kevin, checked those guides on wiki, now i managed to create my own space and content model with the extra properties needed, still got some questions tho.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i make the new space properties show up in the advanced space wizard? I can choose the new space type, but i can only enter the usual properties, not the new ones i added. For the new content type it works fine, the new properties show up in the content wizard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i modify the new properties of a content(the ones i added)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tried adding a rule with java script execution, but i can only modify the old usual properties. For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;document.properties.title = "newtitle"; works fine, but&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;document.properties.myproperty = "something"; is just getting ignored.&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;Nie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 13:02:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-extra-properties-to-a-space/m-p/57232#M34762</guid>
      <dc:creator>nie</dc:creator>
      <dc:date>2006-12-05T13:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra properties to a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-extra-properties-to-a-space/m-p/57233#M34763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How can i modify the new properties of a content(the ones i added)?&lt;BR /&gt;Tried adding a rule with java script execution, but i can only modify the old usual properties. For example:&lt;BR /&gt;document.properties.title = "newtitle"; works fine, but&lt;BR /&gt;document.properties.myproperty = "something"; is just getting ignored.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The document.properties.&amp;lt;prop&amp;gt; syntax is a shortcut for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;document.properties["cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rop"] - which uses the 'cm' prefix content model by default. For your custom properties you need to specify the namespace prefix, so if your custom model uri prefix was called 'custom' then this will work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;document.properties["custom:myproperty"] = "something";&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>Tue, 05 Dec 2006 16:47:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-extra-properties-to-a-space/m-p/57233#M34763</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-12-05T16:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra properties to a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-extra-properties-to-a-space/m-p/57234#M34764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As for showing properties after the space wizard…..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can't currently without writing some custom code. This new feature is already raised on JIRA: &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/browse/AWC-888" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/AWC-888&lt;/A&gt;&lt;SPAN&gt; but there's no time line for it at the moment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To implement it yourself you'll need to override the advanced space wizard definition and make it immediately show the edit properties dialog after the wizard closes. As you say create content already does it and can therefore be used as an example, particularly CreateContentWizard.doPostCommitProcessing().&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 16:54:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-extra-properties-to-a-space/m-p/57234#M34764</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-12-05T16:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra properties to a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-extra-properties-to-a-space/m-p/57235#M34765</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;thanks for the answers Kevin and Gavin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gavin can u tell me where can i exactly find the definition of the advanced space wizard and the function to override?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And is it possible to change the content_type of content with a rule or somehow else? I can select my own content_type if i add or create content, but if i upload multiple files with an external webDAV client for example, they're created with the default content_type, so i would like to convert them to my own content_type.(talking about the type of the content object, not mimetype)&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;Nie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 15:39:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-extra-properties-to-a-space/m-p/57235#M34765</guid>
      <dc:creator>nie</dc:creator>
      <dc:date>2006-12-12T15:39:07Z</dc:date>
    </item>
  </channel>
</rss>

