Expand my Community achievements bar.

SOLVED

Asset Metadata - auto complete text field

Avatar

Community Advisor

Hi,

Requirement is to have a auto-complete text field in Asset metadata editor to enter user name.

Author should be able to enter user id/name, which gets validated against external user list in LDAP and show suggestion list with  available users.

Ex - Author enter text string as "adm", he will get list of the usernames start with "adm".

(External users - users who are not in AEM user list).

AEM provides Authrizable field, but it is limited to AEM internal users.

/libs/granite/ui/components/coral/foundation/authorizable

AEM 6.4 (SP-4)

Example -

example-field.JPG

Any suggestions/examples please.

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

you can use Autocomplete field e.g. with custom datasource which pull the users from AEM and LDAP(if user can be expose by service etc.)

Autocomplete — Granite UI 1.0 documentation

Datasource — Granite UI 1.0 documentation



Arun Patidar

View solution in original post

4 Replies

Avatar

Community Advisor

Thanks Arun,  but not able to connect the dots. can you please explain it further how given link will help me out to achieve given use case.

Avatar

Correct answer by
Community Advisor

you can use Autocomplete field e.g. with custom datasource which pull the users from AEM and LDAP(if user can be expose by service etc.)

Autocomplete — Granite UI 1.0 documentation

Datasource — Granite UI 1.0 documentation



Arun Patidar