Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Navigation from child component to parent

I tried the said solution in this thread Regarding navigation from Interface View and I got the following exception. Cannot navigate from view <EmbededComponentInterfaceView> because it is not part of the current view assembly

This happens when i fire the outbound plug using the following code.

wdThis.wdget<view nameWindowInterfaceView>().wdFirePlugOut();


Solution was as under:


Go to Interface view of your 2nd component and create an OutPlug there. you can see a default inbound plug there due to which you are able to navigate to 2nd view.

After creating out plug build your component to make the changes take affect.

Now create a button on click of which you will navigate to 1st view.

But you will not get this plug in you view controller of 2nd component as default. to get it, put interface view controller as required controllers under Properties tab of your 2nd view.

Now onAction of button put this code

wdThis.wdget<view nameWindowInterfaceView>().wdFirePlugOut();

Now build and deploy 2nd component.

You can get out plug in second view in navigation modeler of 1st component.

create an inbound plug in 1st view and make a navigation link.

you will be able to navigate back

Mandeep Virk

Former Member
Not what you were looking for? View more on this topic or Ask a question