since ‎08-03-2018
‎10-12-2019
narendran631169
Level 2
Re: Page Model Json having issue to retrieve child nodes(Multifield items)
Avatar

narendran631169

narendran631169
- Adobe Experience Manager
Yes, there are ways. I want to know if Sling Model supports the way I was trying to achieve and not that I am missing some thing.

Views

7.1K

Likes

0

Replies

2
Re: Page Model Json having issue to retrieve child nodes(Multifield items)
Avatar

narendran631169

narendran631169
- Adobe Experience Manager
smacdonald2008​Yes, I want this JSON to be passed to Front END to render the experience.

Views

7.1K

Likes

0

Replies

1
Re: Page Model Json having issue to retrieve child nodes(Multifield items)
Avatar

narendran631169

narendran631169
- Adobe Experience Manager
smacdonald2008​Thanks for the reply. I tried this way initially and I still see the same output. I am not trying to iterate the values in a html. I want the JSON response of that multifield component with values inside it. When I did page.model.json, I see the below JSON response. And I have only one component multifield on the page.{"title": "HomePage","lastModifiedDate": 1525322551215,"templateName": "content-page","cssClassNames": "page basicpage","language": "en",":items": {"root": {"gridCla...

Views

3.9K

Like

1

Replies

8
Re: Page Model Json having issue to retrieve child nodes(Multifield items)
Avatar

narendran631169

narendran631169
- Adobe Experience Manager
Hi Veena,Go to any page which is ootb, and then hit model.json. For ex: http://localhost:4502/content/we-retail/us/en.model.json. If you check this Page Json, you see all the components that are being used on that page which is expected. Now create any composite multifield component and drop it on the page as I did in my original post. It is not needed to be complex. Just have a multifield with two fields, 1) Text and 2) path field.Now drop the same component on the same en.html page and try to ...

Views

3.9K

Likes

0

Replies

5
Re: Page Model Json having issue to retrieve child nodes(Multifield items)
Avatar

narendran631169

narendran631169
- Adobe Experience Manager
@Hemant,then what is the purpose of having Sling Models and exporter framework ? I want to use sling models to retrieve specific fields using sling models.

Views

3.9K

Likes

0

Replies

10
Page Model Json having issue to retrieve child nodes(Multifield items)
Avatar

narendran631169

narendran631169
- Adobe Experience Manager
When I am trying to access the page model json, I see just the sling resource type component name and not the exact node values. I tried different ways and when I say .model.json, it always returns the nodes that are at first level. Child nodes are not being retrieved. To explain it better see the following JSON response."productlist": {"columnClassNames": "aem-GridColumn aem-GridColumn--default--12",":type": "demo/components/content/productlist","headlineText": "Product List"} if you see the ab...

Views

5.0K

Likes

3

Replies

20
Re: Inject child nodes that were created by eaem-nested="NODE_STORE" in a Sling Model
Avatar

narendran631169

narendran631169
- Adobe Experience Manager
Hi Diogo,Did you find any solution ? I was trying to do the same but a little bit different. When I am trying to access the page model json, I see just the sling resource type component name and not the exact node values. I tried different ways and when I say .model.json, it always returns the nodes that are at first level. Child nodes are not being retrieved. To explain it better see the following JSON response."productlist": {"columnClassNames": "aem-GridColumn aem-GridColumn--default--12",":t...

Views

1.4K

Likes

0

Replies

1
Likes from