2016-09-19 11 views
0

'作成'メニューに表示する52種類のカスタムオブジェクトがあるカスタムアルフレコモデルを作成しました。 52のオプションはちょっと混乱しているように見えるので、私はそれらを作成のサブメニューに整理できると思っていました。Alfrescoドキュメントライブラリ - '作成'にサブメニューを追加

など。

<config condition="DocumentLibrary" evaluator="string-compare"> 
    <create-content> 
     <content icon="object-type-1" id="plain-text" itemid="ancoat:objectType1" label="Object Type 1" mimetype="text/plain"/> 
     <content icon="object-type-2" id="plain-text" itemid="ancoat:objectType2" label="Object Type 2" mimetype="text/plain"/> 
     <content icon="object-type-3" id="plain-text" itemid="ancoat:objectType3" label="Object Type 3" mimetype="text/plain"/> 
     <content icon="object-type-4" id="plain-text" itemid="ancoat:objectType4" label="Object Type 4" mimetype="text/plain"/> 
    </create-content> 
</config> 

各コンテンツオプションは、上に表示すべきサブメニューを選択するためのオプションがあります:

Create 
    > Type A 
     > Object Type 1 
     > Object Type 2 
    > Type B 
     > Object Type 3 
     > Object Type 4 

は今、私の構成は次のようになりますか?

+0

、私は考えていない、あなたは直接のサブタイプを使用することができます。私はNode Templatesのサブフォルダを試してみましたが、それもうまくいきません。 –

答えて

関連する問題