0
我創建了一個自定義的露天模型,其中有52種類型的自定義對象,我想在'創建'菜單下拉列表中顯示。 52個選項看起來有點混亂,所以我希望我可以將它們組織到創建的子菜單中。Alfresco文檔庫 - 將子菜單添加到'創建'
E.g.
Create
> Type A
> Object Type 1
> Object Type 2
> Type B
> Object Type 3
> Object Type 4
現在我的配置看起來是這樣的:
<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>
有選擇哪個子菜單中的每個內容的選擇上應該出現的選項?
通過觀察股票的配置,我不認爲,你可以直接使用的子類型。我嘗試使用節點模板的子文件夾,但它也無法正常工作。 –