Asset Metadata - auto complete text field

Avatar

Avatar

nitinjl

Avatar

nitinjl

nitinjl

14-06-2019

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

17-06-2019

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

Answers (3)

Answers (3)

Avatar

Avatar

nitinjl

Avatar

nitinjl

nitinjl

18-06-2019

Thank Arun,

Avatar

Avatar

nitinjl

Avatar

nitinjl

nitinjl

17-06-2019

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

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

15-06-2019