Skip to Content
avatar image
Former Member

Inter-application navigation

Hi All,

I am trying to develop an Inter-application navigation project according to the guidelines provided in the sample project. When I click next to go to the next(TargetApp) application screen, there is no change in the screen, while on pressing the next button second time, i get an error stating, my application (StartApp) has expired, which means that the instance is deleted.

I am writing the code that I have used :

IWDMessageManager messageMgr = wdComponentAPI.getMessageManager();

String DeployableObjectName =

wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();

Map Parameters = new HashMap();

Parameters.put("hugo",wdContext.currentContextElement().getParameter());

try {

WDDeployableObjectPart DeployableObjectPart =

WDDeployableObject.getDeployableObjectPart(DeployableObjectName,"TargetApp",WDDeployableObjectPartType.APPLICATION);

String urlToTargetApp = WDURLGenerator.getApplicationURL(DeployableObjectPart, Parameters);

wdThis.wdGetStartWindowInterfaceViewController().wdFirePlugStartAppExit(urlToTargetApp);

}

catch(WDURLException e)

{messageMgr.reportException(e.getLocalizedMessage(),false);

}

catch(WDDeploymentException ex)

{messageMgr.reportException(ex.getLocalizedMessage(),false);

}

//@@end

Please help.

Cheers!!!!

Umang 😊

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

8 Answers

  • avatar image
    Former Member
    Sep 30, 2008 at 12:03 PM

    Hi

    Refer the following link it is help full for you

    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/91b6ad90-0201-0010-efa3-9626d2685b6e]

    Regards

    Raghu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 30, 2008 at 12:04 PM

    Hi,

    u have to write this code in TargetApplication Default start up pulg action.

    wdThis.wdGetTargetAppComController().wdGetContext().currentContextElement().setUrlParamValue(hugo);

    Regards,

    Sunaina Reddy T

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Sunaina,

      I have written that code. The Url is being generated, when I paste the url on the browser, the expected target screen is displayed but, the problem is, there is no navigation between the application / views.

      Cheers!!!

      Umang 😊

  • avatar image
    Former Member
    Sep 30, 2008 at 12:16 PM

    Hi,

    In TargetApplication Interface View default plug u add one parameter of type String.

    and parameter name should be "hugo".

    Regards,

    Sunaina Reddy T

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 30, 2008 at 12:28 PM

    ok then u can navigate to application views.

    Regards,

    Sunaina Reddy T

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 30, 2008 at 12:50 PM

    now what error u r getting ?

    Regards,

    Sunaina Reddy T

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 30, 2008 at 05:30 PM

    Are you using 7.1 CE SPXX ?

    Assuming that you are, create an Exit plug in initial view's Window as well, with same name as of Exit plug in Interface View. Then fire Exit plug of Window.

    wdThis.wdGetStartWindowController().wdFirePlugStartAppExit(appUrl);  
    

    This should help.

    Vishwas.

    Edited by: Vishwas Madhuvarshi on Sep 30, 2008 9:02 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 01, 2008 at 04:54 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 01, 2008 at 05:40 AM

    Hi,

    Yes u check that application name.

    u have to give same name.

    Regards,

    Sunaina Reddy T

    Add comment
    10|10000 characters needed characters exceeded