Estimados y estimadas contertulios, tengo la siguiente inquietud, tengo una versión de Alfresco (último reléase 5.2 me parece CE) tengo un a par de modelos de datos que se asocian al data List y al general los modelos estos son reflejados en el Data List de un sitio que he creado, en este caso particular, al crear el data list, este en levanta o incluye un botón llamado filtros, el cual me permite realizar búsquedas con los mismos metadatos, quisiera poder quitar esta pestaña o manipular o quitar botones que se despliegan dentro de el mismo filtro. Eso gracias totales, saludos
¿Podrías incluir un pantallazo de esa funcionalidad?
Por supuesto ! acá va !, en un principio pense que podria manipularlo con Haiku, pero no ...
Entonces es una custom Data List.
El formulario se configura en un archivo del tipo "share-config-custom.xml". ¿No tienes las fuentes de ese módulo?
Si lo tengo, lo que pasa es que es un poco mas complicado que eso me parece aca va!
<alfresco-config>
<!-- Incluye funciones para tomar Folio/Caja -->
<!--
<config>
<forms>
<dependencies>
<js src="/components/form/foliocaja.js"/>
</dependencies>
</forms>
</config>
-->
<!-- Global config section -->
<config replace="true">
<flags>
<!--
Developer debugging setting to turn on DEBUG mode for client scripts in the browser
-->
<client-debug>true</client-debug>
<!--
LOGGING can always be toggled at runtime when in DEBUG mode (Ctrl, Ctrl, Shift, Shift).
This flag automatically activates logging on page load.
-->
<client-debug-autologging>false</client-debug-autologging>
</flags>
</config>
<config evaluator="string-compare" condition="WebFramework">
<web-framework>
<!-- SpringSurf Autowire Runtime Settings -->
<!--
Developers can set mode to 'development' to disable; SpringSurf caches,
FreeMarker template caching and Rhino JavaScript compilation.
-->
<autowire>
<!-- Pick the mode: "production" or "development" -->
<mode>development</mode>
</autowire>
<application-defaults>
<theme>yellowTheme</theme>
</application-defaults>
</web-framework>
</config>
<config evaluator="string-compare" condition="Replication">
<share-urls>
<!--
To discover a Repository Id, browse to the remote server's CMIS landing page at:
http://{server}:{port}/alfresco/service/cmis/index.html
The Repository Id field is found under the "CMIS Repository Information" expandable panel.
Example config entry:
<share-url repositoryId="622f9533-2a1e-48fe-af4e-ee9e41667ea4">http://new-york-office:8080/share/</share-url>
-->
</share-urls>
</config>
<!-- Document Library config section -->
<config evaluator="string-compare" condition="DocumentLibrary" replace="true">
<tree>
<!--
Whether the folder Tree component should enumerate child folders or not.
This is a relatively expensive operation, so should be set to "false" for Repositories with broad folder structures.
-->
<evaluate-child-folders>false</evaluate-child-folders>
<!--
Optionally limit the number of folders shown in treeview throughout Share.
-->
<maximum-folder-count>-1</maximum-folder-count>
</tree>
<!--
Used by the "Manage Aspects" action
For custom aspects, remember to also add the relevant i18n string(s)
cm_myaspect=My Aspect
-->
<aspects>
<!-- Aspects that a user can see -->
<visible>
<aspect name="cm:generalclassifiable" />
<aspect name="cm:complianceable" />
<aspect name="cm:dublincore" />
<aspect name="cm:effectivity" />
<aspect name="cm:summarizable" />
<aspect name="cm:versionable" />
<aspect name="cm:templatable" />
<aspect name="cm:emailed" />
<aspect name="emailserver:aliasable" />
<aspect name="cm:taggable" />
<aspect name="app:inlineeditable" />
<aspect name="gd:googleEditable" />
<aspect name="cm:geographic" />
<aspect name="exif:exif" />
</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>
<!--
Used by the "Change Type" action
Define valid subtypes using the following example:
<type name="cm:content">
<subtype name="cm:mysubtype" />
</type>
Remember to also add the relevant i18n string(s):
cm_mysubtype=My SubType
-->
<types>
<type name="cm:content">
<subtype name="corp:caso" />
<subtype name="corpagoComisionAnticipo" />
</type>
<!--type name="corp:caso">
</type-->
<type name="cm:folder">
</type>
</types>
<!--
If set, will present a WebDAV link for the current item on the Document and Folder details pages.
Also used to generate the "View in Alfresco Explorer" action for folders.
-->
<repository-url>http://localhost:8080/alfresco</repository-url>
<!--
Google Docs™ integration
-->
<google-docs>
<!--
Enable/disable the Google Docs UI integration (Extra types on Create Content menu, Google Docs actions).
-->
<enabled>false</enabled>
<!--
The mimetypes of documents Google Docs allows you to create via the Share interface.
The I18N label is created from the "type" attribute, e.g. google-docs.doc=Google Docs™ Document
-->
<creatable-types>
<creatable type="doc">application/msword</creatable>
<creatable type="xls">application/vnd.ms-excel</creatable>
<creatable type="ppt">application/vnd.ms-powerpoint</creatable>
</creatable-types>
</google-docs>
<!--
File upload configuration
-->
<file-upload>
<!--
Adobe Flash™
In certain environments, an HTTP request originating from Flash cannot be authenticated using an existing session.
See: http://bugs.adobe.com/jira/browse/FP-4830
For these cases, it is useful to disable the Flash-based uploader for Share Document Libraries.
-->
<adobe-flash-enabled>true</adobe-flash-enabled>
</file-upload>
</config>
<!-- Repository Library config section -->
<config evaluator="string-compare" condition="RepositoryLibrary" replace="true">
<!--
Root nodeRef or xpath expression for top-level folder.
e.g. alfresco://user/home, /app:company_home/st:sites/cm:site1
If using an xpath expression, ensure it is properly ISO9075 encoded here.
-->
<root-node>alfresco://company/home</root-node>
<tree>
<!--
Whether the folder Tree component should enumerate child folders or not.
This is a relatively expensive operation, so should be set to "false" for Repositories with broad folder structures.
-->
<evaluate-child-folders>false</evaluate-child-folders>
<!--
Optionally limit the number of folders shown in treeview throughout Share.
-->
<maximum-folder-count>500</maximum-folder-count>
</tree>
</config>
<!-- Kerberos settings -->
<config evaluator="string-compare" condition="Kerberos" replace="true">
<kerberos>
<!--
Password for HTTP service account.
The account name *must* be built from the HTTP server name, in the format :
HTTP/<server_name>@<realm>
(NB this is because the web browser requests an ST for the
HTTP/<server_name> principal in the current realm, so if we're to decode
that ST, it has to match.)
-->
<password>secret</password>
<!--
Kerberos realm and KDC address.
-->
<realm>ALFRESCO.ORG</realm>
<!--
Service Principal Name to use on the repository tier.
This must be like: HTTP/host.name@REALM
-->
<endpoint-spn>HTTP/repository.server.com@ALFRESCO.ORG</endpoint-spn>
<!--
JAAS login configuration entry name.
-->
<config-entry>ShareHTTP</config-entry>
</kerberos>
</config>
<!--
Overriding endpoints to reference an Alfresco server with external SSO enabled
NOTE: If utilising a load balancer between web-tier and repository cluster, the "sticky
sessions" feature of your load balancer must be used.
NOTE: If alfresco server location is not localhost:8080 then also combine changes from the
"example port config" section below.
*Optional* keystore contains SSL client certificate + trusted CAs.
Used to authenticate share to an external SSO system such as CAS
Remove the keystore section if not required i.e. for NTLM.
-->
<!--
<config evaluator="string-compare" condition="Remote">
<remote>
<keystore>
<path>alfresco/web-extension/alfresco-system.p12</path>
<type>pkcs12</type>
<password>alfresco-system</password>
</keystore>
<connector>
<id>alfrescoCookie</id>
<name>Alfresco Connector</name>
<description>Connects to an Alfresco instance using cookie-based authentication</description>
<class>org.springframework.extensions.webscripts.connector.AlfrescoConnector</class>
</connector>
<endpoint>
<id>alfresco</id>
<name>Alfresco - user access</name>
<description>Access to Alfresco Repository WebScripts that require user authentication</description>
<connector-id>alfrescoCookie</connector-id>
<endpoint-url>http://localhost:8080/alfresco/wcs</endpoint-url>
<identity>user</identity>
<external-auth>true</external-auth>
</endpoint>
</remote>
</config>
-->
<!-- example port config used to access remote Alfresco server (default is 8080) -->
<!--
<config evaluator="string-compare" condition="Remote">
<remote>
<endpoint>
<id>alfresco-noauth</id>
<name>Alfresco - unauthenticated access</name>
<description>Access to Alfresco Repository WebScripts that do not require authentication</description>
<connector-id>alfresco</connector-id>
<endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
<identity>none</identity>
</endpoint>
<endpoint>
<id>alfresco</id>
<name>Alfresco - user access</name>
<description>Access to Alfresco Repository WebScripts that require user authentication</description>
<connector-id>alfresco</connector-id>
<endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
<identity>user</identity>
</endpoint>
<endpoint>
<id>alfresco-feed</id>
<name>Alfresco Feed</name>
<description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
<connector-id>http</connector-id>
<endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
<basic-auth>true</basic-auth>
<identity>user</identity>
</endpoint>
</remote>
</config>
-->
<!-- corp -->
<config evaluator="string-compare" condition="SitePages" replace="true">
<pages>
<page id="calendar">calendar</page>
<page id="wiki-page">wiki-page?title=Main_Page</page>
<page id="documentlibrary">documentlibrary</page>
<page id="discussions-topiclist">discussions-topiclist</page>
<page id="blog-postlist">blog-postlist</page>
<page id="links">links</page>
<page id="data-lists">data-lists</page>
</pages>
</config>
<config replace="true" evaluator="string-compare" condition="AdvancedSearch">
<advanced-search>
<!-- Forms for the advanced search type list -->
<forms>
<!--
The 'form' config element contains the name of the model type
of the form to display.
The element supports the following optional attributes:
id = form id, the id of "search" will be assumed if not set
label = label text to display - defaults to model type if not set
labelId = I18N message id of label text to display
description = description text to display
descriptionId = I18N message id of description text to display
-->
<form labelId="search.form.label.cm_content" descriptionId="search.form.desc.cm_content">cm:content</form>
<form labelId="search.form.label.cm_folder" descriptionId="search.form.desc.cm_folder">cm:folder</form>
<form label="Cierre Negocio" description="Documentos Cierre Negocio">corp:caso</form>
<form label="Pago Boleta Factura" description="Pago Boleta Factura">corpagoComisionAnticipo</form>
<form label="Documento SV4" description="Documento Rentas Vitalicias">rv:sv4</form>
</forms>
</advanced-search>
</config>
<form label="Cierre Negocio" description="Documentos de un cierre de negocio">corp:caso</form>
<form label="Pago Boleta o Factura" description="Pagos de boletas o facturas">corpagoComisionAnticipo</form>
<form label="Documento SV4" description="Documento Rentas Vitalicias">rv:sv4</form>
<config evaluator="node-type" condition="cm:content">
<forms>
<form id="doclib-simple-metadata">
<field-visibility>
<show id="corpolizaReproceso" />
<show id="corp:rutReproceso" />
<show id="corp:companiaReproceso" />
</field-visibility>
<appearance>
<field id="corpolizaReproceso" label="Poliza asociada para cargar" />
<field id="corp:rutReproceso" label="RUT asociado (sin dv) para cargar" />
<field id="corp:companiaReproceso" label="Compañia asociada para cargar" />
</appearance>
</form>
<form>
<field-visibility>
<show id="corpolizaReproceso" />
<show id="corp:rutReproceso" />
<show id="corp:companiaReproceso" />
</field-visibility>
<appearance>
<field id="corpolizaReproceso" label="Poliza asociada para cargar" />
<field id="corp:rutReproceso" label="RUT asociado (sin dv) para cargar" />
<field id="corp:companiaReproceso" label="Compañia asociada para cargar" />
</appearance>
</form>
</forms>
</config>
<config evaluator="node-type" condition="rv:sv4">
<forms>
<form>
<field-visibility>
<show id="rv:rut" />
<show id="rv:idOperacion" />
<show id="rv:descDocumento" />
<show id="rv:fu" />
<show id="rv:cajaFolio" />
<show id="rv:idOperacionRelacionada" />
<show id="rv:fechaRecepcionDocumento" />
<show id="rv:lineaProducto" />
<show id="rv:corrDocumento" />
<!--show id="rv:numRemesable" /-->
<!--show id="rv:sc" /-->
<!--show id="rvriAnexo" /-->
<!--show id="rv:actividadEspecifica" /-->
<!--show id="rv:idOperRel" /-->
<show id="rv:codDocumento" />
<show id="rv:rutBeneficiario" />
<show id="rv:tipoTramite" />
<show id="cm:creator" for-mode="view" />
<show id="cm:created" for-mode="view" />
</field-visibility>
<appearance>
<field id="rv:rut" label="RUT" />
<field id="rv:idOperacion" label="Poliza" />
<field id="rv:descDocumento" label="Tipo Documento" />
<field id="rv:idOperacionRelacionada" label="Operacion Relacionada" />
<field id="rv:fechaRecepcionDocumento" label="Fecha Recepcion" />
<field id="rv:cajaFolio" label="Caja/Folio" />
<field id="rv:lineaProducto" label="Linea Producto" />
<field id="rv:corrDocumento" label="Correlativa Documento" />
<field id="rv:numRemesable" label="Num Remesable" />
<field id="rv:fu" label="Compa&ntilde;a" />
<field id="rv:sc" label="SC" />
<field id="rvriAnexo" label="Original/Anexo" />
<field id="rv:actividadEspecifica" label="Actividad Especifica" />
<field id="rv:idOperRel" label="ID Oper. Relacionada" />
<field id="rv:codDocumento" label="Codigo Documento" />
<field id="rv:rutBeneficiario" label="RUT Beneficiario" />
<field id="rv:tipoTramite" label="Tipo de Tramite" />
</appearance>
</form>
</forms>
</config>
<config evaluator="model-type" condition="rv:sv4">
<forms>
<form id="search">
<field-visibility>
<show id="rv:rut" />
<show id="rv:idOperacion" />
</field-visibility>
<appearance>
<set id="" appearance="title" label="Documento SV4 Rentas Vitalicias" />
<field id="rv:rut" label="RUT" />
<field id="rv:idOperacion" label="Poliza" />
</appearance>
</form>
</forms>
</config>
<config evaluator="model-type" condition="corp:caso">
<forms>
<!-- Search form -->
<form id="search">
<field-visibility>
<show id="corp:rut" />
<show id="corp:numero" />
<show id="corp:numeropoliza" />
<show id="corp:foliocaja" />
<show id="corp:estado" />
</field-visibility>
<appearance>
<!--field id="myublishedDate">
<control template="/org/alfresco/components/form/controls/daterange.ftl" />
</field-->
</appearance>
</form>
</forms>
</config>
<config evaluator="model-type" condition="corpagoComisionAnticipo">
<forms>
<!-- Search form -->
<form id="search">
<field-visibility>
<show id="corp:rut" />
<show id="corp:numeropoliza" />
<show id="corp:boletaTipo" />
<show id="corp:estado" />
<show id="corp:boletaFacturaTipo" />
</field-visibility>
<appearance>
<!--field id="myublishedDate">
<control template="/org/alfresco/components/form/controls/daterange.ftl" />
</field-->
</appearance>
</form>
</forms>
</config>
<!--_node.properties["corpu"]= initiator.properties["cmrganization"];
_node.properties["corp:rut"]= corp_rut;
_node.properties["corp:estado"]=estado;
_node.properties["corp:fu"]= corp_fu;
_node.properties["corp:fechaInicioWorkflow"]=workflow.getInstance(workflowinstanceid).getStartDate();
_node.properties["corp:fechaTerminoWorkflow"]=new Date;
_node.properties["corp:instanceId"]=workflowinstanceid;
_node.properties["corp:numeropoliza"]=corp_numero;
_node.properties["corp:boletaFacturaTipo"]=corp_boletaFacturaTipo;
_node.properties["corp:boletaTipo"]=corp_boletaTipo;
_node.properties["corp:recepcionTipo"]=corp_recepcionTipo;-->
<config evaluator="node-type" condition="corpagoComisionAnticipo">
<forms>
<form>
<!--edit-form template="/fdk/templates/2-column-edit-form.ftl" /-->
<field-visibility>
<show id="cm:name" />
<show id="corp:rut" force="true" />
<show id="corp:numeropoliza" force="true" />
<show id="corp:estado" />
<show id="corp:fu" />
<show id="corp:boletaFacturaTipo" />
<show id="corp:boletaTipo" />
<show id="corp:recepcionTipo" />
<show id="corp:fecharecepcion" />
</field-visibility>
<appearance>
<field id="corp:numeropoliza" description="Numero de Poliza"/>
<field id="corp:rut" description="Rol Unico tributario"/>
<field id="corp:estado" description="VIGENTE o CANCELADO"/>
<field id="corp:fu" description="Vida o Seguros"/>
<field id="corp:boletaFacturaTipo" description="Tipo Documento"/>
<field id="corp:boletaTipo" description="Tipo"/>
<field id="corp:recepcionTipo" description="Forma de Recepcion"/>
</appearance>
</form>
</forms>
</config>
<config evaluator="node-type" condition="corp:caso">
<forms>
<form>
<!--edit-form template="/fdk/templates/2-column-edit-form.ftl" /-->
<field-visibility>
<show id="cm:name" />
<show id="corp:numero" force="true" />
<show id="corp:rut" force="true" />
<show id="corp:rentasTipo" />
<show id="cm:categories" />
<show id="corpu" />
<show id="corp:numeropoliza" />
<show id="corp:foliocaja" />
<show id="corp:fecharecepcion" />
<show id="corp:estado" />
<show id="corp:fu" />
<show id="corp:instanceId" />
<show id="corp:fechaInicioWorkflow" />
<show id="corp:fechaTerminoWorkflow" />
</field-visibility>
<appearance>
<field id="cm:categories">
<control>
<control-param name="compactMode">false</control-param>
</control>
</field>
<field id="corp:numero" description="Rentas Vitalicias - Numero SCOMP _ Rentas Privada - Numero Solicitud"/>
<field id="corp:rut" description="Rol Unico tributario"/>
<field id="corp:noderef">
<control template="/org/alfresco/components/form/controls/file.ftl" />
</field>
<field id="corpu" description="Agregue mensaje para operaciones"/>
</appearance>
</form>
</forms>
</config>
<!--bpm forms-->
<config evaluator="string-compare" condition="jbpm$corpwfolizaUI">
<forms>
<form>
<!--edit-form template="/fdk/templates/2-column-edit-form.ftl" /-->
<field-visibility>
<show id="bpm:workflowDescription" force="true" />
<show id="corp:numero" force="true" />
<show id="corp:rut" force="true" />
<show id="corp:rentasTipo" />
<show id="corp:fu" />
<show id="cm:categories" />
<show id="packageItems" />
<show id="bpm:comment" />
</field-visibility>
<appearance>
<set id="" appearance="title" label-id="workflow.set.task.info" />
<set id="info" appearance="" template="/org/alfresco/components/form/3-column-set.ftl" />
<set id="corp" appearance="title" label-id="workflow.set.corp" />
<set id="items" appearance="title" label-id="workflow.set.items" />
<field id="corp:numero" read-only="false" mandatory="true" description="Rentas Vitalicias - Numero SCOMP _ Rentas Privada - Numero Solicitud" set="corp"/>
<field id="corp:rut" read-only="false" mandatory="true" description="Rol Unico tributario" set="corp">
<constraint-handlers>
<constraint type="MANDATORY"
validation-handler="Alfresco.forms.validation.rut"
event="keyup" message-id="form.field.error.rut"/>
</constraint-handlers>
</field>
<field id="corp:rentasTipo" read-only="false" mandatory="true" description="Tipo Renta" set="corp"/>
<field id="corp:fu" read-only="false" mandatory="true" description="Vida o Seguros" set="corp"/>
<field id="packageItems" set="items" />
</appearance>
</form>
</forms>
</config>
<config evaluator="string-compare" condition="jbpm$bfwf:boletaFacturaUI">
<forms>
<form>
<!--edit-form template="/fdk/templates/2-column-edit-form.ftl" /-->
<field-visibility>
<show id="bpm:workflowDescription" force="true" />
<show id="corp:numeropoliza" force="true" />
<show id="corp:rut" force="true" />
<show id="corp:boletaTipo" />
<show id="corp:boletaFacturaTipo" />
<show id="corp:recepcionTipo" />
<show id="corp:fu" />
<show id="corp:numero" force="true" />
<show id="packageItems" />
<show id="bpm:comment" />
</field-visibility>
<appearance>
<set id="" appearance="title" label-id="workflow.set.task.info" />
<set id="info" appearance="" template="/org/alfresco/components/form/3-column-set.ftl" />
<set id="corp" appearance="title" label-id="workflow.set.corp" />
<set id="items" appearance="title" label-id="workflow.set.items" />
<field id="corp:numeropoliza" read-only="false" mandatory="true" label="Numero Poliza" set="corp"/>
<field id="corp:rut" read-only="false" mandatory="true" label="Rol Unico tributario(rut)" set="corp">
<constraint-handlers>
<constraint type="MANDATORY"
validation-handler="Alfresco.forms.validation.rut"
event="keyup" message-id="form.field.error.rut"/>
</constraint-handlers>
</field>
<field id="corp:numero" read-only="false" mandatory="true" set="corp">
<control template="/org/alfresco/components/form/controls/constant.ftl">
<control-param name="defaultValue">99999999</control-param>
</control>
</field>
<field id="corp:boletaTipo" read-only="false" mandatory="true" description="Tipo" set="corp"/>
<field id="corp:boletaFacturaTipo" read-only="false" mandatory="true" description="Boleta o Boleta" set="corp"/>
<field id="corp:recepcionTipo" read-only="false" mandatory="true" description="Recepcion Tipo" set="corp"/>
<field id="corp:fu" read-only="false" mandatory="true" description="Vida o Seguros" set="corp"/>
<field id="packageItems" set="items" />
</appearance>
</form>
</forms>
</config>
<config evaluator="task-type" condition="corpwf:evaluaEmisionPolizaTask">
<forms>
<form>
<!--edit-form template="/fdk/templates/2-column-edit-form.ftl" /-->
<field-visibility>
<show id="message" />
<show id="corp:numero" force="true" />
<show id="corp:rut" force="true" />
<show id="corp:rentasTipo" />
<show id="cm:categories" />
<show id="taskOwner" />
<show id="packageItems" />
<show id="bpm:taskId" />
<show id="corp:fu" />
<show id="bpm:comment" />
<show id="transitions" />
</field-visibility>
<appearance>
<set id="" appearance="title" label-id="workflow.set.task.info" />
<set id="info" appearance="" template="/org/alfresco/components/form/3-column-set.ftl" />
<set id="items" appearance="title" label-id="workflow.set.items" />
<set id="corp" appearance="title" label-id="workflow.set.corp" />
<set id="response" appearance="title" label-id="workflow.set.response" />
<field id="message">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:numero" read-only="true" description="Rentas Vitalicias - Numero SCOMP _ Rentas Privada - Numero Solicitud" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:rut" read-only="true" description="Rol Unico tributario" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:categories" read-only="true" description="Categorias" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:rentasTipo" read-only="true" description="Tipo Renta" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="bpm:taskId" set="info">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:fu" set="info">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="packageItems" set="items" />
<field id="bpm:comment" label-id="workflow.field.comment" set="response">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
<field id="transitions" set="response" />
</appearance>
</form>
</forms>
</config>
<config evaluator="task-type" condition="corpwf:autorizaTask">
<forms>
<form>
<!--edit-form template="/fdk/templates/2-column-edit-form.ftl" /-->
<field-visibility>
<show id="message" />
<show id="corp:numero" force="true" />
<show id="corp:rut" force="true" />
<show id="taskOwner" />
<show id="packageItems" />
<show id="bpm:taskId" />
<show id="corp:fu" />
<show id="bpm:comment" />
<show id="transitions" />
<show id="corp:foliocaja" />
<show id="corp:numeropoliza" />
<show id="corp:fecharecepcion" />
</field-visibility>
<appearance>
<set id="" appearance="title" label-id="workflow.set.task.info" />
<set id="info" appearance="" template="/org/alfresco/components/form/3-column-set.ftl" />
<set id="items" appearance="title" label-id="workflow.set.items" />
<set id="corp" appearance="title" label-id="workflow.set.corp" />
<set id="response" appearance="title" label-id="workflow.set.response" />
<field id="message">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:numero" read-only="true" description="Rentas Vitalicias - Numero SCOMP _ Rentas Privada - Numero Solicitud" set="corp"/>
<field id="corp:rut" read-only="true" description="Rol Unico tributario" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="bpm:taskId" set="info">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:foliocaja" mandatory="true" description="Folio Caja" set="corp">
<control template="/org/alfresco/components/form/controls/foliocaja.ftl" />
</field>
<field id="corp:numeropoliza" mandatory="true" description="Numero Poliza" set="corp"/>
<field id="corp:fecharecepcion" mandatory="true" description="Fecha Recepcion" set="corp"/>
<field id="corp:fu" set="info" read-only="true" description="Empresa">
</field>
<field id="packageItems" set="items" />
<field id="bpm:comment" label-id="workflow.field.comment" set="response">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
<field id="transitions" set="response" />
</appearance>
</form>
</forms>
</config>
<config evaluator="task-type" condition="corpwf:autorizaCloneTask">
<forms>
<form>
<!--edit-form template="/fdk/templates/2-column-edit-form.ftl" /-->
<field-visibility>
<show id="message" />
<show id="corp:numero" force="true" />
<show id="corp:rut" force="true" />
<show id="taskOwner" />
<show id="packageItems" />
<show id="bpm:taskId" />
<show id="corp:fu" />
<show id="bpm:comment" />
<show id="transitions" />
<show id="corp:foliocaja" />
<show id="corp:numeropoliza" />
<show id="corp:fecharecepcion" />
</field-visibility>
<appearance>
<set id="" appearance="title" label-id="workflow.set.task.info" />
<set id="info" appearance="" template="/org/alfresco/components/form/3-column-set.ftl" />
<set id="items" appearance="title" label-id="workflow.set.items" />
<set id="corp" appearance="title" label-id="workflow.set.corp" />
<set id="response" appearance="title" label-id="workflow.set.response" />
<field id="message">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:numero" read-only="true" description="Rentas Vitalicias - Numero SCOMP _ Rentas Privada - Numero Solicitud" set="corp">
</field>
<field id="corp:rut" read-only="true" description="Rol Unico tributario" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="bpm:taskId" set="info" >
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:fu" set="info" read-only="true" description="Empresa">
</field>
<field id="corp:foliocaja" mandatory="true" description="Folio Caja" set="corp">
<control template="/org/alfresco/components/form/controls/foliocaja.ftl" />
</field>
<field id="corp:numeropoliza" mandatory="true" description="Numero Poliza" set="corp"/>
<field id="corp:fecharecepcion" mandatory="true" description="Fecha Recepcion" set="corp"/>
<field id="packageItems" set="items" />
<field id="bpm:comment" label-id="workflow.field.comment" set="response">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
<field id="transitions" set="response" />
</appearance>
</form>
</forms>
</config>
<config evaluator="task-type" condition="corpwf:complementaDocumentosTask">
<forms>
<form>
<!--edit-form template="/fdk/templates/2-column-edit-form.ftl" /-->
<field-visibility>
<show id="message" />
<show id="corp:numero" force="true" />
<show id="corp:rut" force="true" />
<show id="corp:rentasTipo" />
<show id="corp:fu" />
<show id="cm:categories" />
<show id="taskOwner" />
<show id="packageItems" />
<show id="transitions" />
</field-visibility>
<appearance>
<set id="" appearance="title" label-id="workflow.set.task.info" />
<set id="info" appearance="" template="/org/alfresco/components/form/3-column-set.ftl" />
<set id="items" appearance="title" label-id="workflow.set.items" />
<set id="corp" appearance="title" label-id="workflow.set.corp" />
<set id="response" appearance="title" label-id="workflow.set.response" />
<field id="message">
</field>
<field id="corp:numero" read-only="false" mandatory="true" description="Rentas Vitalicias - Numero SCOMP _ Rentas Privada - Numero Solicitud" set="corp"/>
<field id="corp:rut" read-only="false" mandatory="true" description="Rol Unico tributario" set="corp">
<constraint-handlers>
<constraint type="MANDATORY"
validation-handler="Alfresco.forms.validation.rut"
event="keyup" message-id="form.field.error.rut"/>
</constraint-handlers>
</field>
<field id="corp:rentasTipo" read-only="false" mandatory="true" description="Tipo Renta" set="corp"/>
<field id="corp:fu" read-only="false" mandatory="true" description="Vida o Seguros" set="corp"/>
<field id="packageItems" set="items" />
<field id="transitions" set="response" />
</appearance>
</form>
</forms>
</config>
<config evaluator="task-type" condition="corpwf:evaluaCorreccionesTask">
<forms>
<form>
<!--edit-form template="/fdk/templates/2-column-edit-form.ftl" /-->
<field-visibility>
<show id="message" />
<show id="corp:numero" force="true" />
<show id="corp:rut" force="true" />
<show id="corp:rentasTipo" />
<show id="corp:fu" />
<show id="cm:categories" />
<show id="taskOwner" />
<show id="packageItems" />
<show id="bpm:taskId" />
<show id="bpm:comment" />
<show id="transitions" />
</field-visibility>
<appearance>
<set id="" appearance="title" label-id="workflow.set.task.info" />
<set id="info" appearance="" template="/org/alfresco/components/form/3-column-set.ftl" />
<set id="items" appearance="title" label-id="workflow.set.items" />
<set id="corp" appearance="title" label-id="workflow.set.corp" />
<set id="response" appearance="title" label-id="workflow.set.response" />
<field id="message">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:numero" read-only="true" description="Rentas Vitalicias - Numero SCOMP _ Rentas Privada - Numero Solicitud" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:rut" read-only="true" description="Rol Unico tributario" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:categories" read-only="true" description="Categorias" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:rentasTipo" read-only="true" description="Tipo Renta" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="bpm:taskId" set="info">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:fu" set="info">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="packageItems" set="items" />
<field id="bpm:comment" label-id="workflow.field.comment" set="response">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
<field id="transitions" set="response" />
</appearance>
</form>
</forms>
</config>
<config evaluator="task-type" condition="bfwf:evaluaBoletaFacturaTask">
<forms>
<form>
<!--edit-form template="/fdk/templates/2-column-edit-form.ftl" /-->
<field-visibility>
<show id="message" />
<show id="corp:numeropoliza" force="true" />
<show id="corp:rut" force="true" />
<show id="corp:boletaTipo" />
<show id="corp:boletaFacturaTipo" />
<show id="corp:recepcionTipo" />
<show id="corp:fu" />
<show id="packageItems" />
<show id="bpm:comment" />
<show id="transitions" />
</field-visibility>
<appearance>
<set id="" appearance="title" label-id="workflow.set.task.info" />
<set id="info" appearance="" template="/org/alfresco/components/form/3-column-set.ftl" />
<set id="items" appearance="title" label-id="workflow.set.items" />
<set id="corp" appearance="title" label-id="workflow.set.corp" />
<set id="response" appearance="title" label-id="workflow.set.response" />
<field id="message">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:numeropoliza" read-only="true" label="Numero Poliza" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:rut" read-only="true" label="Rol Unico tributario(rut)" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:boletaTipo" read-only="true" description="Tipo" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:boletaFacturaTipo" read-only="true" description="Boleta o Factura" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:recepcionTipo" read-only="true" description="Tipo Recepcion" set="corp">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="bpm:taskId" set="info">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="corp:fu" set="info">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="packageItems" set="items" />
<field id="bpm:comment" label-id="workflow.field.comment" set="response">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
<field id="transitions" set="response" />
</appearance>
</form>
</forms>
</config>
<config evaluator="task-type" condition="bfwf:correccionBoletaFacturaTask">
<forms>
<form>
<!--edit-form template="/fdk/templates/2-column-edit-form.ftl" /-->
<field-visibility>
<show id="message" />
<show id="corp:numeropoliza" force="true" />
<show id="corp:rut" force="true" />
<show id="corp:boletaTipo" />
<show id="corp:boletaFacturaTipo" />
<show id="corp:recepcionTipo" />
<show id="corp:fu" />
<show id="packageItems" />
<show id="bpm:comment" />
<show id="transitions" />
</field-visibility>
<appearance>
<set id="" appearance="title" label-id="workflow.set.task.info" />
<set id="info" appearance="" template="/org/alfresco/components/form/3-column-set.ftl" />
<set id="items" appearance="title" label-id="workflow.set.items" />
<set id="corp" appearance="title" label-id="workflow.set.corp" />
<set id="response" appearance="title" label-id="workflow.set.response" />
<field id="message">
</field>
<field id="corp:numeropoliza" read-only="false" mandatory="true" label="Numero Poliza" set="corp"/>
<field id="corp:rut" read-only="false" mandatory="true" label="Rol Unico tributario(rut)" set="corp">
<constraint-handlers>
<constraint type="MANDATORY"
validation-handler="Alfresco.forms.validation.rut"
event="keyup" message-id="form.field.error.rut"/>
</constraint-handlers>
</field>
<field id="corp:boletaTipo" read-only="false" mandatory="true" description="Tipo" set="corp"/>
<field id="corp:boletaFacturaTipo" read-only="false" mandatory="true" description="Boleta o Boleta" set="corp"/>
<field id="corp:recepcionTipo" read-only="false" mandatory="true" description="Recepcion Tipo" set="corp"/>
<field id="corp:fu" read-only="false" mandatory="true" description="Vida o Seguros" set="corp"/>
<field id="packageItems" set="items" />
<field id="transitions" set="response" />
</appearance>
</form>
</forms>
</config>
</alfresco-config>
No hace falta que pongas todo... Ahí tienes el formulario para el rv:sv4
¿Qué quieres hacer con él?
Gracias por responder Ángel, tengo dos alternativas o quitar el boton que despliega filtros o lo que seria mejor y mas elegante quitar los dos botones que he marcado en la imégen (enviar, cancelar) en la imagen, saludos y muy buenos
Desde el fin del mundo.
Esa configuración diría que está en otro sitio. Es posible que sea un template o una página a medida. ¿Qué otros módulos tienes desplegados?
Por la imagen, me parece ser este addon GitHub - deas/contentreich-alfresco-datalists: Datalist Extensions for Alfresco Share
Me parece que es como indicas, un página a medida, lo menciono por que en todas las listas de datos se despliegan, se repiten estos cuatro botones que son enviar, cancelar aplicar filtro y borra filtro, tengo un par de modelos de dato sy flujos de trabajo en la plataforma, es de una versión antigua 3.4.a que fue migrada a al último relese de la plataforma y estos componentes son nuevos, es decir las listas de datos no traen esta propiedad de filtro.
Discussions about Alfresco Content Services and Alfresco Process Services in Spanish
Related:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.