Skip to main content
info

Search forms are pre-configured templates made available to end users.

Presentation

A search form allows you to fully configure a search screen. These are associated with scope teams to personalize the display presented to the user.


Example: A basic AgentSearch search form with the title Agent file search with description

<bean id="RechercheAgent" class="com.flower.docs.gui.client.search.ComponentSearchPresenter" scope="prototype">
<property name="title">
<list>
<bean class="com.flower.docs.domain.i18n.I18NLabel">
<property name="language" value="EN"/>
<property name="value" value="Agent folder search"/>
</bean>
<bean class="com.flower.docs.domain.i18n.I18NLabel">
<property name="language" value="FR"/>
<property name="value" value="Rechercher de dossier agent"/>
</bean>
</list>
</property>
<property name="description">
<list>
<bean class="com.flower.docs.domain.i18n.I18NLabel">
<property name="language" value="EN"/>
<property name="value" value="Do not fill criteria to find all agent folders"/>
</bean>
<bean class="com.flower.docs.domain.i18n.I18NLabel">
<property name="language" value="FR"/>
<property name="value" value="Ne remplissez aucun critère pour retrouver l'ensemble des dossiers agents"/>
</bean>
</list>
</property>
</bean>

Define access

Link a search form to a user team via:

  • the CLM and the scope.xml file:
    Team example
<profiles>
<name>ALL_USERS</name>
<Description>User profile</Description>
<principals>ou=users,dc=arondor,dc=com</principals>
<properties>
<ns3:name>search.template</ns3:name>
<ns3:value>RechercheAgent(fr=Agent search,en=Agent search)</ns3:value>
</properties>
</profiles>

:::

  • the administration console: in the Security > Teams > Properties section, add a Search form property

This property has the following value: &lt;identifiant&gt;(&lt;language&gt;=&lt;label&gt;,&lt;language2&gt;=&lt;label2&gt;) for example template_id(fr=Label de formulaire,en=form label)


info

If no label is entered, the title from the search form will be used.