Important! A new Community experience launched on September 26, 2017. Read more about it here or continue to Base Camp.
Voting: 
Vote up!
0 Votes
1 Replies

Angular JS & HTML5

Alaa Qaddoumi on Mar 21, 2017 03:10 EDT

Posted In
Vote up!
0 votes
Vote down!

Hi Alaa,

To add any external JS, we suggest you to use below snippet in form preshow OR pre-appinit of your application.

var head = document.getElementsByTagName('head')[0];                                                                                                                                     var script = document.createElement('script');                                                                                                                                                   script.src = "http://domain.com/organization/Test/Bootstrap.js";                                                                                               head.appendChild(script);

This code snippet will add the script tag to the header tag of the page. We have verified and found that the script tag is added to the form. Please follow our suggestions and update us if you have any concerns.

Thanks

Replied by: Mar 22, 2017 06:57 EDT
Bronze