Offline Behaviour

Offline Behaviour

  

Hi,

I've added some fonts to the resources folder in the data tab but I am getting the error to Consider adding them to the module. As print screen attached

When i added the fonts i changed the value to Deploy to Target directory but still get this error.

Does someone knows how to fix it?

Regards,

Joao

Hi Joao,

It's not an error, it's a warning. It tells you that the resources are not cached locally, but you may ignore it, if you don't need them offline.

Did you change the URL in the CSS after you added them as resources?

Hi Kilian,

Yes sorry its a warning :). But i would like to fix it. 

The url i have in the CSS is 

SyntaxEditor Code Snippet

src: url('/siquenique.outsystemscloud.com/fonts/HelveticaLTStd-Roman.otf');

Should it be something else?

Regards,

Joao

Solution

Hi Joao,

The Warning is triggered by that URL. If you include the resource in your module, you need to reference that. Use the URL that is displayed in the Resource Property "Runtime Path":

Solution

Kilian Hekhuis wrote:

Hi Joao,

The Warning is triggered by that URL. If you include the resource in your module, you need to reference that. Use the URL that is displayed in the Resource Property "Runtime Path":

Thank you, it worked.


Glad I could be of help!