By default collapse all folders in Detailed Navigation

Hi,
Could anyone tell me if it's possible to collapse folders which are build in this manner:
Role 1
.. Folder 1
.... Page a
.... Page b
.... Page c
.. Folder 2
.... Page d
.... Page e
.... Page f
.. Folder 3
.... Page x
.... Page y
.... Page z
ect...
I am working with EP6sp14, especially to run the External Facing Portal.
Thanks helping me and my customer..

Hi Leurs
Ur req is very much possible
What u need 2 do is make ur
1)toplevel navigation level to 0
2)detailed level navigation display level property to 1.
I will explain each step
1) I. Configure Top-Level Navigation
   1.In the Portal Catalog choose <b>Portal Users-> Standard Portal Users.</b> This folder contains the <b>Default Framework Page</b>.
   2.Right-click <b>Default Framework Page</b> and choose <b>Open->Object</b>.
   3.From the Page Content List select the <b>Top-Level Navigation iView</b> and click <b>Properties</b>.
   4.Scroll to the <b>Number of Display Levels</b>property and enter the value 0, 1, or 2, depending on how many navigation levels, if any, you want for top-level navigation.
     <u><b><i>Choosing 0 removes your top-level navigation and displays your navigation structure in the Detailed Navigation iView.</i></b></u>
   5.Click Save.
2 Configure Detailed Navigation
  1.From the Page Content List of the <b>Default Framework Page</b>, select <b>Desktop Innerpage</b> and click Open.
  2.From the Page Content List of the <b>Desktop Innerpage</b> select the <b>Detailed Navigation iView</b> and click <b>Properties.</b>
  3.Scroll to the <b>Start at Level property</b> and assign a value that is one higher than the value of the <b>Number of Display Levels</b> property in procedure l. Configure Top-Level Navigation. For example, if top-level navigation is configured for one level, the detailed navigation begins on the second level, that is with the value 2.
  4.Click Save.
    <u><i><b>Detailed navigation is not automatically synchronized with top-level navigation; the values you enter for top-level and detailed navigation must agree. For example, if you enter the value 1 for top-level navigation, while detailed navigation still has the value 3, one level is left out, creating a gap.</b></i></u>
III. Configure the Content Area
   1.From the Page Content List of the <b>Desktop Innerpage</b>, select the <b>Content Area</b> iView and click <b>Properties.</b>
   2.Scroll to the <b>Number of Display Levels in TLN</b> property and enter the same value as that of the <b>Number of Display Levels</b> property in procedure I. Configure Top-Level Navigation.
   3.Click Save.
These steps will make ur Portal the way u want, i guess.
Regards
Bobu

Similar Messages

  • Expand folders in Detail Navigation by default

    Has anyone figured out a way to have the folders in details navigation expanded by default the first time the user clicks on the tab? 
    I tried this:
    Expand all folders in the detailed navigation by default on click of Role
    But it didn't work for me.  I have seen other claims that it can be set desktop wide, but no solution.
    Any help would be much appreciated.
    Clark

    Prathamesh,
    First of all thanks so much for your suggestion.  It would have worked perfectly if I was using the lightweight version of the detail navigation.  But is did lead me to download the code for the detail navigation tree par file and I found some interesting things. 
    First of all this should work by changing a parameter on the iview according to the code I found.  See the code below (particularly the set state line). 
        private void openFolder(IPortalComponentRequest request, HashMap dropJScriptsMap, ITree tree, INavigationNode node, ITreeNode treeNode)
            if(treeNode == null)
                return;
            IPortalComponentContext componentContext = request.getComponentContext();
            IPortalComponentProfile profile = componentContext.getProfile();
            Boolean leafNode = null;
            try
                leafNode = (Boolean)node.getAttributeValue("com.sap.portal.navigation.IsLeaf");
                if(leafNode == null)
                    leafNode = Boolean.FALSE;
            catch(NoSuchAttributeException ex)
                leafNode = Boolean.FALSE;
            String openFolder = profile.getProperty("com.sap.portal.navigation.detailedtree.openfolder");
            if(openFolder.equals("true") && leafNode != Boolean.TRUE)
                treeNode.setState("o");
                addNavNodeChildrenToTree(request, tree, node, dropJScriptsMap, true);
    But it only looks to work if the folder is at the top level.  Otherwise it rights children as closed.  See the line for setState in method addNavigationNodesToTree.
                if(newNode.getVisualizationType() == 2)
                    if(parentNode != null)
                        treeNode = tree.addNode(nodeName, title, "F", parentNode);
                    else
                        treeNode = tree.addRoot(nodeName, title, "F");
                    treeNode.setState("c");
                    treeNode.setFolderOpenImage(mm_folderImageUrl);
                    treeNode.setFolderCloseImage(mm_folderImageUrl);
                } else
    So I really have 2 options.  I can redeploy new code with the line just above changed (I didn't plan on modifying the SAP delivered), or I can move my nodes up to a higher level and change the parameters on the iview.
    I hope others might find this useful and perhaps SAP will adopt another iview parameter in the future to completely allow for this as it seems pretty trivial.
    Thanks again.
    ACD

  • Collapse all Folders in Finder

    Is there a way to collapse /all/ folders in Finder instead of hunting them down and closing all of them one by one?
    Thanks.

    Hotwheels22 wrote:
    is there a way to collapse or uncollapse all folders in finder?
    I really still do not understand this question. Presumably you are not referring to List View (which is what I associate with collapse/expand). Icon View will open/close folders; List View will expand/collapse directory trees; Column View will scroll through path hierarchies; which one are you trying to do?
    Do you mean you want to open multiple folders while in Icon View? If so, select the folders you want and hit ⌘+↓. All of them will open as long as they are all from the same Finder window. Afterwards, for you to close all Finder windows except one, you'd need to use one of the two AppleScripts I linked earlier.
    Maybe you are asking for a method to double-click one folder and have it and all its subfolders open up in their own Finder windows (essentially, you want to open all nested folders with one click)? I think you'd need to build an AppleScript for that. The OS will not have such a function built in because the depth of some directory trees could easily freeze a computer.
    i have a ton of documents and it is really inconvenient to have to open /all/ the folder to find things.
    If you assigned non-generic names to your folders and documents, you should be able to use Spotlight and Smart Folders to get to your files. For example, since I name my project files with the format DateProject_DocumentVersion, it's easy for me to create a Smart Folder that shows me all finalized/approved parts lists from a project I did two years ago, regardless of where they're located in my archives. It's even easier if you also use Spotlight Comments and/or color labels.
    then when i get them open it is a total pita going and collapsing all of them. i guess i can close out of the finder window altogether but i'd like to stay in the same window and keep working.
    Did you try either one of the two AppleScripts I linked earlier? They allow you to close all Finder windows except the active one. Finder doesn't have a built-in, default option to close all windows except the active one.
    btw, i'd also like to do the equivalent for windows on the desktop so i can get to the desktop quickly. right now I have to move them over or minimize them one by one...
    i guess getting familiar with expose or witch may do this?
    Exposé can temporarily displace (not hide) all windows to show just the Desktop. ⌥⌘H will hide all other applications except the active one (or if you wish to specify which particular application stays unhidden, ⌥⌘+click the app's icon on the Dock). To actually hide (not close) all visible windows, you'll need to run an AppleScript ➚.
    also can i ask you if there is a way for me to post a video of screenshots to this site? i have an issue that would be helped by doing this...
    You'd need to upload to a video host, like YouTube, and then paste the link over here.

  • I'm trying to transfer photos form my pc to my ipad.  Itunes defaults to All Folders under Sync photos.  Whatever file I download wipes out what was previously downloaded.  It will not let me select Selected folders.  How can I transfer additional photos

    I'm trying to transfer photos form my pc to my ipad.  Itunes defaults to All Folders under Sync photos.  Whatever file I download wipes out what was previously downloaded.  It will not let me select Selected folders.  How can I transfer additional photos without losing what I already trasnferred?

    Another way. You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive (works the same with an SD card) into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
    Secrets of the iPad Camera Connection Kit
    http://howto.cnet.com/8301-11310_39-57401068-285/secrets-of-the-ipad-camera-conn ection-kit/
     Cheers, Tom

  • Folders in detailed navigation

    Hi all,
    I've created a role and a workset which is assigned to that role.
    In that workset i've some folders which contains iviews and i need the folders to be available in the detailed navigation panel for that role to view those views... but i'm not getting that folders in the detailed navigation list.
    Can anyone help me to get the folders in the navigation panel?
    Rergards,
    Vijay

    Hi Vijay,
    The basic concept is that what is seen to enduser is IVIEW
    excepr that nothing is visible,What you are doing is that
    Role - -> Workset - - > Folder (Iviews)
    With this how could you can view folder in Detailed level navigation.
    What you can Try is
    Role - -> workset  - - >Km Navigation Iview (Stating path of Folder to be Displayed ).
    It will work fine.
    Please reward pionts if helpfull.
    Regards.
    Vinit Soni.

  • How to collapse all folders in list view

    If you search on this topic, there are many discussions about it without a real solution.  The challenge is the following: you have a list view of many folders, some of which are expanded, and some are not ( to expand/collapse a folder you click on the little triangle by the name of the folder ).  Lilke many users on the apple discussions I wanted to collapse all of them with one action instead of clicking on each folder individually.
    I found a solution on superuser.com:  first, in the list view, select all with command-A, and then press Command-(left arrow).  To expand all, do Command-A followed by Command-(right arrow).
    I hope that helps, and my apologies if this solution has been given before, but I didn't find it with my 5 minute search. 

    Thank you very much! Exactly the solution I was searching for. Aloha!

  • Yosemite collapse all folders in finder

    Hello Dear Sirs,
    since i installed Yosemite when i open one folder of my external hard drive all folders ins side that folder are expanded and there is a too large file list which makes my system slow and i can't find the option to switch to the classic view. I don't want that all folders shown up expanded. Please help me fixing and solving.
    Kindly Regards.

    Hello Dear Sirs,
    since i installed Yosemite when i open one folder of my external hard drive all folders ins side that folder are expanded and there is a too large file list which makes my system slow and i can't find the option to switch to the classic view. I don't want that all folders shown up expanded. Please help me fixing and solving.
    Kindly Regards.

  • User selecting default display page from detailed navigation

    Hello all,
    Can individual users select a default display page from the detailed navigation section? For instance, say I have a list of pages in the detailed navigation each showing a BW report;
    Detailed Navigation
    Report 1
    Report 2
    Report 3
    Report 4
    So when the users navigate from the top level to here then 'Report 1' is automatically displayed. Say that towards the end of the quarter userX will be looking at 'Report 3' mostly while userY will wish to concentrate on 'Report 2', can the users themselves set their default? Or must this be done by the portal admin, rearranging the order of these pages in the assigned role or changing the display priority of them? But then it wouldn't be per user, if they shared the role.
    If the users cannot do this themselves is there a way to do it in Java perhaps?
    Thanks for you time,
    Patrick.

    Hi Detlev,
    We decided on an easy way through.
    Each page has to display a BW report, very simple. So we're going to give the users an iView where they get a list of all BW reports that they have access to (read from a text file). From there they select what they wish to be their default report (written to another text file).
    The default page (first on detailed navigation) reads the text file and displays the BW report found there in an IsolatedHtmlContainer. Not precisely what was wanted at the start but pretty much offers the same functionality.
    Thanks for your help, I'll read the doc. It's always good to know these things.
    Patrick.

  • How do I collapse all uncollapsed folders

    I have an issue that I have tried to tackle a couple of times as I learn to optimize my mac. Advance apologies to anyone that has helped in the past but I can't seem to get this to work.
    I would like to be able to collapse all folders throughout a Finder window. By which I mean to say I wish to select a folder and uncollapse all the contents and then do this to a number - say twenty - of other folders and all their subfolder contents.
    Right now I have to collapse each folder individually - which means I have to do this twenty times to get back to a fully collapsed state.
    I seem to have tried CMD, OPTION, CTRL, SHIFT and a number of other keyboard commands while collapsing one of the folders but it only seems to collapse the one folder.
    It doesn't seem like proper form to have to either run around and close each folder individually or alternately to close out of the Window completely and have to then find where you were at to open a new Finder window with all contents collapsed....
    Thanks for any help.

    Hi. Many thanks. I think this is where things broke down last time I tried to get this to happen and I got sidetracked with other issues.
    While holding down the option key, press the right arrow button.
    this expands all the folders.
    I get this behavior.
    The when you're ready to close those folders. Hold down the option key and press the left arrow.
    I don't get this behavior...
    Anyone have any ideas? It is actually much more important for me to get the second behavior explained here than it is to get the first.
    Thanks Chop....

  • Fixing the detailed navigation view.

    Hi
    We all know that we can expand or shrink the detailed navigation view. Is there any way to make the detailed naviagtion view immovable I mean it should have fixed width and it cannot be expanded or shrinked.
    Thanks in advance
    Srikant

    Hi DV,
    We can remove the expansion and shrinking of the navigation panel by removing the navigation panel header, using the theme editor. U cannot remove it as such but u can reduce the size to a minimum so that it wont be visible at all.
    The detailed navigation panel is an iview. It can be found in PCD>>Portal Users>>Std Portal Users>>Default Frame work page>>Desktop inner page. There u cna see the detailed navigation panel and u can edit its properties over there.
    Hope this Helps
    gEorgE

  • Expand all folders in the detailed navigation by default on click of Role

    Hi All,
    I have a requirement on expand all the folders in the detailed navigation by defalut when we click a Role in the Fist level navigation.
    Please have a look about our requirement as mentioned below.
    ->Role1(First Level Navigation)
       ->Wokset1(Second Level)
           -> Folder1(Detailed Navigation entry Folder)
                  -> Folder2
                       Page1
                       Page2
                  ->Folder3
                       Page3
                       Page4
                  -> Folder4
                       Page5
                       Page6
    When the user clicks on Role1 then automatically all the folders in the detailed navigation should be expanded by default then user could see all the pages displayed in all folders. currently the functionality is collapsed all the folders by default in the detailed navigation then user has to expand the folders manually.
    Regading this issue, i had seen couple of threads on the same but getting confusion what is the exact solution for the solution.
    in those existing threads some people has mentioned that need to change code in the lightdetailnavigation.par or some other mentioned that it is not worked out even do the required changes in the code of light detail navigation part file. there is no clarity in the existing threads for getting  the exact solution . please let me know what are the properties needs to be changed at folder level or workset level to make sure all the folders should be expanded by default in the detailed navigation??
    Currently we are using portal 7.0 version.
    Any pointers in this regard would be the great help to us??
    Thanks in advance.
    Regards,
    PortalUser
    Edited by: PortalUser100 on Jan 22, 2011 10:15 AM

    Hi,
    To expand all the folder by default, we need to set the property of the detailed navigation tree.
    Open your framework page in the content administration.
    Check on the detailed navigation check box and click on the properties button.
    In the properties, set the value of initial state= OPEN .
    This will expand all the folders by default.
    Hope you understood.
    Regards
    Nishant

  • Can you default a detailed navigation folder to an "open" state?

    We have a workset containing iViews, and the detailed navigation on the left displays the iViews within a folder as we would like.  However, the folder defaults to being closed, thus making the user click twice to arrive at an iView inside.  Is there a way to default that folder to being open?

    Hi Kris,
    Its is not possible to have a folder expanded by default when you have all other parallel folders are closed.
    Either you can expand only the root folder on DLN or expand all the folders. Expanding all the folder option would need DLN .par customization.
    Set the below settings to open launched folder:
    Go to Your current Framework Page -> Desktop inner page -> Open Detailed Navigation iView and set the property ->  Open Folder when Launched as yes.
    Initial State of Navigation Panel option shall expand/close the entire DLN.
    Ram

  • Setting a default folder view for all folders in Windows 7

    How do you set up a default folder view of "List" for ALL the folders in Windows 7 including the optical drive?  
    Artoo

    I just installed windows 7. Are you seriously telling me that i now have all folders with mp3s in them AUTOMAGICALLY (THANKS FOR THE HANDY HELPING HAND THERE MICROSOFT!!!) set to some designers whim of what an mp3 folder "SHOULD" look like?
    Well i was going to write a big rant, and indeed did, but then i was doing some more research and it seems like i just made everyones day and solved the problem (partially). Or well THIS guy did:
    http://www.howtogeek.com/howto/16694/customize-the-five-windows-folder-templates/
    After you’ve clicked OK, visit some of the other folders in your file system.  You should see that most have taken on these new settings.
    What we’ve just done, in effect, is we have customized the General Items template.  This is one of five templates that Windows Explorer uses to display folder contents.  The five templates are called (in Windows 7):
    General Items
    Documents
    Pictures
    Music
    Videos
    When a folder is opened, Windows Explorer examines the contents to see if it can automatically determine which folder template to use to display the folder contents.  If it is not obvious that the folder contents falls into any of the last four templates,
    then Windows Explorer chooses the General Items template.  That’s why most of the folders in your file system are shown using the General Items
    template.
    Changing the Other Four Templates
    If you want to adjust the other four templates, the process is very similar to what we’ve just done.  If you wanted to change the “Music” template, for example, the steps would be as follows:
    Select a folder that contains music items
    Apply the existing Music template to the folder (even if it doesn’t look like you want it to)
    Customize the folder to your personal preferences
    Apply the new template to all “Music” folders
    A fifth step would be:  When you open a folder that contains music items but is not automatically displayed using the Music template, you manually select the Music template for that folder.
    Anyways, sorry that explanation doesnt do it justice. I have spent waaay too much time trying to figure this out already. Also that link doesnt say how to 1) copy templates (are they file or registry based?, didnt do research) 2) if you can distable templates
    or the automatic re-templating of folders.
    THAT is what i want to know! as it is much more maintance then its actually worth...
    but once i had set 5 default types to, the exact same thing... it now doesnt matter if it automagically switches it. SUCK IT MS AUTOTUNE!!!
    Its bloody hard to frame this question too. What can you say about this? "folder changes to mp3" "customize folder types windows 7" "windows 7 folder changes to mp3" "dont automatically change folders to mp3" "how
    to change mp3 details column for good" "automatically change column order win 7 mp3"
    The search that actually solved it:
    "do not apply default template to mp3 windows 7"
    good luck, this worked for me!
    EDIT: also i just noticed that neonr already answered this above. i just didnt read it carefully enough. anyways i guess i will leave this and mark his as answer.

  • Tree in Detailed Navigation - open all sub trees

    Hi,
    by default, the detailked navigation tree is closed.
    How can I make, that, by default, all detailed navigation view trees in the detailed navigation panel are open, i.e. expanded, when ou select a menu item?
    thanks
    hs

    Hi,
    I am not I understood the question, but however, I'll try...
    There is a property called "Initial State of Navigation Panel" it's located under "Navigation" category in the Property Editor. This property Determines the initial display state of the navigation panel when the current object is selected in the navigation hierarchy at run time. 'Automatic' opens the navigation panel only when it contains items to display, otherwise it will be closed. Choose 'Open' or 'Closed' to force the initial display state.
    Hope it's help.
    Best regards,
    Shimon.

  • Detailed Navigation is closed by default

    Hi,
    The Portal with all packages is running fine in test system.
    The first Page (welcome) is displaying some KM-News in the content section and has some links in the detailed navigation (DTN).
    Then, I exported the ivies/pcd with all roles etc. to the production system.
    Now, whatever value I put in "Initial Display" in the roles (Automatic/Open), the first time, the user logs on, the DTN is completely close. If if reload the page, everything is fine and the DTN is open.
    I also checked the default framework page, but it is set to "OPEN" as well.
    No clue no more.
    Thanks for any help

    Hi,
    did you modified the TLN display level and detailed navigation display from level options?
    it looks the problem caused by this.

Maybe you are looking for

  • Trouble printing from a MacBook to a network printer wirelessly

    I have a Samsung printer connected to a Windows 7 machine and am attempting to print from a MacBook. I try the usual AdvancedWindows+SMB-addressShare-name technique. When I go to print, the MB asks for My Username and password for the W7 box. Upon en

  • Cifs - need to connect to share server (can see folders but can't see files)

    This is driving me nuts... CASE ONE: before the upgrade, i could view folders and files on the shareserver (at a company). but after the upgrade, things went downhill... we can no longer use "smb://ServerName" so we are forced to use "cifs://ServerNa

  • Add attachments using workflow api throwing error

    Hi, I am getting the following error when i am trying to add attachments using worklist API.      Missing class: invokeBPEL.MetaData      Dependent class: com.evermind.io.ClassLoaderObjectInputStream      Loader: oc4j:10.1.3      Code-Source: /D:/pro

  • Getting Error in Data Collection - FDPSTP failed due to ORA-23401

    Hi All, I am really new to ATP Setup and after referring to the Metalink notes, I have compelted the setups required to calculate ATP in Sales Order Window. But when I am submitting the Data Collection which is the last step I guess, the program is e

  • COPA document not generating - very very urgent

    Hi to all, I configured COPA and our scenario is Make to order. While doing of billin copa document is not generating. I went to KE4S to transfer billing documents to copa manually it is saying that " document XXXXXXXXXXXX is not profit related and t