Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

SDI (Sling Dynamic Include) in SPA

Avatar

Level 2

The page related data flow via .model.json. How can we let mode.json know that load a particular component json on each request ?

 

Use Case : want to hide/ unhide a particular component on a page for a group(CUG).

 

Can we still map a component with AEM component that has html file (HTL) and also have react rendering mechanism in react component so that HTL file adds data attribute from model and react component reads that. 

 

What could be possible solution with SPA for dynamic rendering of a component ?

1. In the initial page request add a session cookie that has information on what component logged In user can access ?

2. Create an API that can be called before page rendering. But I believe this would add page lag.

3. SDI

4. ?

 

Thanks

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies