Skip to main content
Nitin_laad
Community Advisor
Community Advisor
Jun 14, 2019 6:50 PM UTC
Solved

Asset Metadata - auto complete text field

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.
arunpatidar
arunpatidarAccepted solution
Community Advisor
Jun 17, 2019 1:55 PM UTC

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

4 replies

arunpatidar
Community Advisor
Community Advisor
Jun 15, 2019 1:34 PM UTC
Nitin_laad
Community Advisor
Community Advisor
Jun 17, 2019 1:23 PM UTC

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.

Translate
arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
Jun 17, 2019 1:55 PM UTC

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

Translate
Arun Patidar
Nitin_laad
Community Advisor
Community Advisor
Jun 18, 2019 2:32 PM UTC

Thank Arun,

Translate