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
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 a comment