Clear and Add items in Dropdown in a Subform

Clear and Add items in Dropdown in a Subform

Hi!

Looking to use a List workfiow function as a spot where i can go to update a list that needs to be updated from time to time, and then list be used in various forms as the options in a drop down

It is already working for standard form dropdowns:
  1. clear DROPDOWN;
  2. input.DROPDOWN:ui.add(thisapp.ListFunction());
The above is working.

However when i try to apply the same logic to a dropdown in a subform....

  1. for each  row in SUBFORM
  2. {
  3. clear row.DROPDOWN;
  4. row.DROPDOWN:ui.add(thisapp.ListFunction());
  5. }
This is NOT working

Any advice?