cancel
Showing results for 
Search instead for 
Did you mean: 

Embedded Iview

Former Member
0 Kudos

Experts,

Can I embed an Iview within another Iview?? If yes, what is the best approach.

The following is my use case->

A Webdynpro view needs to be displayed in multiple iviews. So what i want to do is create an iview for this WD view and then embed it where ever required. placing this Iview in the same page as other Iviews is not an option for me.

thanks,

vineeth

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Inside your parent iViews you can have an IFRAME object where you can give URL for the target iView and display it.

Regards,

Shubhadip

Former Member
0 Kudos

Shubadip,

So if i follow your approach, how do i find the URL of an Iview??? in the properties all that i see is the PCD location.

Thanks,

vineeth

Former Member
0 Kudos

Hello Subhadip,

I suppose you are talking of navigation from one iview to another.

Is it possible to display both the iviews simultaneously withous using page/workset?

Regards

Deb

Former Member
0 Kudos

We can display an Iview inside an IFrame. So by specifying the Target IViews URL in the IFrame, we will be able to display the contents of an Iview inside another.

What I need is a way to find the target IViews URL?? How can I find the URL of an IVIEW??

Thanks,

Vineeth

Message was edited by:

Vineeth Gururaj

Former Member
0 Kudos

Hello Vineeth,

The URL of the iview will be like this

http://<hostname>:<port>/irj/servlet/prt/portal/prtroot/<pcd path of your iview>

In <PCD path of the iview> don't forget to replace ":" with "!3a" and "/" with "!2f".

For exp.:

http://<HostName>:<Port>/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcontent!2fkeyDataCock...

Let me know whether you have successfully got the result and what you did.

Regards

Deb

Former Member
0 Kudos

Debasish,

That worked.. This solution was just wat i was looking for..

You can use this approach as a work around to embed an IView in another.

Thanks,

Vineeth

Former Member
0 Kudos

Vineeth,

you can get the URL of an iView by previewing it. Right click on the target iView and select Preview. The iView will open in a new window. Copy the URL from there.

Deb: in IFRAME if you put URL of any webpage it should open it. Same works if you put URL of an iView. But whether the inter iView communication related things will work properly is a different question - there might be some hinderance. I agree with your earlier post - iView IS the smallest portal object and we should not violate the rule. If you need an iView in multiple locations - we should use Page. Thats why the object Page is there.

Regards,

Shubhadip

Former Member
0 Kudos

Hello Vinneth,

Well, an iview is the smallest atomic part that can be displayed in portal. You cannot place one iview under another. I think that violates the concept.

Regards

Deb