My Oracle Support Banner

E-PORTAL: Related Content With Service Type Pagelet Fails (Doc ID 2408253.1)

Last updated on JUNE 12, 2018

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.55 to 8.56 [Release 8.4]
Information in this document applies to any platform.

Symptoms

On PeopleTools 8.55 and 8.56.

Related Content with Service Type Pagelet fails on PWAPI due to extra "/"


Using Related Content on a Content Reference with the Service type "Pagelet" and that pagelet was created with Pagelet Wizard, the related content tries to render the pagelet but has an extra "/" included as the pagelet wizard ID. This causes a standard PWAPI failure.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1 - Create a pagelet wizard pagelet
 a) Navigate to NavBar > Navigator > PeopleTools > Portal > Pagelet Wizard > Pagelet Wizard
 b) Create pagelet with Data Type "HTML", add some text, select homepage , select storage options and Save

2 - Add Related Content
 a) Navigate to NavBar > Navigator > PeopleTools > Portal > Related Content Service > Manage Related Content > Click on Assign Related Content to an Application Page, pick My Dictionary at the root level
 b) At the Componet Level Related COntent, row one, select Pagelet as a service type, and then with prompt select the pagelet you just created in Step 1b.
 c) Save
 d) Navigate to My Dictionary through NavBar. Click on Related COntent.

The URL that Related Content is generating to get the pagelet is below, and shows the additional / in the querystring paramter:
javascript:window.top.ptrc.onService('https://dev.hub.systems.state.mn.us/psc/hub91ud_newwin/EMPLOYEE/EMPL/s/WEBLIB_PTPPB.ISCRIPT1.FieldFormula.IScript_PageletBuilder?PTPPB_PAGELET_ID=SLL_NEWS_TEST_RC/&PORTALPARAM_COMPWIDTH=Wide&ptreqfrom=rc', '0', '0', 'N', '0', '0', '1', 'B', '107477996','UGEN')

INCORRECT:
PTPPB_PAGELET_ID=SLL_NEWS_TEST_RC/&PORTALPARAM_COMPWIDTH

CORRECT:
PTPPB_PAGELET_ID=SLL_NEWS_TEST_RC&PORTALPARAM_COMPWIDTH

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.