Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

json exporter - Filter allowed components aem 6.5

Avatar

Level 5

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

1 Accepted Solution

Avatar

Correct answer by
Level 4
7 Replies

Avatar

Level 6

@AEMLearner-1989 

 

You want to export particular complement or  entire page which one you need to export ??

 

Regards

Manikantha R

Avatar

Level 5

Entire page but dnt wanna expose the unwanted elements like allowedcompoments to other applications.

Avatar

Level 4

Hi @AEMLearner-1989 

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.

Avatar

Correct answer by
Level 4