%ContentType system variable

Description

%ContentType returns the type of content for the current content as a string.

For example, suppose your PeopleCode is part of the page USERMAIN_SELF, in this URL:

http://serverx/servlets/psp/eprocurement/hrms/c/MAINTAINT_SECURITY.USERMAIN_SEF.GBL

This system variable returns the following:

c

The content types are:

PeopleSoft Pure Internet Architecture Content Type Value

Component

c

Script

s

External

e

Homepage

h

Template

t

Query

q

Worklist

w

Navigation

n

File

f