The Generate Functions

There are many different types of content on the portal, such as components, iScripts, homepages, and so on. Sometimes you want to access this content directly, through the URL that points to this content. To do this, PeopleSoft provides several Generate functions that generate the URL for the specified content.

The Generate functions can be categorized as:

  • Content type.

  • Absolute or relative URL.

  • Portal service or content servlet (psp or psc).

The following is a list of the functions, plus a description of what to use them for. More information about a function is found under that function's description in the section PeopleCode Built-in Functions.

Function Name

Content Type

Absolute or Relative URL

Portal service or content servlet

GenerateActGuideContentUrl

Activity Guide

Absolute

psc

GenerateActGuidePortalUrl

Activity Guide

Absolute

psp

GenerateActGuideRelativeUrl

Activity Guide

Relative

NA

GenerateComponentContentURL

Component

Absolute

psc

GenerateComponentContentRelURL

Component

Relative

psc

GenerateComponentPortalURL

Component

Absolute

psp

GenerateComponentPortalRelURL

Component

Relative

NA

GenerateComponentRelativeURL

Component

Relative

NA

GenerateExternalPortalURL

External

Absolute

psp

GenerateExternalRelativeURL

External

Relative

NA

GenerateHomepagePortalURL

Homepage

Absolute

psp

GenerateHomepageRelativeURL

Homepage

Relative

NA

GenerateQueryContentURL

WQuery

Absolute

psc

GenerateQueryPortalURL

Query

Absolute

psp

GenerateQueryRelativeURL

Query

Relative

NA

GenerateScriptContentURL

IScript

Absolute

psc

GenerateScriptContentRelURL

IScript

Relative

psc

GenerateScriptPortalURL

Iscript

Absolute

psp

GenerateScriptPortalRelURL

IScript

Relative

psp

GenerateScriptRelativeURL

IScript

Relative

NA

GenerateWorklistPortalURL

Worklist

Absolute

psp

GenerateWorklistRelativeURL

Worklist

Relative

NA