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

Using portal navigation BACK in Web Dynpro

Hi experts,

I got a WD application that is called from the Universal worklist. When I finish my task in the Web Dynpro I wanna navigate back to the Universal Worklist. For doing that I use the following code:

WDPortalEventing.fire("urn:com.sapportals:navigation", "historyNavigate", "-1");

This works fine only the first time.

thr reason for why it only works is beter described by this flow:

1. I navigate to the UWL (Navigation history of the portal points to the UWL) (Portal History = UWL)

2. I click on a task in the UWL and the WD opens (History then points to WD)

( Portal History = UWL-->WD )

3. I click Back button in h WD to navigate back to the UWL which is a succes (History points to the WD - THIS IS THE PROBLEM - it doesn't sets the pointer, it only navigates back)

( Portal History = UWL-->WD - Notice that it should be only the UWL because the pointer should be set back to the UWL)

4. I click on another task in the UWL and the WD opens (History points to the WD)

( Portal History = UWL >WD >WD )

5. I click on the back button in the WD and I'm navigated back to the WD from step 2 ()

( Portal History = UWL >WD >WD )

Summary: Step 3 describes the problem, but I don't know how to solve it.

Somehow the history pointer isn't updated or refreshed.

I've been looking for something that can update the portal history or simular but no luck.

Any ideas?

Best regards,

Ole

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2007 at 11:58 AM

    Hi,

    You can directly call the UWL iview in the portal once the task is completed. Use a code like:

    WDPortalNavigation.navigateAbsolute(
    "ROLES://portal_content/com.sap.pct/every_user/general/iViews/com.sap.netweaver.bc.uwl.iviews/com.sap.netweaver.bc.uwl.uwl_iview",
    WDPortalNavigationMode.SHOW_INPLACE,
    (String) null,
    (String) null,
    WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
    (String) null,
    (String) null,
    (String) null);

    Regards,

    Satyajit.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      To summarize the problem:

      I have several different configured Universal Worklists, so It have to be dynamic which UWL iView I navigate back to. Because of that I can't use the WDPortalNavigation methods since I have to more or less hardcode a URL.

      Unless there's other ways to do similar things I have to use the BACK functionality in the portal to be sure I "hit" the right iView.

      Any ideas?

      /Ole

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.