Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to make use of "Items load path" for dropdown list in AEM 6 form

Avatar

Avatar
Validate 10
Level 1
bhaarats4680380
Level 1

Likes

2 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 1
View profile

Avatar
Validate 10
Level 1
bhaarats4680380
Level 1

Likes

2 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 1
View profile
bhaarats4680380
Level 1

15-10-2015

While creating a dropdown list in my form I noticed a field called "Items Load Path". Can this field be used to provide a url from which it loads the options available in a dropdown list? 

Where would the URL reside, and how can I put values in that URL? Can someone please show an example? 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 2
urs_h_
Level 2

Likes

5 likes

Total Posts

42 posts

Correct Reply

6 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 5
View profile

Avatar
Validate 1
Level 2
urs_h_
Level 2

Likes

5 likes

Total Posts

42 posts

Correct Reply

6 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 5
View profile
urs_h_
Level 2

15-12-2015

Hi

I've had the same problem recently. I could solve like this:

1) in CRX create a node with property 'jcr:primaryType' = 'sling:Folder' (let's call it 'xy-lookup-list')

2) add a multi string property containing the key-value-pairs to the newly created node. The property name (let's call it 'xy-lookup-values') will be part of the loading path. A key-value pair looks like this 'keyXY=valueXY'.

3) specify the crx path as loading path in the dialog of the widget that shall use the lookup value. The loadpath is a 'crx' path like '/content/dam/.../xy-lookup-list/xy-lookup-values'. Make sure the last two elements of the path are the names of the node and the attribute.

Following explanation helped me: http://stackoverflow.com/questions/29847445/how-to-use-items-load-path-in-dropdown-list-of-aem-form

Hope this helps

Answers (1)

Answers (1)

Avatar

Avatar
Validate 10
Level 2
SurendraKonatha
Level 2

Likes

5 likes

Total Posts

63 posts

Correct Reply

6 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
SurendraKonatha
Level 2

Likes

5 likes

Total Posts

63 posts

Correct Reply

6 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile
SurendraKonatha
Level 2

02-11-2015

I'm trying to do the same.. but not able to get a solutionusing the default "DropdownList" under "Forms"

If we use the component used in Adaptive Forms (GuideDropDownList - /libs/fd/af/components/guidedropdownlist ) this example works: https://helpx.adobe.com/aem-forms/6/dynamically-populate-dropdowns.html