Я пытался следовать этому учебнику о Alfresco пользовательских типовAlfresco Пользовательского типа контент не показывая
Однако, когда я перехожу к шагу «Проверка ваших изменений», и я перехожу к управлению правилами, я не могу получить созданные пользовательские типы (sc_doc и sc_whitepaper) в раскрывающемся списке.
Моя доля-конфиг-custom.xml:
<!-- Share configuration related to this particular Share module extension, such as:
- Doclib action config
- Form config
- Aspect and Type config
Note. Any configuration related to the whole Share.war webapp
(i.e. not specific to this share extension) should be
placed in the environment specific config:
alfresco/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml file
-->
<alfresco-config>
<!-- Document Library config section -->
<config evaluator="string-compare" condition="DocumentLibrary">
<aspects>
<!-- Aspects that a user can see -->
<visible>
<aspect name="sc:webable" />
<aspect name="sc:productRelated" />
</visible>
<!-- Aspects that a user can add. Same as "visible" if left empty -->
<addable>
</addable>
<!-- Aspects that a user can remove. Same as "visible" if left empty -->
<removeable>
</removeable>
</aspects>
</config>
<config evaluator="node-type" condition="DocumentLibrary">
<types>
<type name="cm:content">
<subtype name="sc:doc" />
<subtype name="sc:whitepaper" />
</type>
<type name="sc:doc">
<subtype name="sc:whitepaper" />
</type>
</types>
</config>
</alfresco-config>
PS: Есть ли у меня повторно запустить 'MVN установить' после каждого изменения я делаю в .xml с помощью Eclipse?
Любая помощь будет очень признательна!
да, вам нужно повторить. –