Can you programmatically change properties of the Detailed Navigation?

Is there an SAP EP6.0 API call to allow one to programmatically change the width of the Detailed Navigation, or programmatically hide or unhide it?  I realize that this can be preset, but I am interested in dynamically changing these values.
Thanks,
John

Hi!
If you look to the sourceCode of your EP (rigthClick->show source) you'll see that some JavaScriptFiles are loaded. One of them is called:
"WAandNavPanel.js"
Inside this file are some nice functions like "collapsePanel()" and so on. I didn't try, but perhaps you can use them or they can show you the right way.
http://<host>:<port>/irj/portalapps/com.sap.portal.layouts.framework/scripts/WAandNavPanel.js
Regards,
Christian

Similar Messages

  • How can I add an iView to the Detailed Navigation itself

    How can I add an iView to the Detailed Navigation itself and hides the other hyperlinks?

    To add an iview on the Detailed navigation side of a page:
    1.Double click the page which brings up the page editor.
    2.Click the Display dropdown box and choose Dynamic Navigation.
    3.Add an ivew to it.Save and add the page to a role to see the results.
    if this is not u wanted, post back here.
    Regards.

  • Can you programmatically change the width of columns in a table control\indicator

    Is it possible to programmatically change the width of columns in a table control\indicator ie to fit to width of the data or in my case the header information.

    Create a property node (or reference) and use the 'Active Cell' property to select which column you want to change and then use the 'Cell size'--> 'Width' property to change the size.
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
    Attachments:
    table.vi ‏33 KB

  • Can you programmatically change the iView Title?

    Hi,
    I have a custom iView, and a requirement is to have the iView tray title changed depending on the content shown.
    Is it possible to have the iView Title changed from the custom iView code?

    Hi,
    Check this code:
    Just have these two methods and use the setPCDContextTitle() method
    public static void setPCDContextTitle(
            String currentPcdLocation,
            Locale locale,
            IUser user,
            String title)
            throws NamingException, PrivilegedActionException {
            IPcdUtils pcdUtils = PcdAccess.getPcdUtils();
            IPcdAttribute basePcdAttribute =
                pcdUtils.createPcdAttribute(PcdAttributeValueType.TEXT, IAttrPcmGeneral.ATTRIBUTE_TITLE);
            basePcdAttribute.set(locale, title);
            IPcdAttributes basePcdAttributes = pcdUtils.createPcdAttributes();
            basePcdAttributes.put((Attribute) basePcdAttribute);
            PcmAdminBase adminBase =
                (PcmAdminBase) getPCDContext(currentPcdLocation, PcmConstants.ASPECT_ADMINISTRATION, user);
            IPcdContext context = adminBase.getPcdContext();
            context.modifyAttributes("", DirContext.ADD_ATTRIBUTE, basePcdAttributes);
        public static Object getPCDContext(String currentPcdLocation, String aspect, IUser user)
            throws NamingException {
            Context pcdContext;
            Object currentObject = null;
            Hashtable env = new Hashtable();
            env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
            env.put(Context.SECURITY_PRINCIPAL, user);
            env.put(Constants.REQUESTED_ASPECT, aspect);
            try {
                pcdContext = new InitialContext(env);
            } catch (NamingException e) {
                logger.severe(e, "Error in PCDPath");
                throw e;
            try {
                currentObject = pcdContext.lookup(currentPcdLocation);
            } catch (NamingException e) {
                logger.severe(e, "Error in PCDPath");
                throw e;
            return currentObject;
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers

  • How can you set the default width of the 'Detailed Navigation iView'?

    Hello,
    we would like to reduce the default width of the 'Detailed Navigation iView' in order to save some screen space.
    So far, we havn't found the right item in the portal admin to do this.
    Any help would be much appreciated! Thanks in advance.
    Frank Schülke, E.ON Ruhrgas, Germany

    Hi Frank,
    You can change the width of this navigation iview  by changing the value of "defaultExpWidth" in the file WAandNAVPanel.js present in the par file com.sap.layouts.framework.par from default value 220 pixels to the value you want.
    upload the changed par file and restart the server.
    Hope this helps,
    (if not do get  back )
    Regards,
    Uma.
    Do award points for helpful answers in SDN!!!!!!!:-)

  • Can you programmat​ically change a picture control frame/bord​er

    In a platform neutral manner can I programmatically change a picture control frame/border
    Solved!
    Go to Solution.

    You can make it look that way using many differnt methods.
    The simplest is to make the border transparent and put a boolean behind the picture. Size the boolean so it looks like it is the border of the picture. Change the color of the boolean and you are on you way.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Can you dynamically change an LOV on the parameter form based on other params?

    Can you dynamically change an LOV on the parameter form based on other parameters? For example, based on a entered purchase order number, create an LOV of the purchase order lines that belong to the entered PO #.

    Hi
    Accouding to my knoledge you can't do it.
    If you want to build lov for that particular
    value, you can do it in Forms.
    Vijay

  • You purchase properties in Arab game (Sultan desert), while the procurement process and the discount amount lost contact wrote the running game has been cooperation from them but the problem!  I can't buy any properties in the game itself and the science

    You purchase properties in Arab game (Sultan desert), while the procurement process and the discount amount lost contact wrote the running game has been cooperation from them but the problem! 
    I can't buy any properties in the game itself and the science I don't use jailbreak and two free jailbreak is there a program hindered the procurement process so that I can buy anything from the store

    Hello milkisoo,
    Wow! Purchasing a new computer and monitor should be a fun and exciting experience, and instead, it sounds like it’s turned into a complete nightmare. I can only imagine your disappointment when you found two charges relating to its purchase on your debit card account, and I’m sorry for any aggravation this caused. 
    As I want to provide you some piece of mind, I pulled up your order number using your email address attached to the forum. After review of its payment information, I found we collected only one payment.  However, when orders are first placed on BestBuy.com, a pending authorization should show up on your bank card to make sure funds are available for the order until it is fulfilled. From there, the authorization should drop off and the collection charge should appear.  This is the case for your one charge of $1,051.69.
    It also sounds like an error may have occurred when you initially attempted to place your order,  resulting in one of your gift cards not registering properly and the order not being completed.  Your card’s issuing bank doesn’t appear to have recognized this and pushed through the pending authorization. This occurred a second time when your account information didn’t quite match up with what we had on file. Please know that we haven’t ordered a collection of these funds and your issuing bank should release the two pending authorizations within 5 to 7 business days.
    Thank you for posting.
    Alex|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Can't find services in the Detailed Navigation when open from Overview page

    Hi,
    We have developed a custom area page for our ESS application. The area is visible in the Overview page as well as in TLN (Top leavel navigation). When we open the area from TLN the services under this area are visible in the Detailed Navigation(DN) on the left. But when we are trying to open the area from the overview page we can't be able to see the services in the DN and we have realized that the focus is on "Overview" in the TLN. In DN also only the Overview link is coming. But for other standard ESS applications the focus in the TLN is changing.
    Please help to find the solution.
    Thanks,
    Sekhar

    Hi Sekhar,
    Did you get any solution for this issue. I am facing the same situation.Please advise.
    Thanks,
    -Ashwani

  • Dynamically changing the detail navigation

    Hi all,
           can anyone please tell me how to change the detail navigation  dynamatically..
    Regards,
    Jeyasingh Samuel

    Hi Srinivasa,
    There are 2 things you can do:
    (1) You can simply set the invisible property for the iViews (I think this is what you want).
    You create a settings page which lists all the iViews, and when the user clicks a button, the page gets all the settings for all the iViews and sets the invisibility property for all of them.
    The invisibility property indicates whether to display this object in the TLN/DTN.
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    env.put(IPcdContext.PCD_PERSONALIZATION_PRINCIPAL, request.getUser());
    iCtx = new InitialContext(env);
    //Create loop of all objects 
        String pageID = "portal_content/DanielContent/DanRole/Folder1/Folder2/Page1";
        IPage myPage = (IPage)iCtx.lookup(pageID);
        myPage.putAttribute(IAttriView.ATTRIBUTE_NAVINVISIBLE,"true");
        myPage.save();
    The above code is for a page, but you can do the same for an iView.
    (2) If you iViews are in a page, and do not appear in the navigation tree, but you want to make them invisible, you can set this property on the iViews.
    myIview.putAttribute(IAttriView.ATTRIBUTE_AVAILABILITY,IAttriViewValues.AVAILABILITY_VALUE_AVAILABLE);
    myIview.save();
    Either way, make sure to set the personalization environment variable when you do your PCD lookup, as shown above. Otherwise, the changes for one user will affect all users.
    Hope this helps.
    Daniel

  • Changing the Detailed Navigation link

    Dear All,
    I need to change the Detailed Navigation link so that it is right aligned and the arrow image is followed after the link.
    Ex.    Sales Reports =>
    when it is opened then the following should be the view
              Sales Reports *
                       Report1  o
                       Report1  o
    Do let me know if this can be achieved by any theme settings; if not then what should be the approach for the same.
    Regards,
    Samir

    Hi Samir,
    This is not possible by just theme settings, For this you need to modify the Detailed Navigation Par file.
    Download the the Detailed Navigation par file open the jsp page and saw the columns .
    Regards,
    Piyush

  • How can I programmatically change a label?

    Hi everyone,
    I have a 2-D array that I wish to populate with different sorts of data.  Depending upon the data, the names of the rows and columns may change.  Arrays have to have identical labels and I suppose I could simply populate a string indicator, but frankly, that looks like trash.
    How can I programmatically change a label of a column or a row in a 2-D array?  Should I consider using a table?  I want it to look nice.
    Thanks,
    Jason

    Hi
    I do not think you are able to change the label programatically.
    But you might consider to use Captions instead of labels. You can hide labels and make captions visible programatically, and you can change the text of the caption and size (see enclosed vi).
    take care
    Pawel
    Attachments:
    caption.vi ‏20 KB

  • HT1766 can you have multiple iPhones in the same iTunes account without overwriting each phones content?

    Can you have multiple iPhones in the same iTunes account without overwriting each phones content?

    Hi sandexpress,
    As Ocean20 indicates, you want to make sure that you have automatic syncing turned off. In iTunes Preferences under Devices, make sure you have "Prevent iPods, iPhones, and iPads from syncing automatically" checked. Then connect each iPhone, and make sure that "Manually Manage Music and Videos" is checked on the Info page for each of them. Then go into each page for each device, and select what you want to sync to that particular device. (you would do this one device at a time - complete the steps for one of the phones, then connect the next one and do the same thing).
    With this kind of setup, you can modify what will sync at any given time for a particular device once you have connected it to iTunes, but before you click on the Sync button at the bottom of the screen. If you want to change some sync options on a particular device, you would just go into the page you wanted to change (Music, Photos, Apps, etc.), make your changes, and then Sync.
    If you do not have any changes, you can just hook up the phone and click on Sync.
    Hope this helps.
    Cheers,
    GB

  • Can you please help me out the Info Cubes info for Budget Execution?????

    Hi,
       Can you please help me out the Info Cubes info for Budget Execution and Cash Management.
    Thanks in advance,
    Andy

    Take the memory card out of the camer and put it in a card reader.  When it mounts on the desktop select it and try to change the name.  However, that might make it incompatible with the camera.  You'll just have to try and see.
    OT

  • Can you provide a list of the Supplement Option content?

    Hi,
    I have a client who is considering the supplement option but are wondering what it contains. I have explained what it is (patches, add-on, best practices documents, etc.) but they would like a more detailed list. Can you provide a list of the different components they would find on the website?
    Thanks

    Resending,
    A friendly reminder that this client is waiting on this information before buying the supplement option.
    I remember from my time at Oracle that there used to be such a list of items available on the supplement option.
    thanks

Maybe you are looking for

  • Export to excel and csv

    I have table in a jsp and an export button. When user clicks on the export button the data in the table should be exported to either text, csv or excel depending on the option user chhoses. Can anyone help me with this? How to export to excel and csv

  • Page layout for smartforms

    dear all, I have made 2 smartforms for checmical and mechanical print.one has to be printed in landscape and the other has to be printed in potrait format.The problem is the user wants the smartforms to be called from the same program and hence every

  • Z10 BBM Failure

    I have had my Z10 since it was first lanunched last winter. A week ago the BBM failed. I can see BBMs come into my hub. To the to the sender it appears as though the message has been delivered but not read. When I try to open the message I am told I

  • For xml explicit creating wrong hierarchy

    hi we run 2012 std.  My query that is generally of the form u see in block 1,  which without xml phrase creates flat results u see in block 2 is putting all address info under last contact incorrectly.   Does anybody see what i'm doing wrong? SELECT

  • How to set classloader SearchPolicy to "Local-First"

    Hi, I am wondering how to set the classloading search policy of OC4J to "Local-First", so not only for web apps. Basically what I'm trying to achieve is to incorporate both toplink and commons-logging/log4j libraries in my .EAR without having to worr