Using additional JS or CSS file

Is it possible to add others javascript or css files?
How to use “EnbeddedFiles” ?
Thanks

Hi cco,

Yes, you can. Use the ‘Head’ property on the application to add your other javascript or css files into your application.

All the EmbeddedFiles are deployed to your Stadium application. If you include a javascript file under EmbeddedFiles, you can therefore link to it as follows:

In Stadium 5:

<script src="/Content/EmbeddedFiles/my-own-embeddedfile-example.js"></script>

In Stadium 6:

<script src="/src/assets/EmbeddedFiles/my-own-embeddedfile-example.js"></script>

I hope this helps.

1 Like

As of Stadium 6.6.3075, you can now use a simplified placeholder to reference EmbeddedFiles. See Stadium 6.6.3075 for more information