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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

google autocomplete address

Avatar

Level 2

Hi, I created a google autocomplete address component under apps folder. when I add the same component under content folder of any other project and dragon drop it, the suggestion does not work.I can only see the form, suggestion doesnt work!!

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi,

we can achieve it as stated below" 

    Google provide sample to do so.

    This problem is same as using third party java-script plugins in AEM.

    Link [0]:- https://helpx.adobe.com/experience-manager/using/custom-carousel-components.html

    // Creating Custom Carousel components for Adobe Experience Manager

    Google Javascript Code:- https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

    So just add this section in in the [0] and you will get what you are asking for.

Can you also let us know, what do you mean by "when I add the same component under content folder of any other project and dragon drop it" ? Also are you getting some browser errors?

~kautuk

2 Replies

Avatar

Correct answer by
Administrator

Hi,

we can achieve it as stated below" 

    Google provide sample to do so.

    This problem is same as using third party java-script plugins in AEM.

    Link [0]:- https://helpx.adobe.com/experience-manager/using/custom-carousel-components.html

    // Creating Custom Carousel components for Adobe Experience Manager

    Google Javascript Code:- https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

    So just add this section in in the [0] and you will get what you are asking for.

Can you also let us know, what do you mean by "when I add the same component under content folder of any other project and dragon drop it" ? Also are you getting some browser errors?

~kautuk

Avatar

Administrator

Did this help you ?

~kautuk