Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Angular Integration in AEM - Currentpage is not working

Avatar

Level 5

Hi Team,

 

We are currently integrating AEM with angular.

Hitting URL :

http://localhost:4502/content/my-project/us/en/home.html page at which we are including the component(i.e. getting a current page method) but its returning always en.model.json

Response:

Path: "/content/my-project/us/en.model.json" is the path given by JSON.

Expectation output: /content/my-project/us/home.model.json

Is there anything we are missing or any way to get the current page object on JSON file 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@AEMLearner-1989 I would suggest posting this question in Sites community, rather than Assets. You will get a faster response: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ct-p/adobe-experience-mana... 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@AEMLearner-1989 I would suggest posting this question in Sites community, rather than Assets. You will get a faster response: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ct-p/adobe-experience-mana...