Hi Friends ,
Is there any ootb configuration available to filter the component exporter.
For example : http://localhost:4502/content/we-retail/us/en/men.model.json
it showing allowedComponents , gridClassNames ,columnCount etc .. I want to expose only essential items to react
Solved! Go to Solution.
Views
Replies
Total Likes
refer to this video you will see it in action.
You want to export particular complement or entire page which one you need to export ??
Regards
Manikantha R
Entire page but dnt wanna expose the unwanted elements like allowedcompoments to other applications.
their is an annotation called @JsonIgnore which is used to hide the unwanted elements in your sling model.
add this annotation to the elements which you don't want to expose.
thanks.
i got solution..Thank you
How you achieved this ??
refer to this video you will see it in action.
Hi @AEMLearner-1989,
You can use Jackson Annotation @JsonIgnore for that. Please find the detailed article regarding this.
http://www.sgaemsolutions.com/2017/06/sling-model-exporter-in-aem-63.html
Regards,
Santosh
Views
Likes
Replies
Views
Likes
Replies