cancel
Showing results for 
Search instead for 
Did you mean: 

People Picker using Aikau in Alfresco5.0c(community)

ashwinis
Champ in-the-making
Champ in-the-making
How to pick a people using Aikau, like documentPicker is there any specific widgets do i need to use?
I referred the datalist example given by Dave, during the new item creation i want to add the assignee and persist in the repository.
How can I achieve this?
Thanks in advance.
4 REPLIES 4

ddraper
World-Class Innovator
World-Class Innovator
Currently there is no dedicated person picker widget in Aikau (because it hasn't yet been required for a product feature). However, it should be possible to build your own by configuring the SimplePicker (currently only available in nightly builds) … see this blog post: http://blogs.alfresco.com/wp/developer/2014/10/31/aikau-simple-picker-updates/

Essentially you just need to configure it to use an API that returns the available users. Use the WebScripts /service/index page to find a suitable REST API to call.

ashwinis
Champ in-the-making
Champ in-the-making
Thank you!
Yes, i tried to use SimplePicker to display and pick users.
But the result will just display in the open, when there are n- number of users its not good to display on the page.
So i was trying to achieve how we have in earlier versions of alfresco, having Search button with text box, then adding user.
(Which means i should use Dialog Request to get pop window i guess in Aikau)
Is it possible to achieve in such way?

ddraper
World-Class Innovator
World-Class Innovator
A specific people picker as you describe is something that we'll no doubt add in time… however, there wasn't a feature that required it for 5.0 so it wasn't created. We typically just create widgets as they are required for product features, although there are other prototype widgets available such as the SimplePicker.

At the moment, if you want to create the people picker as you describe then you'll need to create it yourself.

ashwinis
Champ in-the-making
Champ in-the-making
Thanks