I have made an extensible control that has a .htm and .js file. The control works fine in most environments, but in a production on-prem environment, the control does not get loaded into the browser. Finance front end throws an error when the browser tries to load the file because it's not found in the expected folder "resources/html/<control name>". In the browser console there are two errors:
"Failed to load resource: the server responded with a status of 404 ()"
"Error: - Failed to load HtmlImport: /resources/html/<control name>"
The deployment package is the same used in test environment, but this is cloud based.
Does anyone know what the reason could be? ChatGPT has concluded it's because my project file structure has my files directly under "Resources/<control name>" and not as "Resources/Html/<control name>" and "Resources/Scripts/<control-name>". It's not straight forward for me to test this, so I was hoping to get input from someone who has experience with this.
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.