Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Environment-generic placeholders/tokens in PPM links

SOLVED
Go to solution
Highlighted
musifier
Occasional Advisor

Environment-generic placeholders/tokens in PPM links

Hi,

 

We have three PPM environments, DEV, TEST and PROD.

I'd like to specify links in PPM request types in a way that makes the environment transparent.

Is it possible to get the following behavior?

 

1. A link-field L is put into a request type R in DEV to point to another request in DEV

2. The request type R is migrated from DEV to TEST.

    and

    test data (the entire PPM DB) is migrated from DEV to TEST.

3. In the TEST environment the L-links in type R now points to requests in TEST.

 

Currently, after performing 1 and 2 above, the L-links of R in TEST would still point to DEV, since the links are hard-coded.

Is there a way to use tokens in links?

 

Thanks.

 

3 REPLIES
Utkarsh_Mishra
Honored Contributor

Re: Environment-generic placeholders/tokens in PPM links

You can use token [REQ.REQUEST_URL] or [REQ.REQUEST_ID_LINK]

 

But, as you are refreshing the DB, then this will not be dynamic.

 

This will work, when you create new request, so automatically it will pick the specific environment URL.

Cheers..
Utkarsh Mishra

-- Remember to give Kudos to answers! (click the KUDOS star)
Jason Nichols K
Honored Contributor
Solution

Re: Environment-generic placeholders/tokens in PPM links

Have you tried using relative URLs instead of full absolute URLs?

 

URL: /itg/web/knta/crt/RequestDetail.jsp?REQUEST_ID=30122

Link: Request 30122

musifier
Occasional Advisor

Re: Environment-generic placeholders/tokens in PPM links

Thanks, that worked fine!

The link to that other request is created at page load by

 

select
'/itg/web/knta/crt/RequestDetail.jsp?REQUEST_ID=[REQ.P.BEST_REF]',
'[REQ.P.BEST_REF]'
from DUAL

//Add this to "OnDomLoad" event