AnsweredAssumed Answered

Configure default icon for a custom type

Question asked by davidetaibi on Sep 6, 2006
Latest reply on Jun 20, 2007 by gavinc
I've defined a very simple custom type with cm:folder as parent:

      <type name="pk:package">

I add the following code to my web-client-config-custom.xml

<config evaluator="string-compare" condition="Space Wizards">
      <type name="pk:package" icon="/images/icons/pack.gif" description="Package Space" />

   <config evaluator="string-compare" condition="pk:package icons">
         <icon name="pack" path="/images/icons/pack.gif" />

So when I create a new space with the Advanced Space Wizard, I can choice the folder type and its icon. It works fine.

I would ask if there is a way to set the default icon for a specific type using a configuration file.
For example something like:

<config evaluator="node-type" condition="pk:package">

Something that allows me to set a default value of a property through a configuration file.