JavaScript Action Error: FactoryThrew

I have a JavaScript error being thrown when I attempt to fire a JavaScript Action on button click. It works in local but does not work in an environment. export async function JA_Property_OpenInNewTab(baseURL, object_ID) {     // BEGIN USER CODE + '/link/property/' + object_ID, '_blank');     // END USER CODE } The error is:
1 answers

If anyone is looking for the answer to this question; for me it was a browser caching issue. I fixed it as follows:


  1. Open the Application in your browser
  2. Press F12 (or CTRL + Shift + J)
  3. Right click on the refresh icon
  4. Click Empty cache and hard reload