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
BedrockMission!

Learn more

View all

Sign in to view all badges

Sling Model exporter for Layout Container

parakhmahe
Level 1
Level 1

Hi,

We are using OOB responsive Grid along with a customized responsive grid.

The only customization is a dialog which has been added , and a Sling Model Exporter.

ParentNode -- ResponsiveGrid (OOB)

Child Nodes -- Node 1, node 2, Custom Responsive Grid

 

Request :- parentNode.model.json

Response Expected:-

OOB JSON + Custom Exporter JSON

Response Rendered :-

OOB JSON 

 

Custom Responsive Grid Details  :-

1) resource:superType is OOB Responsive Grid

2) Has a Sling model Exporter attached

 

Requirement :- On invoking parentNode.model.json (the OOB Responsive Grid), while rendering the custom responsive Grid, should ideally delegate to the Custom Exporter, which could render the customized response.

 

Is there a way to achieve this, any configuration which could be missing

2 Replies
Shashi_Mulugu
Community Advisor
Community Advisor

@parakhmahe Please add OOTB responsive grid resourcetype also to your Custom Sling model resourcetype.

parakhmahe
Level 1
Level 1

ParentNode -- ResponsiveGrid (OOB)

Child Nodes -- Node 1, node 2, Custom Responsive Grid

 

Custom Responsive Grid Details  :-

1) resource:superType is OOB Responsive Grid

2) Has a Sling model Exporter attached

 

Problem Statement :-

1) request Parentnode.model.json 

Gives OOB JSON

2) Request custom responsive Grid .model.json

Gives Customized Exporter JSON

 

Requirement :- On invoking parentNode.model.json (the OOB Responsive Grid), while rendering the custom responsive Grid, it should ideally delegate to the Custom Exporter.

 

Response Expected:-

OOB JSON + Custom Exporter JSON

 

Response Rendered :-

OOB JSON