Hey guys :)

I want to include a CDN. Does anyone know how I can include a library through the use of a CDN in the Outsystems platform. 

So in HTML we'd do something like a link tag or a script tag. How can I include a library like this in Outsystems?
I want to include a Javascript Lib and a CSS Lib

Solution

Hi Rebelestablished,


You can include them on different levels, depending on what you want to do.

You can check here how to do it for CSS and JavaScript.


Cheers,

João

Solution

João Marques wrote:

Hi Rebelestablished,


You can include them on different levels, depending on what you want to do.

You can check here how to do it for CSS and JavaScript.


Cheers,

João

Thank you João Marques

That answered my question.
However in my previous module I had a scripts folder in the Interface Tab.
But now I see there's no script folder and I'm not sure how to add the scripts now.
Pls can you advise what I have done wrong.


Rebelestablished wrote:

João Marques wrote:

Hi Rebelestablished,


You can include them on different levels, depending on what you want to do.

You can check here how to do it for CSS and JavaScript.


Cheers,

João

Thank you João Marques

That answered my question.
However in my previous module I had a scripts folder in the Interface Tab.
But now I see there's no script folder and I'm not sure how to add the scripts now.
Pls can you advise what I have done wrong.



I am glad it helped!

If you don't see the script folder I guess you are working on a Web Application, right?

In this case, the ways to define and extend your web application using JavaScript are a bit different, you can see here how to.


Cheers,

João