Using WCI IDK's IPortletRequest.getReturnURI() Does Not Return Correct Community Page URL

(Doc ID 1083954.1)

Last updated on DECEMBER 02, 2016

Applies to:

Oracle WebCenter Interaction - Version 6 and later
Oracle WebCenter Interaction Development Kit - Version 6.0 and later
Information in this document applies to any platform.
***Checked for relevance on 28-Jan-2014***


If you have a portlet on a community page that makes use of IDK's IPortletRequest.getReturnURI(), you may find that the URL returned always points to the default community page.  The expected URL would point to the specific page within the community where the portlet resides.

For example, let's say there is a community named 'ReturnURI Community' (ID 205), containing two pages:  'First Page' (default) and 'Second Page'.  A portlet on 'Second Page' that invokes IPortletRequest.getReturnURI() will get the following URL returned:
Note that the URL above points to the community only, which results in the display of the default page.  The correct URL would include the page in the URL, like so:


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 hundreds of Community platforms