Page version difference highlighting in AEM SPA project | Community
Skip to main content
Level 2
October 12, 2022
Solved

Page version difference highlighting in AEM SPA project

  • October 12, 2022
  • 1 reply
  • 724 views

So here if you see highlighting option is working for normal projects and we are not able to see/add the CSS classes being added at SPA page difference while comparing versions. Is there any work around for this or could any one plz suggest any other ways to enable this.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by lukasz-m

Hi @sallewar1,

According to official documentation Page diff functionality is not supporting SPA, but also some dynamic components that heavily use JS or retrieving data/content via Ajax calls.

It is not possible to enable Page diff to be supported in SPA, due to the way how Page diff functionality has been deigned. I do not think there is any simple workaround, probably the only way will be to customize Page diff functionality, which in general could be difficult and is not recommended, as most likely will require customization of some core mechanism.

1 reply

lukasz-m
Community Advisor
lukasz-mCommunity AdvisorAccepted solution
Community Advisor
October 15, 2022

Hi @sallewar1,

According to official documentation Page diff functionality is not supporting SPA, but also some dynamic components that heavily use JS or retrieving data/content via Ajax calls.

It is not possible to enable Page diff to be supported in SPA, due to the way how Page diff functionality has been deigned. I do not think there is any simple workaround, probably the only way will be to customize Page diff functionality, which in general could be difficult and is not recommended, as most likely will require customization of some core mechanism.

sallewar1Author
Level 2
October 17, 2022

Thanks a lot!