Skip to Content
0
Jan 17, 2012 at 07:08 AM

Opening a Portal page from UWL item's click

20 Views

Hi,

I have written a custom UWL connector that connects to 3rd party system to fetch tasks.

This custom connector has been registered with UWL and tasks from this 3rd party system are now appearing in my UWL.

The requirement is to open a Portal page on click of these UWL items.

That is, when user clicks on this custom UWL item, a Portal page should be opened in new window.

I tried setting item's executionURL to following (inside getItems() method of connector) : -

1. https://myportal.com/irj/portal?navigationtarget=roles://portal_content/com.mycompanyPurchaising/com.mycompany.Purchase_Request/com.mycompany.Roles/com.mycompany.purch_pr/com.mycompany.purch_pr/com.mycompany.purchaseRequest

2. https://myportal.com/irj/portal?navigationtarget=roles://portal_content/com.mycompany.Purchaising/com.mycompany.Purchase_Request/com.mycompany.Roles/com.mycompany.purch_pr/com.mycompany.purch_pr/com.mycompany.purchaseRequest⌖="_blank"

3. Set Quick link property of corresponding page and then set executionURL as: -

https://myportal.com/irj/portal/purchaserequest

Issue being faced: -

When user clicks on this UWL item, it opens following URL which just displays blank portal page: -

https://myportal.com/irj/servlet/prt/portal/prteventname/navigate/prtroot/pcd!3aportal_content!2fcom.mycompany.layout.PortalLayoutFolder!2fcom.mycompany.layout.DesktopFolder!2fmycompanyDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fcom.mycompany.Purchaising%2Fcom.mycompany.Purchase_Request%2Fcom.mycompany.iViews%2Fcom.mycompany.purchaseRequest&CurrentWindowId=WID1326775699455&NavMode=1

Any idea what is going wrong here?

I am not able to figure out what & from where its preparing above URL instead of opening the URL that I specified in Connector's executionURL attribute.

Regards,

Amey