Projet

General

Profil

Filters in Project

Ajouté par Alex Alex il y a plus de 6 ans

Hello, I am using alfresco 5.2.e and beCPG 2.2.0.
I created new project and it includes such dataList as Properties, Tasks, Activities, Budget.

And in list Tasks I have a filter. And I want to add StartDate field to this filter.
In file alfresco-community\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\becpg-project-core\model\projectModel.xml I
found <type name="pjt:taskList"> and property <property name="pjt:tlStart">
I set index enabled to true.
Then in file alfresco-community\tomcat\webapps\share\WEB-INF\classes\alfresco\forms\becpg-project-form-config.xml
in <config condition="pjt:taskList" evaluator="model-type"> I found form id filter and add <show id="pjt:tlStart" />
to <field-visibility>. And in <appearance> add
<field id="pjt:tlStart">
<control template="/org/alfresco/components/form/controls/date.ftl" />
</field>
After all I can see my new field on filter form, but it doesn't work. I choose 14.09.2017 in this field but it displays no records,
but without filter I have tasks with such startDate.
What I do wrong?


Réponses (1)

RE: Filters in Project - Ajouté par Alex Alex il y a plus de 6 ans

It's ok, I solved my problem.

    (1-1/1)