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

sathya_prakasha
Level 5
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
kalyan_maverick
Correct answer by
Level 3
Level 3
7 Replies
manikanthar1295
Level 5
Level 5

@sathya_prakasha 

 

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

 

Regards

Manikantha R

sathya_prakasha
Level 5
Level 5

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

kalyan_maverick
Level 3
Level 3

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.

kalyan_maverick
Correct answer by
Level 3
Level 3