2016-09-19 2 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의 하위 폴더로 시도했지만 작동하지 않습니다. –

답변

관련 문제