Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

@sathya_prakasha 

 

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 @sathya_prakasha 

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