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

Calling a specific folder in standard KM navigation iview

Dear developers,

I'm trying to make an iview call a specific km folder of another iview (standard KM navigation iview).

I believe I should use the "EPCM.doNavigate" method, setting the "Navigation context URL" argument to point to the folder I need to open.

(folder = "documents/documents/Mediabank/Products/GB")

But I only get to the default 'root'-folder of the KM.

Here's my DynPage code:


response.write("<SCRIPT langugage = 
'JavaScript'>EPCM.doNavigate('ROLES://portal_content/Flexit/flexpage/KM_Nav')</SCRIPT>");

String url = "ROLES://portal_content/Flexit/KM_Nav";
String navigationAction = "EPCM.doNavigate('" + url + "' ,0, , , , '/documents/documents/Mediabank/Products/GB')";
link.setOnClick(navigationAction);
			

Do you have any suggestions?

Best Regards

Olof Tronnberg

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 27, 2005 at 06:44 AM

    I dont think that you can navigate to a KM folder through doNavigate. By doNavigate Function you can only navigate to an iView.

    Its showing the root folder because the in the KM navigation iview you created is pointing to the root of the KM repository.

    So make it targeted to the desired folder and then call the doNavigate funtion for that folder.

    Cheers

    gEorgE

    Add comment
    10|10000 characters needed characters exceeded

    • See /thread/190600 [original link is broken]

      AddOn:

      > In the proxy iView.. we have to get the properties of

      > the navig. iView and change them accordingly

      In the proxy iView, you have to set all properties (within the portalapp.xml) which also the nav component have, maybe some addtionals for your functionality. But you have to provide them and then to pass them as URL parameters to the original Nav component (component! Not: iView).

      Please discuss the rest in the thread referred to above.

      Hope it helps

      Detlev