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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Render list of tiles from one component to another component.

kaushik-Datta
Level 2
Level 2

Recently encountered with below question. please let me know what can be done.

Developer needs to create a new component called component 'X'. Component 'X' must show a list of all components that all have a resource type of existing Component 'Y'. Component 'X' must render this list of tiles for each Component 'Y' where tile rendering is different from default one. The list of rendered tiles must be reusable by future new components. How should the developer implement this functionality ?

Thanks in advance !

1 Accepted Solution
Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

Create a new component called component 'X' with dialog to configure page rootpath/path, max number of results, list type.

for reference check we-retail list component.

View solution in original post

2 Replies
Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

Create a new component called component 'X' with dialog to configure page rootpath/path, max number of results, list type.

for reference check we-retail list component.

View solution in original post

Sam205505050
Level 6
Level 6

The component X should render the component Y using data-sly-resource and pass selector for  rendering is different tile. 

See the Core carousel / Tabs component.

 

@Arun_Patidar the list component does not have the above functionality(allow another component ) as described.