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

Selected Language in Blueprint

sunitac2231600
Level 4
Level 4

Hi All,

I have a requirement that whatever language will be selected in blueprint, I will get the JCR property for that language in my java class, as shown in below screenshot.

Can anybody have that code.

6 Replies
bsloki
Community Advisor
Community Advisor

Can you explain little more on your requirement and usecase ?

sunitac2231600
Level 4
Level 4

Hi All,

Actually my requirement and use case is as below.

I created my website by using Geometrixx Site blueprint, as shown in below screenshot.

After that Template of the respective language is coming one level below to the websites, as shown in bleow Screenshot.

NOTE : - Please see the below screenshot to be more clear.

So My Requirement is that template should come one level up, as shown in above screenshot.

Thanks

Sonu

bsloki
Community Advisor
Community Advisor

Problem is , you are creating 'language node' as a live copy.

Essentially, 'Sunita Test Website' should be your live copy of Geometrixx site and Select the languages you need 

bsloki
Community Advisor
Community Advisor

Steps to follow

1. Goto /siteadmin

2. Select root node ''/' and click on New > New Site

3. Give a site name and select 'Geometrixx Site' blueprint

4. Select the languages you need

5. Select the top level pages and click finish

Site will be created as the live copy of the geometrixx site blueprint

PFA the screenshot

sunitac2231600
Level 4
Level 4

Hi Lokesh,

Thanks for your help.

But our requirement is that the template should come one level up when we are creating site like above in my screenshots.

Is that I need to overwrite the OOTB code for this?

bsloki
Community Advisor
Community Advisor

what do you mean by 1 level up.. If you see my screen shot, you have the language node with the template one level up !