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

Create Multi Region/Country site in AEM 6.5

Avatar

Avatar
Applaud 5
Level 1
Heena91
Level 1

Likes

0 likes

Total Posts

35 posts

Correct Reply

0 solutions
Top badges earned
Applaud 5
View profile

Avatar
Applaud 5
Level 1
Heena91
Level 1

Likes

0 likes

Total Posts

35 posts

Correct Reply

0 solutions
Top badges earned
Applaud 5
View profile
Heena91
Level 1

05-04-2021

Hi All,

 

I want to add functionality in AEM site where we can select the one country from provided different options and based on the country selected, site data will change. Screenshot given below for reference.

 

Heena91_0-1617607751532.png

 

Thanks in Advance !

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
Level 4
Rohit_Utreja
Level 4

Likes

42 likes

Total Posts

44 posts

Correct Reply

15 solutions
Top badges earned
Establish
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Establish
Level 4
Rohit_Utreja
Level 4

Likes

42 likes

Total Posts

44 posts

Correct Reply

15 solutions
Top badges earned
Establish
Give Back 3
Give Back
Boost 5
Boost 3
View profile
Rohit_Utreja
Level 4

05-04-2021

Hi @Heena91,

 

If you are using only one DNS then it can be achieved by providing different URLs at the country dropdown.

Let's say, 

USA: www.abc.com/us_en.html

India: www.abc.com/in_en.html

 

So in the dropdown, the USA will have a respective link as mentioned above and the same for India and other countries.

 

Other than that, if you don't want the URL to be changed, everything depends on the dropdown values, then you can utilise AEM personalization.

https://experienceleague.adobe.com/docs/experience-manager-64/authoring/personalization/personalizat...

 

 

 

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
Level 6
KiranVedantam1992
Level 6

Likes

150 likes

Total Posts

155 posts

Correct Reply

44 solutions
Top badges earned
Validate 1
Establish
Give Back 3
Give Back
Boost 50
View profile

Avatar
Validate 1
Level 6
KiranVedantam1992
Level 6

Likes

150 likes

Total Posts

155 posts

Correct Reply

44 solutions
Top badges earned
Validate 1
Establish
Give Back 3
Give Back
Boost 50
View profile
KiranVedantam1992
Level 6

05-04-2021

Hi @Heena91,

 

On the header of your page, you can create a country selector option. Here, you can give an option to author the country name, icon, and URL to the authors.

 

In the model, fetch the values, loop the list, and display them.

 

You can use the core AEM component: https://www.aemcomponents.dev/content/core-components-examples/library/templating/language-navigatio...

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

Avatar

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

373 likes

Total Posts

479 posts

Correct Reply

133 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

373 likes

Total Posts

479 posts

Correct Reply

133 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
Level 10

05-04-2021

Hi @Heena91 

You can build a custom component on your website which can either read the multi locale values from your website i.e. en_us, en_ca, fr_ca, an so on.... and populate the home page URL on the HTL or you can make it as a simple list where you can author the Country Label, Logo/icon and the corresponding home page url which then can be populated as a list item on the page. Now when an user will click on the respective link/label, they will be redirected back to their respective home page and the content can be loaded.

 

Hope this helps!

Thanks!