AEM Angular SPA deeplink routing | Community
Skip to main content
September 23, 2021
Question

AEM Angular SPA deeplink routing

  • September 23, 2021
  • 1 reply
  • 698 views

Hello Guys,

I am trying to deep link routing path in AEM SPA similar to pure angular applications.The reason I need to pass some information(Id) in the URL and does'nt want to use query parameter in URL like "/testpage?id=124"

Pure Angular Routing

 { path: 'test-page/:Id', component: testComponent }
 
But the issue I see here is that AEM SPA routing is defined in dynamic way.Can we have manual routing in AEM SPA or how can we achieve the above scenario with dynamic routing or can we have a semi auto routing.
 
const routes: Routes = [
  {
    matcher: AemPageMatcher,
    component: PageComponent,
    resolve: {
      path: AemPageDataResolver
    }
  }
];
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

shan1234Author
October 1, 2021

Hello Guys,

I really appreciate if anyone have answer to my question.