add global js and css to global header | Community
Skip to main content
New Participant
Feb 12, 2023 10:23 AM UTC
Solved

add global js and css to global header

My project have a global header

 

Used to display user login status or cart status

 

We want to get the user's status from our server when the page is loaded

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Umesh_Thakur
Umesh_ThakurAccepted solution
New Participant
Feb 13, 2023 4:15 AM UTC

for this you can take help from Sling Dynamic Include for your global header.

Hope this helps

Umesh Thakur

4 replies

Jagadeesh_Prakash
New Participant
Feb 13, 2023 7:05 AM UTC
New Participant
Feb 13, 2023 7:38 AM UTC

If I want to load a global external js in the AEM project, can I use Sling Dynamic

 

Translate
Umesh_Thakur
Umesh_ThakurAccepted solution
New Participant
Feb 13, 2023 4:15 AM UTC

for this you can take help from Sling Dynamic Include for your global header.

Hope this helps

Umesh Thakur

Translate
New Participant
Feb 13, 2023 7:39 AM UTC

If I want to load a global external js in the AEM project, can I use Sling Dynamic

Translate