I thought possibly something was broken on the OWA servers, but after reviewing, I didn't find anything wrong with OWA.
In this in this article we will see how to implement Embed Java Script Pattern in real time business applications as below- Lets’ start with a Share Point App Project by selecting App for Share Point Project Template Specify the Site URL Choose Provider-Hosted as hosting model in order to develop High Trust Apps Choose ASP.
Net Web Forms Application to create Web Application Project for the Provider Hosted App Provide Certificate details for the High Trust Apps Now once the project is ready we can start with the coding part of Solution as follows- Steps 1 – In the add HTML code to provide UI for the solution In the file add the following code- Steps 2 – Refer the JQuery File from the CDN Steps 3 – Calling Inject Java Script Function Steps 4 – Inside Inject Java Script Function, check if MDS is enabled and if it is Register Custom Java Script code using Register Module Init function.
The first parameter to the Register Module Init function is the path to the Java Script file relative to the _layouts folder.
Since this solution deploys the Java Script file into a folder under the _layouts virtual directory, you have provided that relative path.
The second parameter is the entry point function which is Load JSInside Host Web.