05-16-2016 11:58 AM
<config evaluator="model-type" condition="mioform">
<forms>
<!– Search form –>
<form id="search">
<field-visibility>
<show id="abc:campo1" force="true" />
<show id="abc:campo2" force="true" />
</field-visibility>
</form>
</forms>
</config>
05-17-2016 01:50 PM
<config evaluator="aspect" condition="abc:form1">
<forms>
<!– Search form –>
<form id="search">
<field-visibility>
<show id="abc:campo1" force="true" />
<show id="abc:campo2" force="true" />
</field-visibility>
</form>
</forms>
</config>
05-18-2016 06:28 AM
<config evaluator="model-type" condition="abc:form2">
<forms>
<!– Search form –>
<form id="search">
<field-visibility>
<show id="abc:campo3" force="true" />
<show id="abc:campo1" force="true" />
<show id="abc:campo2" force="true" />
</field-visibility>
</form>
</forms>
</config>
…………….
<form label="form1" id="search" description="ricerca form1 ">abc:form2</form>
…………………….
<config evaluator="model-type" condition="abc:form1">
<forms>
<!– Search form –>
<form id="search">
<field-visibility>
<show id="abc:campo1" force="true" />
<show id="abc:campo2" force="true" />
</field-visibility>
</form>
</forms>
</config>
…………….
<form label="form1" id="search" description="ricerca form1 ">abc:form1</form>
…………………….
05-18-2016 07:11 AM
<config evaluator="aspect" condition="abc:form1">
…
<config evaluator="model-type" condition="abc:form1">
<forms>
<!– Search form –>
<form id="search">
<field-visibility>
<show id="abc:campo1" force="true" />
<show id="abc:campo2" force="true" />
</field-visibility>
</form>
</forms>
</config>
…………….
<form label="form1" id="search" description="ricerca form1 ">abc:form1</form>
…………………….
05-19-2016 05:11 AM
05-19-2016 05:51 AM
<config 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="form2" id="search2" description="ricerca form2">abc:form2</form>
<form label="form1" id="search1" description="ricerca form1">abc:form1</form>
</forms>
</advanced-search>
</config>
<config evaluator="model-type" condition="abc:form2">
<forms>
<!– Search form –>
<form id="search2">
<field-visibility>
<show id="abc:campo3" force="true" />
</field-visibility>
</form>
</forms>
</config>
<config evaluator="aspect" condition="abc:form1">
<forms>
<!– Search form –>
<form id="search1">
<field-visibility>
<show id="abc:campo1" force="true" />
<show id="abc:campo2" force="true" />
</field-visibility>
</form>
</forms>
</config>
05-23-2016 09:56 AM
10-25-2016 05:03 AM
Good Morning steven.okennedy _
I tried a lot to configure my advanced search using the link that you provide. But I always get the same error. Alfresco can't render a non type form. Could you get sucess using this solution? You make any example that work? Maybe I have some error.
I really really appreciate you help in this case.
Best Regards,
Vladimir.
10-25-2016 05:31 AM
The error on UI is: Form definition could not be found
and logs: ERROR [scripts.forms.FormUIGet] [http-apr-8080-exec-4] org.alfresco.repo.forms.FormNotFoundException: 09250001 A form could not be found for item: [type]hip:docMetaData
10-25-2016 05:38 AM
I read more carefully and see a lot of changes to do Please don't consider my question before. This solution require a very large time and experience developing in alfresco.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.