What is $sp.do and why is it tagged as a public page in the sys_public table?

James Fricker
Tera Guru

Anyone know, what is $sp.do and why is it tagged as a public page in the sys_public table?

1 ACCEPTED SOLUTION

nathanfirth
Tera Guru

$sp.do is the core Service Portal UI Page that lives on the ServiceNow file system. It is marked as public since Service Portal pages can be marked as public.

View solution in original post

10 REPLIES 10

Mike Allen
Mega Sage

It is the body of the service portal home page without the banner at the top.

If I go to a OOTB developer instance when not logged-in.

/sp is the service portal home page and presents with a header, a login widget and a knowledge widget

/$sp (and /$sp.do) is completely blank

Are you sure it is the body of the service portal home page without the banner?

It’s technically not “the body”, it’s the UI page the contains the full angular.js app that is Service Portal. If you don’t use a URL suffix (e.g. /sp) then there is no theme, hence the missing header. You can try replacing /sp with $sp.do and it will render the page: /$sp.do?id=index

Nathan,

Is this what an angular directive is?  I have heard the pages that start with the $ being called a directive generically.  I have to admit that I am a backend guy, so the front end terminology gets a little lost on me.

Thanks.