6
Views
1
Comments
[NewRelic] ODC NewRelic JS error when calling JS with relative path inside another JS
NewRelic
Forge asset by OutSystems Labs
Application Type
Reactive

Hi all,

I'm trying to integrate with NewRelic using ODC forge component but I'm having a 404 error since the main JS calls another JS with a relative path.
I've just installed the component + the sample and ran it with the license keys, Application Ids, and so on from the NewRelic instance that I've configured.

What is the best way to address this issue?




Thank you,
Nuno Mendes

2025-09-25 14-38-22
Lokesh Kumar Yadav

this issue happens due to odc component path due to JS what you have to do 

go to the NewRelic dashboard > Browser Monitoring in JS snippet paste 

<script src="https://js-agent.newrelic.com/nr-loader-spa-XXXX.min.js"></script>


After go to outsystem service studio

interface>layout> Implement JS

<script src="https://js-agent.newrelic.com/nr-loader-spa-XXXX.min.js"></script>  try with this it will work

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