Dynamic Data Repeater Contents
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Dynamic Data Repeater Contents

  • Dark
    Light

Article summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version[6.2.0]
Root Folder[ExampleLab.DynamicDataRepeaterContent]
Modules [None]
Dependencies[None]

This project serves as an example for utilizing a selector, in this case a radio button list, to dynamically determine what content gets placed within the drop-down on a data repeater.


Explanation

In the main Flow of this project, a simple structure is built to contain a list of Accounts and a list of Folders. First a list of said structure is initialized, which will then be passed to a simple data repeater on a Form. This data repeater holds two components, a two item radio button list (Account or Folder) and a drop down list. On the source definition of the data repeater there is a data flow that is used to populate the drop down on the repeater. Based on the user's selection on the radio button list the data flow within the repeater will fetch either Accounts or Folders, the names of which are then mapped back to identical data names. This allows the repeater's drop down to contain either a list of the email address field from Accounts or a list of Folder names.

Reference Articles




Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.2.0 or later using our Importing/Exporting article.





Was this article helpful?