Expand my Community achievements bar.

SOLVED

Problem with data in component

Avatar

Level 1

Data of components are visible in HomePage, but not in SubPages when including component using data-sly-resource. Any idea?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Please see the documentation on data elements here. Specifically, the section on persistence for data elements might help if you are only seeing the value of the data element on the home page and not on subpages.

Please let us know if you have further questions.

Cheers,
Jantzen

View solution in original post

2 Replies

Avatar

Level 10

Hi,

Can you give us more info around your question? I'm not sure I understand what you're asking. Are you referring to a data element being available on the home page but not on other pages?

Thanks,
Jantzen

Avatar

Correct answer by
Level 10

Hi,

Please see the documentation on data elements here. Specifically, the section on persistence for data elements might help if you are only seeing the value of the data element on the home page and not on subpages.

Please let us know if you have further questions.

Cheers,
Jantzen