How to setting external CSS file (e.g. fontsawesome )
Question

Hi All,

As my subject, how can I load some kind of external CSS library such as fontsawesome

Thank you

Dick Leung

Solution

Hello Dick 

Please follow below steps - 


  1. Click Manage Dependency Icon
  2. Search for HTTP
  3. Select Add StyleSheet Tag
  4. Go To Logic Tab
  5. Select Extension HTTP....
  6. Select Input Variable
  7. Add CSS URL.


I hope it will work for you.  

@Manish Gupta Very good, thank you very much! Its work

Thanks, but seen your document its look like the whole fonts library download in the outsystem same environment. if I want to load some from CDN external fonts. 

Hello Dick,

If you have certain classes to load than there is a method in httprequesthandler extension

AddStyleSheetTag

Please have a look at below thread hope it helps:-

https://www.outsystems.com/forums/discussion/54604/using-classes-from-external-style-sheet-from-cdn-in-outsystems/


Thanks,

Krunal

Solution

Hello Dick 

Please follow below steps - 


  1. Click Manage Dependency Icon
  2. Search for HTTP
  3. Select Add StyleSheet Tag
  4. Go To Logic Tab
  5. Select Extension HTTP....
  6. Select Input Variable
  7. Add CSS URL.


I hope it will work for you.  

@Manish Gupta Very good, thank you very much! Its work

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.