cancel
Showing results for 
Search instead for 
Did you mean: 

WD Project iView to another WD Project IView navigation

Former Member
0 Kudos

Hi Friends,

How to access iView which is in a project, from another iView of another Project.

in Project 1, I have iView1

in Project 2, I have iView2

need to navigate to iView2 from iView1 on a hyperlink, and also, need to pass parameter for iView1 as initial parameters.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

See this Thread

Kind Regads

Mukesh

Former Member
0 Kudos

Thanks a lot Mukesh!

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello

Firstly Both WD projects need to be a development component projects.

you could also use portal eventing if the search-wd is placed in a separate iview, try the following link.

http://help.sap.com/saphelp_nw04/helpdata/en/cf/18721b4079334cac4a3bd3862b185b/content.htm

And for Communicate with the portal environment see this thread

This link will be also helpful to you.

http://help.sap.com/saphelp_nw04/helpdata/en/42/43973fade73c17e10000000a114084/frameset.htm

All The Best

Priyanka

Do reward Points.

Former Member
0 Kudos

Thanks a lot Priyanka!

I am not using DC approach, I am using simple project approach.

Former Member
0 Kudos

Hi,

I am trying to navigate using this method, but its not navigating to another iView of another project.

No error, its just displaying blank page.

Message was edited by: Nav

Former Member
0 Kudos

I am using 2004s, so is there any other way to do this in 2004s?

ITS NOT WORKING.

Former Member
0 Kudos

I am using two different project hirarchies.

iview1 is in project 1

iView2 is in project2

Former Member
0 Kudos

Nav,

Refer part 5 of

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62">Integrating Web Dynpro and SAP NetWeaver Portal</a>.

Bala

Former Member
0 Kudos

Hi,

Consider the following working code for navigation,

WDPortalNavigation.navigateAbsolute(

"ROLES:portal_content/com.cv.kaar.Test_Page2",

WDPortalNavigationMode.SHOW_INPLACE,

(String) null,

(String) null,

WDPortalNavigationHistoryMode.NO_DUPLICATIONS,

(String) null,

(String) null,

"Name=" + wdContext.currentContextElement().getName());

Regards

Srinivasan T

Former Member
0 Kudos

Hi Srinivasan,

using this, can I navigate from one iView in a project to another view in another project?

Former Member
0 Kudos

Hi,

The answer is 'yes'.

The code will work for invoking an iView as far as it resides in the same portal and the user has necessary authorisation to that iView.

Regards

Srinivasan T

Former Member
0 Kudos

Hi Naveen,

you can navigate from iview in one project to iview in other using,

WDPortalNavigation.navigateAbsolute(

"ROLES:<iView_Path>",

WDPortalNavigationMode.SHOW_INPLACE,

(String) null,

(String) null,

WDPortalNavigationHistoryMode.NO_DUPLICATIONS,

(String) null,

(String) null,

"<paramters>");

it will work, try it.

-karthik

Former Member
0 Kudos

Hi Friends,

This is not working .

is it supported in 2004s?

Former Member
0 Kudos

Hi,

Kindly Have a look at the Threads

Saravanan K

Former Member
0 Kudos

Hi Satyajit and Saravanan,

Thanks a lot.

I will try the same.

Former Member
0 Kudos

Hi,

You can use absolute portal navigation to do this. Assuming that the iviews in question are WD iviews and they have their respective WD applications attached to them, you can note the PCD location of iview2 from the Content Administrator in portal and fire a portal navigation.

You can pass parameters through the "Application Parameter" property.

The code will look something like:


String appParams = "ApplicationParameter=<paramName>=" + <paramValue>;

WDPortalNavigation.navigateAbsolute(
"ROLES://portal_content/<location of iview2>",
WDPortalNavigationMode.SHOW_INPLACE,
"",
"",
WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
"",
"",
appParams,
null,
true,
true);

Regards,

Satyajit.