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

Need to read/export json of experience fragment

Avatar

Avatar
Validate 1
Level 2
berni7473
Level 2

Likes

6 likes

Total Posts

26 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
berni7473
Level 2

Likes

6 likes

Total Posts

26 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
berni7473
Level 2

21-01-2019

@@@Hi,

I am creating an experience fragment which would have two or three components. I need to get the json for components inside this experience fragment. Currently I am able to get the json details of the experience fragment but not the components inside them.

This json data needs to be passed as a service to a webapi. A service needs to be created which will get this json data in a service and via that service data will be sent to the webapi.

Can anyone please provide some pointers for the same?

1673396_pastedImage_0.png

The json for the page is as follows:

1673398_pastedImage_2.png

Regards,

Berni

Feike Vissersmacdonald2008

View Entire Topic

Avatar

Avatar
Validate 1
Level 3
sr508
Level 3

Likes

2 likes

Total Posts

51 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 3
sr508
Level 3

Likes

2 likes

Total Posts

51 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
sr508
Level 3

09-05-2019

Hi,

I tried to work as mentioned in Enabling JSON Export for a Component

I have created a experience fragment with image component from core components /apps/core/wcm/components/image/v2/image.

I have used the XF in the page
http://localhost:5002/editor.html/content/we-retail/us/en/user.html

suppose i have configured the dialog having alt text as "my test image"

now how can i get the component data as json(as if my test image in json)??

Any supported documentation would be helpful.