21
Views
9
Comments
Solved
[Field Services BO] Error screen on startup
field-services-backoffice
Reactive icon
Forge component by Sérgio Sardo
Application Type
Reactive
Platform Version
11.23.0 (Build 40636)

Hey guys,

I've installed the app on my Personal Environment, and when I try to start it, I get an error screen.

When I check the logs, there is the following error:

Error adding script 'https://www.google-analytics.com/analytics.js' to document 'https://matofarides.outsystemscloud.com/FieldServicesBackoffice/'. No retries left. 

[ErrorScreen] Error adding script 'https://www.google-analytics.com/analytics.js' to document 'https://matofarides.outsystemscloud.com/FieldServicesBackoffice/'. No retries left. 

What can I do to overcome this error?


Regards,


Marios



Solution

Hi Goncalo,

Ad Blocker must be disabled in order for the application to work.

On Chrome-based browsers, it can be done this way - Disable tracking prevention for this site


Thanks for your help!

Marios

Hi Marios,

You already check the application dependencies? Problably you are using a version of the OutSystems UI incompatible with this component! open the dependencies on service studio and refresh all the dependencies.

thank you.

 Gonçalo 

Hi Goncalo, and thanks for your prompt response.

All dependencies are refreshed (as shown in the image below), but the problem persists (as shown in the second image below)

 

Regards,

Marios

Hi Marios,

I tried to install on my personal envirnoment from scrash, and it works. Try to do the following steps:

1- Open the service studio and refresh all the dependencies:

2 - After refresh you will see two erros: The erros is because the Jquery library is missing.


Add a new script called JQuery and put the javascript downloaded from here.

3 - Add the script created when the error is identified:

4- Now, publish everthing and should be works!


Thank you.

Hi Goncalo,

I tried what you asked me to try.

I refreshed all references didn't get any errors, and changed the jqueryui_min script, with the code in the link you sent me (it existed on the app).

The login screen is briefly displayed, but at the auto-refresh, i get the same errors. 

Hi Marios,

Probably you are using the version of Outsystems UI required by this component. On my personal environment i'm using the lasted version of Outsystems UI, i don't see another reason...

Well let's me try to remove the dependencie from Google Analytics... it's a required feature for you?

Thank you. 

So, do you suggest I try to use the latest version of OutsystemsUI (2.17.0)? 

Hi Mario,

please try upgrade de OutSystems ui version.

Thanks, Goncalo!

I tried it, upgraded OutsystemsUI to 2.17.0, created the script and fixed the jQuery error. 

I even disabled Google Analytics.

I still get the same error.


Any other ideas?




Solution

Hi Goncalo,

Ad Blocker must be disabled in order for the application to work.

On Chrome-based browsers, it can be done this way - Disable tracking prevention for this site


Thanks for your help!

Marios

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