Skip to Content
author's profile photo Former Member
Former Member

Navigation to external iView

Hi,

I have a bespoke WD iView for ESS. On last view of the application, I need to incorporate 2 links which directs back to ESS Homepage, personal page. How I can navigate to these portal iViews from the application.

Please note that I am not using FPM, from where this kind of functionality is available. I am having trouble in adding the SAP ESS WD components as Used DCs might be because my application lies on client's namespace where as ESS iViews are under SAP namespace and are not visible from NWDI.

In simple terms, my bespoke iView is in ESS and I need to go back to ESS home page based on user interaction from my final view.

Any ideas, code snippets are helpful.

Thanks and Regards,

raju

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 08, 2006 at 11:58 AM

    Hi Raju,

    There is mistake in the above code as you should do WDPortalNavigation.navigate instead of navigateAbsolute.

    But this will only work if the application is in the same J2EE Engine.

    If the host on which the ESS app is different then you cannot get the application URL through WDURLGenerator. You can only get the dynamic part of the URL for application hosted on the same engine by the call

    WDURLGenerator.getApplicationURL(WDDeployableObject.getDeployableObjectPart("sap.com/XX_XXX","ApplicationName", WDDeployableObjectPartType.APPLICATION));

    Try this

    String protocol = "http";

    String hostName = "<hostname>";

    String port = "99999";

    String staticAppURL = WDURLGenerator.getStaticApplicationURL();

    String dynamicAppURL = "sap.com/essgbpdata/Per_Personal_GB";

    String appURL =

    protocol"://"hostName":""port"staticAppURL"/"+dynamicAppURL;

    WDPortalNavigation.navigateAbsolute(appURL,

    WDPortalNavigationMode.SHOW_INPLACE,

    WDPortalNavigationHistoryMode.NO_HISTORY,

    null);

    Hope this helps.

    Thanks and Regards,

    Rohit Jaiswal

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thanks Rohit,

      For you time. Currently the client is happy to click the links through tabs which are appearing above this application. Rather taking complex route, I will try to redevelop the application using FPM.

      Regards,

      Raju

  • author's profile photo Former Member
    Former Member
    Posted on Jun 07, 2006 at 03:08 PM

    Hi,

    1. Get the URL of the ESS app

    String appUrl = WDURLGenerator.getApplicationURL(WDDeployableObject.getDeployableObjectPart("sap.com/XX_XXX","ApplicationName", WDDeployableObjectPartType.APPLICATION));

    2.

    You can fire exit plug passing the URL parameter

    wdthis.wdGetMyComponentInterfaceViewController.fireExitPlug(appURL);

    or portal navigation

    WDPortalNavigation.navigateAbsolute(appURL,

    WDPortalNavigationMode.SHOW_INPLACE,

    WDPortalNavigationHistoryMode.NO_HISTORY,

    null);

    Hope this helps.

    Thanks and Regards,

    Rohit Jaiswal

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Rohit,

      No luck yet. Currently it is showing a blank page within the iView application. I am trying to goto Personal Page of ESS which is sap.com/essgbpdata/Per_Personal_GB

      and the code after NavigationTarget is

      NavigationTarget=..%2F..%2Fsap.com%2Fessgbpdata%2FPer_Personal_GB

      It just displays a blank page.

      I forget to mention that the application are deployed on seperate J2EE engine and portal accesses this server for the applications.

      Any ideas,

      Thanks

      Raju

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.