Asset Metadata - auto complete text field | Community
Skip to main content
Nitin_laad
Community Advisor
Community Advisor
June 14, 2019
Solved

Asset Metadata - auto complete text field

  • June 14, 2019
  • 4 replies
  • 2302 views

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 -

Any suggestions/examples please.

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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

4 replies

arunpatidar
Community Advisor
Community Advisor
June 15, 2019
Nitin_laad
Community Advisor
Community Advisor
June 17, 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.

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
June 17, 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

Arun Patidar
Nitin_laad
Community Advisor
Community Advisor
June 18, 2019

Thank Arun,