This tutorial has referred to outputting both single and multiple records onto one page, and has introduced the pointer that Freedombase uses to control which record the data should be output from next. But how does Freedombase select which records should be in the list of records that can be output?
The command passed back in the last data from the browser into Freedombase, controls what records can be output to the page. If the command was 'New', no records will be output at all; Attribute tags will be replaced with blank or empty values. If the command was 'Go' or 'Get', then Freedombase has probably been given the key to the one record that could be output. If the command was a 'Search' command, then Freedombase will probably have a list of record keys that met the search criteria, and that list will be used to determine what records can be output to the page. And if the command was 'ViewAll', then Freedombase can output all records in the table.
Essentially, the last command that the user selected or clicked on, will control what records Freedombase will output onto the page.
These commands will be built into the default template that are created for you; normally, you do not need to set the commands up yourself. Once you are experienced with Freedombase, you may like to set up custom commands for your own purposes; however, this is an advanced topic, and should wait until you are confident with the standard commands built into Freedombase.
| previous | next |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |

