Getting the Program name from JavaScript
Posted: Fri Nov 12, 2021 12:12 pm
Is there an API that will return the name of the program that displayed the current UI? I am able to get the record format [currentRecordFormat()] and current user [currentUser()] from within javascript but I haven't found an API to retrieve the program name.
I am writing a function to retrieve a JSON list of widgets to hide/disable when the UI is loaded. This list is based on the User/Program/DisplayFormat and I am trying to avoid hardcoding those parameters so that I can use this function on any screen that we develop.
Thanks,
-Rich
I am writing a function to retrieve a JSON list of widgets to hide/disable when the UI is loaded. This list is based on the User/Program/DisplayFormat and I am trying to avoid hardcoding those parameters so that I can use this function on any screen that we develop.
Thanks,
-Rich