Quantcast
Channel: ServiceNow Community - Post implementation
Viewing all articles
Browse latest Browse all 108

current_page Object Type Confusion

$
0
0

Can anyone elaborate on the type of object that current_page is? This object provides access to methods such as .getParentPage(), .getURLSuffix(), .getName(), .getDescription, etc. This seems to be similar to the object returned by gs.getUser() (which provides access to methods such as .getID(), getFirstName(), etc).

What I am trying to do is get a GlideRecord of type 'content_page' but then convert this into the same object type as current_page which would then give me access to the same "page related" methods as are available as current_page provides.

read more


Viewing all articles
Browse latest Browse all 108

Trending Articles