Skip to Content
0
Oct 17, 2006 at 04:13 PM

Set Portal Page URL in Web Dynpro IFrame

163 Views

Hi All,

I've a Web Dynpro application that runs in the portal.

The application creates iframes dynamically.

I want to set in the iframes portal pages.

In order to get the page's url, I go to content admin, navigate to the page and then press the 'preview' button then I copy the url from the browser's address bar.

I copy the url from the '/irj....' to the src property of the IFrame UI element.

So the source property looks something like this:

/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.mycomp.Omri!2fcom.mycomp.TestPage

When I run the project I get:

<i>Portal Runtime Error

An exception occurred while processing a request for :

iView : N/A

Component Name : N/A

Access denied (Object: portal_content/.../...).

Exception id: 06:01_17/10/06_0015_4401150

See the details for the exception ID in the log file</i>

The page's permissions are set to everyone so I don't know why do I get this error.

So, how do I set portal page url in Web Dynpro IFrame?

p.s

I tried to use NavigatinTarget in the URL and it works. The problem is that the TLN is included. I want to display only the page.

Thanks,

Omri