on 12-19-2006 6:18 AM
Hi All,
The requirement :
To navigate from a custom developed WD-iView to a standard ESS-iView (not the page area)
Example : Navigation is possible from a custom iview to ESS-Working Time iView that contains the link to "Leave Request Screen", but the requirement here is to directly navigate to the Leave Request Screen.
Please advice on how to achieve this functionality.
Any help would be appreciated
Aneesh.
Hi Aneesh,
We can navigate from custom developed WD-iView to a standard ESS-iView.
IWDDeployableObject deplObject = WDDeployableObject.getDeployableObject(wdComponentAPI.getDeployableObjectPart().getDeployableObjectName());
WDDeployableObjectPart[] deplObjectPart = deplObject.getParts(WDDeployableObjectPartType.COMPONENT);
IWDConfiguration config = WDConfiguration.getConfigurationByName(deplObjectPart[0],"Snps_CountryCode");
value = config.getStringEntry(countryCode);
} catch (WDUMException wdUMException) {
wdComponentAPI.getMessageManager().reportSuccess(wdUMException.toString());
} catch (WDConfigurationException wdConfigurationException) {
wdComponentAPI.getMessageManager().reportSuccess(wdConfigurationException.toString());
}
WDPortalNavigation.navigateAbsolute(
value,
WDPortalNavigationMode.SHOW_INPLACE,
(String) null,
(String) null,
WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
(String) null,
(String) null,
(String) null);
}
If you couldn't get that code, try this thread, it may help you
Kind Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aneesh,
Those parameters are used for reading key value pairs from *.properties file.
If you want to just navigate to any ESS webdynpro screen from custom developed web dynpro, use the following piece of code.
WDPortalNavigation.navigateAbsolute(
value,
WDPortalNavigationMode.SHOW_INPLACE,
(String) null,
(String) null,
WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
(String) null,
(String) null,
(String) null);
}
value - path of the desired screen.
Remember, this will work only in portal runtime.
Hope this may help you.
Thanks & Regards,
Raj.
Hi Raj,
Thank you for the effort; but as i had mentioned in my query. i can navigate to any Area Page in Portal using Portal Navigation and i have done that.
I am able to navigate to the following page in ESS Menu from a custom WD Appltn:
"pcd:portal_content/com.sap.pct/every_user/com.sap.pct.ess.employee/com.sap.pct.ess.iviews/<u>com.sap.pct.ess.area_working_time</u>"
but my requirement is to navigate to the page: "pcd:portal_content/com.sap.pct/every_user/com.sap.pct.ess.employee/com.sap.pct.ess.iviews/co<u>m.sap.pct.ess.serv_working_time</u>"
as i need to navigate to the leave request screen directly rather than the working time area
on navigating to the above location i am getting an error :-com.sap.portal.appintegrator.sap.WebDynpro::WebDynpro/TopLayer.
Do you have any hints on this
Thanks in advance,
Aneesh
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.