Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

You can take a look at how it's actually  implemented in Demo App in your account, screen - Operation Loop Screen.


DATA FROM LISTS OF TABLES


You can loop any data from any of your custom Lists of Tables.

For example, using existing tables in you Task Manager sample app, we can do this to show all languages available for it's users, which are stored in table named "languagelist" and in column named "language"

Image Added


Steps taken in this example:

  1. A button added to a screen

  2. Enable Loop on the button, marked purple ↓

  3. Insert a hashtag with the List you want to use as Data Source, marked green ↓, as example, #List:languages:languagelist#, where:

    1. List = a command to address lists of tables in hashtag

    2. languages = a name of a list we have in this sample app

    3. languagelist  = a name of the actual table you are referring to

  4. Name the Loop, as how it can be referred later on, marked red ↓, for example - ShowAllLanguages

  5. Refer to this named Loop in any place of a button, in this case in Caption section - #Loop:ShowAllLanguages:language# , where:

    1. Loop = a command to show that some data needs to be pulled from the Loop

    2. ShowAllLangues = a name of the loop we have given before

    3. language  = an exact column name, which you are pulling from the list and need to iterate. 


Image Added



Content by Label
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "KB"
labelskb-how-to-article

...