Posted: 7 Jun 2018 3:53 EDT Last activity: 11 Jun 2018 5:07 EDT
Display and hide sections in main area on selecting and deselecting respectively the section names through checkbox in side bar of column layout
We have a requirement where I have a column layout of type side bar-main. The side bar has section names with respective checkbox for each section name sourced from a data page. On selecting 1 or more such section names through checkbox, the respective sections should display in main area and content of each section is available in different respective data pages. On unchecking any section name in side bar, respective section should not be visible in the main area.
Could you please propose an approach to help in achieving this. Thanks in advance.
I am able to achieve this by using a repeating dynamic layout in main area by providing the same data page context as the one used in side bar for the repeating dynamic layout, to pass same selected section from the side bar through property reference to include section structure to repeat in repeating dynamic layout and also created sections with same respective names in the the data page context class of repeating dynamic layout and then broke out of context by including respective sections in the newly created sections with same name and the respective included section data pages as source.