0

I'm using Alfresco Community 5.0.d and I trying to change the search picker result of workflow assignee.

Let me know how to achieve this.

Refer to below screenshot.

workflow assignee search

I want to change the search result coming in this picker.

Please let me know the file that refer to this or how to change the search result.

Thanks!

nikhil84
  • 3,235
  • 4
  • 22
  • 43

2 Answers2

0

This Result coming from pickerchildren.get.js which is reside inside /alfresco-remote-api-5.1.f\alfresco\templates\webscripts\org\alfresco\repository\forms\

Sanjay
  • 2,481
  • 1
  • 13
  • 28
  • How to filter the search result ? Any heads up? – nikhil84 Feb 08 '17 at 15:43
  • which type of filtering need in search result? – Sanjay Feb 09 '17 at 06:41
  • filtering based on site-a member can see only site-a member. – nikhil84 Feb 10 '17 at 10:19
  • how would you identify that workflow is from particular site? – Sanjay Feb 10 '17 at 10:54
  • from people I could get their details and based on those details I could filter the out result. Then pass on the final result to be shown in workflow assignee. – nikhil84 Feb 12 '17 at 14:34
  • how to override this file? as when I put the debugger keyword I'm not able to get the breakpoint in site? Thanks. – nikhil84 Feb 16 '17 at 18:34
  • create same path of file in your project and place that file with your changes. – Sanjay Feb 27 '17 at 04:39
  • I have created this path and copied the file over there but not able to log anything (using logger.log() to check the logs on alfresco.log). Path is /Applications/alfresco-5.0.d/tomcat/shared/classes/alfresco/extension/templates/webscripts/org/alfresco/repository/forms/pickerresults.lib.js – nikhil84 Feb 28 '17 at 16:08
  • are you using eclips with sdk for development? – Sanjay Mar 01 '17 at 04:45
  • i am suggesting that try to use eclips with sdk for development.it will be easy for development and to create structure for project. – Sanjay Mar 02 '17 at 04:15
  • When I try to search for some files in sdk then I'm not able to search. Could you share a blog or article to do so. – nikhil84 Mar 02 '17 at 14:58
  • 1
    sdk provide base for development.you it's not include all the files expect required files.for development you have to override or need to create file. https://www.youtube.com/watch?v=utYZaVe9Nd0 – Sanjay Mar 04 '17 at 07:07
0

you will find this ftl at location.

<<alfresco-hmoe>>\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\form\controls\authority.ftl
Vikash Patel
  • 1,328
  • 9
  • 28
  • .ftl is not the file type I'm looking for as I want to manipulate the search result. If you have a suggestion or anything then let me know. – nikhil84 Feb 08 '17 at 15:44
  • you can override this file. and if you wanted to view the list of particular group's member so you can do it. – Vikash Patel Feb 08 '17 at 15:51
  • I want to filter the result on basis of the organization and group. – nikhil84 Feb 08 '17 at 16:04
  • yes, you can refer this douglas's https://github.com/douglascrp/alfresco-group-member-control – Vikash Patel Feb 09 '17 at 04:20
  • thank you for the link but that targets to the group where else I'm not creating any groups in alfresco. So I get result of people like in people-finder which also provide the details of the people so from that I use that information to filter the people. – nikhil84 Feb 14 '17 at 16:44
  • Also in the link it does not clarify of how to use it? like which needs to modify or how to integrate the changes to existing alfresco from his github repo? – nikhil84 Feb 14 '17 at 17:15
  • how could I achieve to show list of a particular group's member? Could you share the steps? – nikhil84 Mar 20 '17 at 11:39