JavaScript Action Error: FactoryThrew

1
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     window.open(baseURL + '/link/property/' + object_ID, '_blank');     // END USER CODE } The error is:
asked
1 answers
1

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

answered