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

Hi Detlev!
Yes it helps alot and I really appreciate it.
I put in a javaScript in the doContent method that cathes the "KM_CM_Navigation_Komponent_URL" in an eventparameter. Still, I'm having trouble passing this parameter on to the "doOnReady" for the redirect. What should I do to trigger the doOnReady?
My code:
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
IPageContext myContext = PageContextFactory.createPageContext(request, response);
Form myForm = myContext.createFormDocument("myForm");
myForm.addRawText("<script language ='JavaScript'>" +
"function processEPCFEvent( eventObj ) {" +
"location.search = " + "'<b>eventParameter</b>='+eventObj.dataObject;}" + "EPCM.subscribeEvent(" +
"'urn:com.myNamespace'," +
"'myEvent', processEPCFEvent);"+
"</script>");
protected void doOnNodeReady (IPortalComponentRequest request, IEvent arg1) {
String KM_CM_Navigation_Komponent_URL = request.getParameter("<b>eventParameter</b>");     
//nothing happens
request.redirect(KM_CM_Navigation_Komponent_URL );
Olof

Similar Messages

  • How to show no. of contents in each folder in a KM navigation iView....

    Hi everyone,
    Requirement -
    we need to display a KM Navigation iview which shows the count i.e. no. of the contents in each folder.
    Scenario -
    I have tried changing this property - in the resource renderer and have created a new layout set and a layout profile.
    However this doesnt seem to work.
    Please if anyone can help me get the count of the contents in each folder in the KM Navigation iview.
    Thanks and Regards,
    Amol Ghodekar

    Hi Amol,
    see: Number of files in folder
    Hope this helps,
    Robert

  • Navigation IViews

    Hi All,
    I have a scenario in my project.
    I have users divided on the basis of Regions, each Region have 5 folders. So I have created 5 navigation Iviews to point to each folder. Similarly there are 20 Regions (containing 5 folders each).
    The user from Region1 should not see the files uploaded from the users belonging to Region2 and soon.(So i have created separate folder structure for each Region in KM reposatory).
    Now do I have to create 20 Regions x 5 folders = 100 Navigation Iviews in this case or is there any alternative ?
    Please guide me on this.
    Thanks in Advance,
    Pavan

    Dear Pavan,
    if I get you right, then you do not need to write any code to do that. The navigation iView checks the permissions when it displays a folderstructure and filters out the folders you are not allowed to see (unless you are a superadmin, see last line of this post). So in the example of Raghu and Lorcan the users will only see the folders they have permission for.
    e.g. from Raghu and Loran:
    You point the navigation iView to the path /documents
    You have the user groups: Region 1, Region 2, Region 3
    Folder structure below /documents is: /documents/Folder1, /documents/Folder2, /documents/Folder3
    On Folder1 the group Region 1 has Permission and on Folder2 the Region 2 and so forth.
    When logging on with a user belonging to Region 1, the user will only see the path /documents/Folder 1 in the Navigation iView.
    To make sure that works, verify that all users of Region 1 are no super administrators because if they are, they are implicit permission owner and see everything.
    Regards,
    Fabian

  • Cross-Component navigation - Calling the specific view

    Hello Experts,
    I need your help.
    I have a COMP2 with more than 10 views in it. While navigating from COMP1 to COMP2, I want to call a specific view of COMP2 based on some condition.  When I checked in debugging, the COMP2/MainWindow is showing only one view which was set as default.
    Can someone help me with this?
    Thank you.
    -Ezhno.

    Rupali,
    Thank you for your time.
    I already have this solution in my mind. But, was thinking how to call to the specific view while navigating itself using inbound plugs of the views. But, the problem is it was not showing all the views except the default one.
    Anyhow, I don't have much time for this. Will wait if someone comes up with any other solution.
    I will go ahead with your solution as putting conditions is better than creating many windows...
    Thank you.
    -Ezhno.

  • Does anyone know how to default Menu navigation to open to specific folder

    Does anyone know how to default Menu navigation to be opened to a specific folder when User first log on to PEOPLSOFT with peopleTool version 8.48 or above?

    There are several notes on Oracle Support with a few options...
    E-Portal: How to Redirect a User To Specific Component Page at Login? [ID 649958.1]
    E-PORTAL: What Methods Are Available To Redirect Users To A Specific Page At Login? [ID 757458.1]
    Regards,
    Bob

  • Calling KM navigation iview from ABAP

    Hi All,
    I am trying to call the KM Navigation iview from ABAP webdynpro view. it is like implement the same functionality as currently available for Repository filters through ABAP coding. I have to create a new Folder in the KM and call the KM Navigation iview for that specific folder. I know KM has provided few new webservices which I can use to create a new folder in the KM repository but I am unable to open the KM navigation iview with the newly created folder through coding.
    I am using the navigate_absolute Portal Navigation method to call the KM Navigation iview from ABAP code. Currently it is opening iview with the folder set as root folder in the iview property but I need to open it with the newly created folder through the code. The same sort of functionality is implemented from java code by passing the Business parameter with navigate_absolute method. The problem with ABAP code is that I don't know what is the exact format of the Business parameter to be passed.
    In the java code the Business parameter is passed as
    Uri=/documents/cprxrpm/46A73F1FEED21B0DE10000000A4241A8:DFM_450_MIT3_SAURABH/RIH/47B44774254208CCE10000000A4241A8:wonder-item-01 :WONDER-ITEM-01
    Does anybody have idea how can i implement the same scenario in ABAP and what should be the format of the to be passed as Business Parameter from ABAP code ?
    Regards,
    Vikash

    In the abap web dynpro view create an exit out bound plug with url as parameter.
    In your wddoinit call the the url. The url can be accessed by previewing the km iview in content management. Hope this helps.

  • ITunes won't download to specific folder after iphone name change in iTunes

    I accidently changed the name of my iphone on iTunes. I have changed it back to what it used to be named. But, now when I download a song from iTunes on my phone. It will not download it to the specific folder it used to. Now it downloads it to a specific folder called "Purchased on iPad". Songs will stay there until I sync my phone to iTunes on my computer and I click "Transfer purchases". Then it takes them and places them on "Purchansed" tab. After I finish transfering perchases I disconnect my phone and I have to go back into itunes and go to purchased tab and have to redownload them again which go again into "purchased on iPad" folder on my phone and stay there until I sync my phone again to iTunes... its a vicious cycle and driving me nuts. Is there any way to have it downlaod again to my specific folder "purchased on iphone" and keep them there? Hope someone can help.

    I actually tried with two other iPod software cds, uninstalling and reinstalling, and nothing is working.
    When I go into the library and look for an import button none is to be found!!!

  • Creating publishing page in specific folder and with custom page layout using JSOM

    Hi!
    I have a site collection under my root, in which I have a page library with a folder inside. I want to create a publishing page inside the folder using JSOM. The API provides the following information on the three possible ways of how you can create a publishing
    page.
    PublishingPageInformation with all defaults.
    PublishingPageInformation.Name and PublishingPageInformation.PageLayoutListItem.
    PublishingPageInformation.Name, PublishingPageInformation.PageLayoutListItem and PublishingPageInformation.Folder.
    Source - SP.Publishing.PublishingPageInformation Properties (sp.publishing)
    Since I want to create the page in a specific folder in the page library, I have to go for the last option.
    I have a function call chain that look as follows:
    getLanguageID(webUrl, languageID)
    .then(function(resolveVal) {
    language = resolveVal;
    return checkPageExist();
    .then(getEditorialNewsFolderJSOM)
    .then(getAssociatedPageLayoutListItem)
    .then(addPublishingPage)
    The first two methods, 
    getEditorialNewsFolderJSOM
    getAssociatedPageLayoutListItem
    fetches the required data as SP.Folder- and SP.ListItem-objects.
    The problem occurs when
    addPublishingPage
    is called. This method, in turns calls this function. 
    var pageInfo = new SP.Publishing.PublishingPageInformation();
    pageInfo.set_name(publishPage.title);
    pageInfo.set_pageLayoutListItem(pageLayoutListItem);
    pageInfo.set_folder(editorialNewsFolder);
    pageCreationContext.newPage = pubWeb.addPublishingPage(pageInfo);
    clientContext.load(pageCreationContext.newPage);
    clientContext.executeQueryAsync(function() {
    publishPage.isPageCheckOut = true;
    resolve();
    }, function(error) {
    reject(precio.intranet.resource.errCreateContent_addPublishPage);
    The error happens when this function is called with the page information object.
    SP.Publishing.PublishingWeb.addPublishingPage(pageInformation)
    Error:
    Cannot read property '$2t_0' of undefined
    and it happens in SP.Runtime.js.
    I've tried this
    sample code from the MSDN-team, and added the pagelayout and folder properties, but it renders the same error.
    Creating a page directly in the page library with a blank SP.PublishingPageInformation object works perfectly fine!
    What could possibly be wrong? The error isn't something that I can debug myself since it happens in SP.Runtime.js, and the documentation for this is very sparse!
    Any help on how to resolve this issue would be helpful!

    Hi Vinay,
    This may be useful:
    https://blogs.oracle.com/jdevotnharvest/entry/remote_task_flow_vs_wsrp

  • How to search within a specific folder

    I know this sounds elementary. However, it doesn't seem to work for me. Let me explain:
    I have opened a finder window and clicked on a specific folder. In that folder are over a hundred files. In the same finder window, I enter the exact file name of an file in that same folder (let's assume we know its in that folder). Let's pretend the folder I'm searching is called "PhotosA"
    After I type in the file name, the search begins. However, in the window, it tells me it's searching "This Mac" and the folder which I have selected--PhotosA--is not selected. So then I click on the PhotosA folder and it shows up as found.
    My question is: Why do I need to do an extra step to click on PhotosA, when I have already told the computer I want to search in PhotosA? Why does the search always go to "This Mac"? This is not a major problem. It's just a minor annoyance.
    Is there a way for me to set my Mac to search the folder or drive I have selected, as opposed to it always going to "This Mac"?

    Use Easyfind.
    http://www.versiontracker.com/dyn/moreinfo/macosx/8707
    It's better than Apple's find in about a thousand different ways.

  • KM navigation iView shows up as 'Root Folder'

    All,
    I am working on the Integration of SAP Portal and BOBJ. We were successful with the integration, however we have a small issue that we are trying to work on.
    The folder view of SAP BusinessObjects Enterprise repository content from KM navigation iView shows up as 'Root Folder', is it possible to change the name of this folder within SAP Portal and how would we go about doing it.
    Any thoughts would be appreciated.
    Thank you.
    P.S. Ingo Hilgefort, if you could please share your thoughts it would be appreciated.

    Toor, it does not make sense for you to modify the name of the Root Folder, nor can you.
    Open your KM Iview in edit mode.
    Find the code link field. It should be called com.sap.km.cm.navigation
    If so, look for the fields:
    Path to Initially Displayed Folder
    Path to Root Folder for Navigation
    they should be like:
    /alias/documents
    the folder documents is a folder in KM under the root folder. You can make this whatever you want.
    When you execute the iview you will be able to see the content on the /documents folder
    Hope this helps you, Mike

  • Specific folder for Image assets?

    I need to be able to choose a specific folder to generate image assets to! Is there some way to do this?
    Instead of just creating a folder called nameOfMyFile-assets, I want to generate assets to a folder elsewhere!

    You would have to customize it using the Generator API.
    Mylenium

  • KM navigation iview - how to disable folder drop down menu?

    Hi all!
    Portal version: EP7 SP9; I am trying out KM navigation iview opportunities.
    My goal is to create an iview where user can only download folder items (files); and in the same time I would like to disable all the drop-down menus there.
    For example, folder itself has a drop-down menu; also there is one for each of the files. So, is it possible disable/remove these associated drop-down menus for each accordant item within KM navigation iview?
    All ideas/comments will be appreciated!
    Thanks,
    --- Kaspars

    Hi,
    Probably yo mean the hover menu next to the displayname of a resource.
    KM navigation iview has a layoutSet associated (see PCD property layoutset). Find the layoutset in System Admin -> System config -> KM -> Content management -> User Interface -> Settings -> LayoutSet (click <i>show advanced options</i> if you did not so). Here you have some collectionRenderers and resourceRenderers set.
    The hovermenu represents the commands for the resources itself, so you click the resourceRenderer. Here yo can see a property called <i>Command display</i>. Set it to <b>off</b>. Now the menu should be not visible for the resources in KM navigation.
    To setup which commands should be visible you have to set <b>Command Groups</b>. For more info see:<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9d/233f989a5ba64fa44ed6e0823286ee/frameset.htm">SAPHELP: Commands and Command Groups</a>
    Hope this helps,
    Romano

  • Sync iPod with a specific folder

    I'm wondering is there any practical method in order to create a folder somewhere and sync iPod shuffle with that specific folder?
    Actually I create a folder called My.iPod and add it to my Send To context menu:
    Now I want to add my optimal musics to this folder from anywhere in my PC and iTunes automatically sync this folder with my iPod.
    Any suggestion?

    I'm wondering is there any practical method in order to create a folder somewhere and sync iPod shuffle with that specific folder?
    Actually I create a folder called My.iPod and add it to my Send To context menu:
    Now I want to add my optimal musics to this folder from anywhere in my PC and iTunes automatically sync this folder with my iPod.
    Any suggestion?

  • I have scanned a document, how do I save to a specific folder on an external drive from the Preview application?

    I have scanned a document, how do I save to a specific folder on an external drive from the Preview application?

    There is no 'Save as' in Lion.  If it's a new document then select File -> Save will bring up a standard 'Save' dialog box which will allow you to specify the location.  Otherwise select File -> Duplicate and then save the duplicate.

  • How to create Smart Folder that limits search to a specific folder or drive

    I've been playing with Smart Folders in Leopard 10.5.5. I would like to create a smart folder that limit the search to only a specific folder where I keep all of my work related files. I cannot figure a way how to do this.
    Any suggestions?
    Thanks.
    Bud James

    1.) Performed Archive and Install. This did not correct the problem.
    2.) Performed clean install to new hard drive. This corrected the problem.
    3.) Performed a user migration (to the fresh new OS and new HD) using the migration utility and the problem returned.
    So it seems pretty clear that there is something related to my user identity that is causing the problem. I called Apple tech support but they were not able to resolve the problem.
    Sure, I can just create a new user and spend the next week or so reinstalling a bunch of software...but certainly based on the description of the problem (and the trouble shooting that I have already performed) someone at Apple should be able to pinpoint what files I need to delete or replace to correct this problem.

Maybe you are looking for

  • No entry in key field of table MARM

    Hi, I am trying to import and create a Article Master using LSMW with IDoc method. ARTMAS IDoc is getting generated but it is showing error as No entry in Key field MARC, MVKE, etc etc and now finally stuck in No entry in key field of table MARM even

  • Reversal of MIRO

    Hi, Our client wanted PO no to be populated in each Vendor Line item , for this we came up with a workaround where the users will punch the PO nos at Document header text and made the field mandatory , but subsequently while reversing a wrong MIRO do

  • Partial Budget C/F

    Dear All, I am carryforwarding Internal Order budget with Tcode : KOCO / KOCF and working fine. Now i want to transfer Part budget amount  to carryforward. i.e for e.g  i have balance budget Rs. 50000/- for F.Y 2009 and i want to transfer only RS. 20

  • MacBook Pro and Drive genius 2

    I'e got a late 2009 17" MacBook Pro. When I try to boot from the Drive Genius DVD the computer just reset it self. When I restart the computer and press the C key it sounds if the computer is reading the disc. The screen goes black and the computer r

  • Apple Website is failing?

    Why can I not access the Apple website at home, at work or at my university? I am trying to find a form were I can request support regarding iTunes but I cannot browse further then a knowledge database. All other pages and specially regional ones are