WayneH
WayneH

Reputation: 340

Determine PeopleSoft URL

What is the simpliest way to determine the URL of the current component?

What I need to do is take the current URL and change the last part to be a different component, which I am storing in a URL definition. This new URL will be sent thru email to another OPRID.

But currently am unable to determine the current URL.

Thanks

Upvotes: 0

Views: 2839

Answers (1)

PeopleSoftTipster
PeopleSoftTipster

Reputation: 171

You might be better building the URL using one of the Generate Functions:

http://download.oracle.com/docs/cd/E18083_01/pt851pbr0/eng/psbooks/tpcr/book.htm?File=tpcr/htm/tpcr22.htm#H3019

Using something like GenerateComponentPortalURL might be better than sub-stringing the different parts together.

Duncan

Edit: Also strCurrUrl gives you the current URL if you can insert some JavaScript

Upvotes: 2

Related Questions