Relación con el tema de metadatos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2016 07:09 AM
Me interesa que al subir un archivo al gestor documental obligará a introducir esos dos campos.
Qué archivos debería modificar para hacer eso ?
Gracias.
posdata: el post relacionado es este: <a href="https://forums.alfresco.com/es/forum/desarrollo/extender-o-cambiar-alfresco/metadatos-obligatorios-a..." target="_blank">https://forums.alfresco.com/es/forum/desarrollo/extender-o-cambiar-alfresco/metadatos-obligatorios-a...</a>
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2016 07:33 AM
Incluye en
share-config-custom.xml
los metadatos que requieras (pueden ser etiquetas y categorías) para el tipo que desees subir.¿Qué problema específico tienes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2016 03:39 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2021 01:05 AM
Cordial saludo,
Soy nuevo en Alfresco. Quisiera añadir un Tipo a los criterios de búsqueda de Alfresco para encontrar documentos, cómo lo puedo hacer? Le agradecería mucho su ayuda. Saludos. Andrés Santander.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2016 05:52 AM
share-config-custom.xml
en la que declaras los formularios.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2016 06:32 AM
<config evaluator="model-type" condition="cm:content">
<forms>
<!– Default form configuration for the cm:content type –>
<form>
<field-visibility>
<show id="cm:name" />
<show id="cm:title" force="true" />
<show id="cm:description" force="true" />
<show id="mimetype" />
<show id="size" for-mode="view" />
<show id="cm:taggable" for-mode="edit" force="true" />
<show id="cm:categories" />
<show id="cm:type"/>
<!– cm

<show id="cm

<!– cm:attachable aspect –>
<show id="cm:attachments" />
</field-visibility>
<appearance>
<field id="cm:name">
<control>
<control-param name="maxLength">255</control-param>
</control>
</field>
<field id="cm:title">
<control template="/org/alfresco/components/form/controls/textfield.ftl" />
</field>
<field id="cm:description">
<control>
<control-param name="activateLinks">true</control-param>
</control>
</field>
<field id="mimetype">
<control template="/org/alfresco/components/form/controls/mimetype.ftl" />
</field>
<field id="size">
<control template="/org/alfresco/components/form/controls/size.ftl" />
</field>
<field id="cm:taggable">
<control>
<control-param name="compactMode">true</control-param>
<control-param name="params">aspect=cm:taggable</control-param>
<control-param name="createNewItemUri">/api/tag/workspace/SpacesStore</control-param>
<control-param name="createNewItemIcon">tag</control-param>
</control>
</field>
<field id="cm:categories">
<control>
<control-param name="compactMode">true</control-param>
</control>
</field>
<field id="cm

<field id="cm:addressee" read-only="true" />
<field id="cm:addressees" read-only="true" />
<field id="cm:sentdate" read-only="true" />
<field id="cm:subjectline" read-only="true" />
</appearance>
</form>
<!– Document Library pop-up Edit Metadata form –>
<form id="doclib-simple-metadata">
<field-visibility>
<show id="cm:name" />
<show id="cm:title" force="true" />
<show id="cm:description" force="true" />
<show id="cm:taggable" for-mode="edit" force="true" />
<show id="cm:categories" />
</field-visibility>
<edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl" />
<appearance>
<field id="cm:name">
<control>
<control-param name="maxLength">255</control-param>
</control>
</field>
<field id="cm:title">
<control template="/org/alfresco/components/form/controls/textfield.ftl" />
</field>
<field id="cm:description">
<control>
<control-param name="activateLinks">true</control-param>
</control>
</field>
<field id="cm:taggable">
<control>
<control-param name="compactMode">true</control-param>
<control-param name="params">aspect=cm:taggable</control-param>
<control-param name="createNewItemUri">/api/tag/workspace/SpacesStore</control-param>
<control-param name="createNewItemIcon">tag</control-param>
</control>
</field>
</alfresco-config>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2016 02:13 AM
model-type
(creación de contenidos) en vez del node-type
(edición de contenidos).Paolo explica cómo se trabaja con tipos personalizados y Uploader Plus aquí: http://softwareloop.com/uploader-plus-working-with-custom-content-types/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2016 05:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2016 06:03 AM
Comienza por un ejemplo sencillo y quizá así puedas identificar dónde está el problema.
