What equivalent script commands are executed by the Navigator toolbar (NavMain - NavRefresh) ? After I programmatically (script) optimize custom file properties for the current search area, I want those to be shown in the dropdownbox for the Navigator advanced search. The solution to updating the dropdownbox is to programmatically refresh the Navigator in the same way as clicking the Navigator 'Refresh' toolbar. How do I execute that Navigator refresh in a script? See attached image for additional reference.
'These commands don't accomplish the objective:
Set oDF = Navigator.ConnectDataFinder("My DataFinder")
Call oDF.Refresh()
'This command doesn't work:
Call Navigator.Display.CurrDataFinder.Browser.RefreshAll()
This was a challenge back when I was working with DIAdem 2014 for CNH Industrial. Back then I worked around the issue by re-connecting to the DataFinder. That solution no longer works under DIAdem 2020.
Call Navigator.ConnectDataFinder("My DataFinder")