1

I need to filter alfresco-issues by "creator name" (and other fields too). Currently the filter form already contains information about cm:creator and cm:modifier but in order to query the DB you have to specify the relative creator ID. Instead I want to specify the "username" for "creator".

Following the original filter form:

<field id="cm:creator" set="normal" mandatory="false">
    <control template="/org/alfresco/components/form/controls/textfield.ftl">
        <control-param name="forceEditable">true</control-param>
        <control-param name="style">width:250px</control-param>
    </control>
</field>

I tried both people-finder.get.html.ftl and authority-finder.get.html.ftl but they are not my case. Following what I tried to do:

<field id="dl:issueCreatorFullName" set="normal">
    <control template="/org/alfresco/components/people-finder/authority-finder.get.html.ftl">
        <control-param name="style">width:250px</control-param>
        <control-param name="forceEditable">true</control-param>
    </control>
</field>

Does someone have any idea of which controller I could use ? Any suggestion about how to write a custom-controller if needed ? There is another solution to do that ? E.G. some kind of association or other cm: object that can refer to the creator name ?

Filburt
  • 17,626
  • 12
  • 64
  • 115
Giuseppe Adaldo
  • 295
  • 3
  • 16

0 Answers0