How to get exact Angular JS version being used in Partner portal ?

krishnakiss
Giga Expert

Hi Experts,

 

I am new to Service now and learning different aspects in Service now, I understood service will not use latest version of angular JS, so how/where to check exactly what version of Angular JS is being used in servicenow/service portal. I tried to check in stats.do and open source software pdf but in downloaded pdf i see different things about angukarJS (or i am not understanding corretly) . Can you please guide on this?

1 ACCEPTED SOLUTION

ChrisBurks
Mega Sage

This is only my opinion and based on the open software pdf obtained from the stats.do.

I think it would be safe to say that Service Portal does not support anything passed AngularJS 1.x. As well as Bootstrap v3x.

 

This part is factual not opinion:

In the pdf you'll see AngularStrap referenced which is the only item that references AngularJS.

Anything that references other Angular versions is not the same as AngularJS.  Angular v2.0 and above is not compatible with AngularJS. When Angular hit version 2 it was completely rebuilt and they dropped the JS from the name.

 

Link to AngularStrap ( AngularJS and Bootstrap v3 combined to make directives): http://mgcrea.github.io/angular-strap/

 

Link to AngularJS : https://angularjs.org/

 

Link to Angular (v2.0 and above) : https://angular.io/

 

View solution in original post

2 REPLIES 2

ChrisBurks
Mega Sage

This is only my opinion and based on the open software pdf obtained from the stats.do.

I think it would be safe to say that Service Portal does not support anything passed AngularJS 1.x. As well as Bootstrap v3x.

 

This part is factual not opinion:

In the pdf you'll see AngularStrap referenced which is the only item that references AngularJS.

Anything that references other Angular versions is not the same as AngularJS.  Angular v2.0 and above is not compatible with AngularJS. When Angular hit version 2 it was completely rebuilt and they dropped the JS from the name.

 

Link to AngularStrap ( AngularJS and Bootstrap v3 combined to make directives): http://mgcrea.github.io/angular-strap/

 

Link to AngularJS : https://angularjs.org/

 

Link to Angular (v2.0 and above) : https://angular.io/

 

Dom_Wolfenden
Tera Contributor

Short version: See Jaspal Singh's answer on "Which version of AngularJS does SN uses in Service Portal?"

 

Longer version: As of Xanadu ServiceNow uses the following versions of AngularJS: 

1.2.20, 1.4.1, 1.5.0, 1.5.11, 1.6.1

 

Note: Google produced AngularJS and stopped supporting it. The final version 1.8.3 which was released April 7, 2022.

 

Currently (Xanadu Patch4a) Security Center setting "Disable Legacy AngularJS Behaviour" indicates that "This property was introduced for Quebec to patch angularJS security issues in versions 1.4 and 1.5.11". The wording in the Security Center setting also states "If "glide.angular.legacy" is not set to the recommended value of "false", then older prepatched angularJS versions are used". This implies that when set to False the "glide.angular.legacy" stops the instance from using versions 1.4 and 1.5.11 (though there is no mention of version 1.2.20) and does not only "patch angularJS security issues" in those versions. 

 

Now Support Knowledge Base article (KB0965345) indicates that ServiceNow will "maintain our own version of AngularJS" post Googles Long Term Support. It seems ServiceNow are looking to replace AngularJS with their internally produced tool "UI Builder" though at present both can be used.

 

Recommended reading - the "Description" and "AngularJS Configuration" sections of this ServiceNow Article:

ServiceNow Client-Side JavaScript Library Patching - Security