1. Home
  2. Docs
  3. Tags Add-on
  4. Putting it on a Layout
  5. Initial list parameter

Initial list parameter

The first parameter is the list of tags for the widget to display when it is first loaded. If you are displaying return delimited data from a single field, enter the field. If it is data from related records, you could use the list function. If it is more complicated data, you could run a script to gather the data into a global field or variable.

Dependencies

One thing to be aware of, is if you use record data as the initial list, any change to the data in the records will cause the calculation in the web viewer url definition to re-evaluate and update the widget. For the most part this is fine, and actually a convenient and quick way to make sure if the underlying data is changed somewhere else your widget is displaying the most up to date information.

However, if the initial list data is being gather from something inefficient like a list of calculated values from related records four tables away, this might cause some slowdown, and it might be better to use a script to gather that data in a global field or variable before displaying the widget instead. If the initial list, and all the other parameters, are not based on record data, the widget will have no dependencies. It will only update through user interaction, or from FileMaker scripting which resets the web viewer or calls the available javascript functions.

Was this article helpful to you? Yes No

How can we help?