cancel
Showing results for 
Search instead for 
Did you mean: 

How to custom a space

thibaut
Champ in-the-making
Champ in-the-making
Hello,

can we create different king of spaces on Alfresco ?
if yes, how can i do this ?

i've already customized document types and i'm trying to integrate this example http://forums.alfresco.com/viewtopic.php?t=6817 .
After having compiled the differents files, i can chosse in the space wizard my new king of space but i can't save the new values referenced in.
So in the part "view details" of my space my new values are always empty.

I think i have to add a new config in my new web-client-config-custom.xml.

I tried this

   <config evaluator="node-type" condition="custom:projectSpace">
      <property-sheet>
         <show-property name="custom:Solution" show-in-edit-mode="true" />
      </property-sheet>
   </config>
   
   <config evaluator="string-compare" condition="Space Wizards">
      <folder-types>
         <type name="custom:projectSpace" />
      </folder-types>
   </config>

but property "customSmiley Frustratedolution" does not appeared .

Have I forgotten a config ?

Thanks for yours answers


Thibaut
13 REPLIES 13

thibaut
Champ in-the-making
Champ in-the-making
ok,

but my pb is that i don't find how to record Solution property via the space detail  :cry:

….
Thibaut

ruizja
Champ in-the-making
Champ in-the-making
I tried to test the code but it does not appear at details view, only are you doing Create -> create space? Not shown any list for select this custom folder type  Smiley Sad

ruizja
Champ in-the-making
Champ in-the-making
I tried to test the code but it does not appear at details view, only are you doing Create -> create space? Not shown any list for select this custom folder type  Smiley Sad

Well, now when I go to Create -> Advanced Space Wizard, I select "From scratch". I can see my custom folder and select it but I can't see the new custom properties after. I should be able to see them? This is my steps:

1. create customModel.xml
2. create customModelcontext.xml
3. edit web-client-config-custom.xml and add the following:

<config evaluator="string-compare" condition="Space Wizards">
      <!– The list of custom folder types to show in the advanced space wizard –>
      <folder-types>
         <type name="mycustom:mycustomSpace" icon="/images/icons/mycustomicon.gif"/>
      </folder-types>
</config>

I forget to do something?

Thanks!
Javier

ruizja
Champ in-the-making
Champ in-the-making
I reply me:

Forget in web-client-config-custom.xml this:

<config evaluator="node-type" condition="custom:mycustomfolder">
      <property-sheet>
         <show-property name="cystom:mycustomproperty"/>
      </property-sheet>
</config>

But, for edit & save this property I have to go to "Modify" Properties. Does anyone know how to change the wizard for do this?

Thanks thanks thanks,
Javier