extending core component data layer #1829
Unanswered
avitripathy01
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is there a way to extend the core components data layer attributes ? For e.g. currently the Page component has default attributes below.
How could I extend to add more attributes to the page object in the data layer ?
My initial thought was to override the getComponentData() in the sling model using a custom PageDataBuilder wrapping the core component PageDataBuilder but the parent class GenericDataBuilder is not public either.
Any guidance on how to achieve the above requirement?
Beta Was this translation helpful? Give feedback.
All reactions