Sling Model exporter for Layout Container | Community
Skip to main content
March 31, 2021
Question

Sling Model exporter for Layout Container

  • March 31, 2021
  • 1 reply
  • 928 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Shashi_Mulugu
Community Advisor
Community Advisor
April 2, 2021

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

April 6, 2021

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