Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
fernando duarte
1
Views
2
Comments
put external javascript file in document head
Question
Hi,
I have a webblock with javascript in it. I use this webblock in many different espaces. This javascript uses classes from an external javascript library. So when i use this webblock in a new espace I need to reference this external library.
I would like to reference the library in the head of the document - something like <script src="externallibrary.js"
so that the classes are recognized in the webblock. Additionally i would also like to put some variables in it thru a site variable for example, something like <script src="
externallibrary.js
&key=" + site.key.
Can someone suggest a way to do it?
thanks.
J.
MVP
use this component
https://www.outsystems.com/NetworkSolutions/ProjectDetail.aspx?ProjectId=63
and perhaps alter it a bit if not suited completely
fernando duarte
Thanks Joost for your quick reply. I will definetly give a try.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...