Refresh DB Browse on drop down

I have a drop down that is populated by a DB browse with no polling. If I update the DB via another component, a text box, can I refresh the DB Browse on the drop down so it reflects the correct information when I try to select from it?

1 Like

You can do this by putting this script on the button that saves the text to your DB

system.db.refresh(component, propertyName)

Just make sure that you put it at the end of the rest of your scripts so that it doesn’t update before that data has been entered into your DB

1 Like