Hide 'Home Logout Preferences....' links in a OAF page.

Hi guys:
I need to develop a customization as following: Add controlling logic on a standard OAF page's button before
submit, if the data cannot pass the check logic, it will open a new window and show the failed data.
now , I have customized a new OAF page to display the failed data , and personalized the controller class of the
standard button to open the new OAF page in a new window. It works fine, but I want to hide the 'Home Logout
Preferences....' links in the new OAF page.
how to setup it? is there any profile can be used to hide the links? I know Diagnostics ,Personalize can be hidden
by profiles.
thanks a lot!
David

Hi,
I tried the same code. I am getting the following error. Could anyone help me how to solve this error?
Error(74,1): class OAGlobalButtonBarBean not found in class XXX.oracle.apps.po.requisition.webui.CustomPageCO
I am new to OAF. Looking for some help.
Thanks
Edited by: 803923 on Oct 25, 2010 11:10 AM

Similar Messages

  • Hide About this page,Home,Logout,Preferences links

    Hi all
    I have a requirement to hide About this page,Home,Logout and Preferences,Personlaize page links.
    How can i do that?
    To hide Personalize page link i know one profile value is there
    FND: Personalization Region Link Enabled if i set it to No,Personalize page link will not come but Requirement is They want only this links to be not rendered on this particluar page,For other pages,link should come.
    Is there any property at page level,which i can set?
    Can anbody throw some points?
    Thanks
    Hitesh

    No you don't need to change the layout all what u need is to implement the following code
    OAPageLayoutBean page = pageContext.getPageLayoutBean();
    // You must call prepareForRendering() if the following code is
    // included in a pageLayout controller. If you add it further down
    // in the layout hierarchy, the menus will be fully processed so you
    // don't need to do this.
    page.prepareForRendering(pageContext);
    OAGlobalButtonBarBean buttons = (OAGlobalButtonBarBean)page.getGlobalButtons();
    buttons.setRendered(false);
    that's it
    keep it up
    Ahmed Alshaer

  • R12 - Help for Disabling of Home and Preferences links

    Hi all,
    I am trying to disable the home and preferences link (the global links) for a OAF page. As per the suggestion provided in the below link, i have made changes to the code.
    [Thread: Hide 'Home Logout Preferences....' links in a OAF page.|http://forums.oracle.com/forums/thread.jspa?threadID=1097841&tstart=135]
    This works just fine when run from JDev. However, when ported to server and running the same, the global links still get displayed.
    After moving the Controller class to server, apache bounce was carried out.
    Help on this will be much appreciated.

    Sorted! Changed from WPA2 to WPA/WPA2 and everything is OK!

  • Home and preferences link disappeared in my custom page

    Hi. I created 2 custom pages and they are working fine. I see everything including the global links
    But after I created tabular entry in the menu I don't see global links anymore
    Steps I did:
    Created a new menu X with "Menu Type" Home Page
    It has 2 entries . Each one is a function (lets call them A and B). A calls custom page 1 and B calls custom page 2
    For each function in parameter section I provided:
    For Function A: &OAHP=X&OASF=A
    For Function B: &OAHP=X&OASF=B
    As a result, when I access menu X I see 2 tabs, first one displays page 1 and second one displays page 2
    But I don't see Global links anymore (home, preferences....)
    I tried to add the following code to processRequest, but it didn't help
    //show links
    OAPageLayoutBean page = (OAPageLayoutBean)pageContext.getPageLayoutBean();
    page.prepareForRendering(pageContext);
    OAGlobalButtonBarBean buttons = (OAGlobalButtonBarBean)page.getGlobalButtons();
    buttons.setRendered(true);
    buttons.setTabularFunctionCode();

    If you haven't restarted your Mac, do so and see if that helps.
    If not, in Safari, press Command , (comma) to open Safari Preferences then select the Privacy tab.
    Click Details then type in the name of the genealogy site then remove all items from the results.
    Then press Command + Option + E to empty the Safari cache.
    Quit and relaunch Safari to test.
    Message was edited by: CS

  • How to hide drilldown field from a OAF page.

    Hi,
    I have a requirement to hide few drilldown fields from one of the seeded OAF page. through personalization I am able to hide all the fields except the drilldown fields. Can anyone tell me why I cannot hide a drilldown field using personalization. Is there any other way to achieve it other then extending the controller.
    Thanks in advance.

    Let us know whether this forum solve your issue or not?
    Re: Hide About this page,Home,Logout,Preferences links
    Thanks, Avaneesh

  • Logout link disable on OAF standard page

    Hi guys,
    Plz tell me how to disable logout link on all OAF pages in R12 ? Is it possible to through page personalization or need to some customization/extension of oaf page ?
    My requirement is like.... after the user login, he is not able to click on logout link ......in that case he need to close window through close button (X) of Internet Explore.
    plz guys put ur suggestion & solution and help me out...............................
    Thanks

    Hi,
    As per Dev guide, we can hide the global links for seeded OAF page using below code...
    At runtime, there are rare occasions when you might need to do the following (we say "rare" because, by
    definition, global buttons are universally applicable, so it is fairly uncommon to disable or hide them if a user
    has function security access):
    To hide or disable an individual global button, use the following processRequest code:
    if (< condition >)
    OAPageLayoutBean page = pageContext.getPageLayoutBean();
    // You must call prepareForRendering() if the following code is
    // included in a pageLayout controller. If you add it further down
    // in the layout hierarchy, the menus will be fully processed so you
    // don't need to do this.
    page.prepareForRendering(pageContext);
    OAGlobalButtonBarBean buttons = (OAGlobalButtonBarBean)page.getGlobalButtons();
    // Note OA Framework automatically assigns global buttons their corresponding
    // function name, so this is how you find them.
    OAGlobalButtonBean button =
    (OAGlobalButtonBarBean)buttons.findIndexedChildRecursive("<FUNCTION_NAME>");
    238
    // Note that you wouldn't do both at the same time...
    button.setRendered(false); // Hide the global button, or
    button.setDisabled(true); // Disable the global button so it renders, but is
    not selectable
    To hide all the global buttons, use the following processRequest code:
    Warning: Hiding all the global buttons is not recommended; you must get UI team approval before doing this,
    and you must verify that there isn't a declarative alternative (for example, you could create multiple "Home
    Page" menus for your application and alternate between the one with and the one without global buttons).
    if (< condition >)
    OAPageLayoutBean page = pageContext.getPageLayoutBean();
    page.prepareForRendering(pageContext);
    page.setGlobalButtons((UINode)null); // Must come after prepareForRendering()
    // And, if for some reason, you don't want to display any tabs,
    // do the following.
    page.setTabs(null);
    The standard global buttons that appear in all applications (Home, Logout, Preferences, and Help) are
    included in a seeded menu called ICX_STANDARD_GLOBAL_MENU.
    In u r case,
    ICX_LOGOUT--- Function Name attached to ICX_STANDARD_GLOBAL_MENU.
    Logout--- is the User Function Name
    Refer metalink note *1308823.1* this helps how to remove preferences link on all oa pages.. similarly u can use this for logout.
    Hope this helps...
    Thanks,
    Raghav.

  • How to hide standard page links on oaf page

    hello buddies,
    on the oaf page header section we have links like: "Navigator" , "Favorites" , "Home" , "Logout" , "Preferences" ..etc
    also, we have some links on the footer section like : "Privacy Statement" , "Home" , "Logout" , "Preferences" and copy right.
    I want to remove all these links on my custom page except for "Home" and "Logout" is this possible?
    please advise.
    Thanking you all to find some time to read my post!
    Jenny

    Hi,
    May be you need to remove the the links from the global Menu, ICX_STANDARD_GLOBAL_MENU or the related global menu in that page.
    See one of my old thead
    Re: adding a new link in global button bar
    and the blog
    http://apps2fusion.com/at/kv/321-oa-framework-copyright-privacy
    might be helpful.
    Thanks,
    With regards,
    Kali.
    OSSi.

  • How to disable link on R12  suppliers page using OAF personalization

    Dear All,
    My client asking to hide/disable banking details link on R12 suppliers page ,
    Please let me know if there is any solution using OAF personalization.
    in personalization link i am not able see any link items ,where as in about this page its showing all the link attached to page .
    Thanks & Regards
    Raju

    Hi Raju,
    Plz go to the region containing the links. You should find the links. Try change render property accordingly.
    Regards
    Sanujeet

  • Printing BI Publisher report from OAF Page

    We have a requirement to display a BI Publisher Report on the invoke of a Button/Link from a OAF Page. One way to achieve this without invoking a concurrent program is by following the method described in the link below :-
    http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework
    In the current scenario, we already have developed Data Definition (XML) and Template (RTF) for the report and is used too. We want to use the same Data Definition and Template but invoke from a OAF Page. Is there a way to achieve this?
    In the method mentioned in the above link, we would have to create many VO's to generate the XML, since the XML needed in our case is a detailed one, we would need to create many VO's to achieve this. Hence looking out for a way in which we can invoke the Data Definition (XML) already registered in the BI Publisher.
    Any inputs to achieve this would be helpful.
    Regards
    Naveen

    Naveen,
    You need to read the documentation here:
    http://www.oracle.com/technetwork/middleware/bi-publisher/documentation/xmlpdocs-084437.html
    All of the information you need is in these:
    Administration and Developer's Guide
    Report Designer's Guide
    JavaDocs
    With the BI publisher (XML publisher) Java APIs, you can call a data template with parameters and get the XML from that.
    For an example that should be very close to what you need to do, see the comments section of this page:
    http://apps2fusion.com/at/ps/294-bi-publisher-document-viewer-common-region-embeded-report-output-in-oa-framework-page-part-2
    Find the comment titled: "Alternative: BlobDomain from data template"
    The great thing about using a Data Template is that, while you are NOT concurrent program dependent, you can still set up a concurrent program to run it for other purposes if you wish. Data Templates offer a lot more flexibility.
    Kurz

  • OAF pages open up with error when FND_VALIDATION_LEVEL profile set to ERROR

    Hi,
    We get error “You have insufficient privileges for the current operation. Please contact your System Administrator.” when we access the OAF page on a click of a link .
    On a click of a link in a OAF page a new OAF page should open up. This is achieved by following piece of code
    String javaS = (new StringBuilder()).append("javascript:openWindow(top, 'OA.jsp?page=/XXX/oracle/apps/cs/XXX/XXX/webui/ViewRulesPG&paramRoot=RULES&reportname=").append(strViewRepName).append("&retainAM=N&addBreadCrumb=N','modal'").append(",{width:screen.width,height:screen.height-30,top:0,left:0").append(",resizable:false},true, 'document', null);void(0);").toString();
    bodyBean.setOnLoad(javaS);
    This works fine when the FND_VALIDATION_LEVEL is set as 'None' but gives the error when the profile is set as 'Error'. We can't go with this work around.
    Please suggest
    Regards,
    Mrugesh

    FND_VALIDATION_LEVEL is a profile option that should always be set to ERROR. It is not advisable to set it to NONE, just to enable your javascript. The profile ensures that the page is well secured when accessed through Oracle Applications, applies the necessary security similar to seeded OAF pages. OA Framework does not support javascript functionality such pop-ups (you can do it but ) but does not guarantee that the page is secure from outside world (web traffic or cross-browser attacks) when the FND_VALIDATION_LEVEL=None. Work with Dialog pages instead of pop-ups or otherwise limit the page functionality, as javascripting is not recommended in OAF pages.
    -Vikram

  • Diasable the personalize page,prefernce,Home,Logout links in the page

    Hi all,
    I want to disable the global links(personalize page,preferences,Home,Logout links) in my custom page and i want add a new link/item to that global link section on the top right corner of the page, is it possible if such please explain how t do this.

    Hi,
    Try the below code Do certain modification by refering Developer Guide. Due to the time constraint i am unable to test it.
    String OkUrl=APPS_HTML_DIRECTORY + "OA.jsp?OAFunc=ICX_LOGOUT;
    OALinkBean returnLink =  (OALinkBean)createWebBean(pageContext, OAWebBeanConstants.LINK_BEAN, null, "returnLink");
    returnLink.setDestination(OkUrl);
    {code}
    Regards,
    Gyan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to change the default Layout Of the Error Page (to hide Home link)?

    How to change the default Layout Of the Error Page (to hide Home link)?
    If a user want to view some page that he/she don't have access to view it, a error page with this message will be displayed.
    "You do not have permission to perform this operation. (WWC-44131)"
    The error page, have in the Upper right page, Home link and Help link.
    My question is, How to Hide HOME link and HELP link in the Page?
    I try to find the template of the page, but failed to do that.
    Can anybody help?..it urgent.
    Thanks.

    Modifying the error page is not supported in the current release of Portal (9.0.2). You will be able to do this in the upcoming 9.0.2.6 release, planned for the end of May.
    Regards,
    Jerry
    PortalPM

  • How to hide "Create Requisition Request" link in MSS

    Hi All
    How to hide "Create Requisition Request" link which is in Recruiting services in MSS?
    Rgrds
    Sri

    Hello,
    Create Requisition Request is triggered by Home Page framework service MSS_HCM_RECRUITING_NEWREQ_REQUEST.
    In order to deactivate it, in customizing:
    SPRO-IMG:
    Cross-Application Components
      Homepage Framework
        Services
          Assign Services to Subareas
    On the entry :
    MSS_HCM_RC_REQREQUEST     MSS_HCM_RECRUITING_REQ_STATUS_OV     20
    You can set the position as blank, so it will not show up. You can also delete this entry.
    Regards,
    Bentow.

  • Hide a column (Includes Tax) on iExpense (create expense report) OAF Page .

    Hi All,
    I am having small issue and I have never worked on OAF before. I have a requirement where I need to hide a column on OAF page.
    When logged into iExpense home page, and click Create Expense Report
    1.     Log into iExpenses in Oracle Applications.
         (N) iExpenses > Expenses
    2.     In the Shortcuts below the Expenses Home tab, click Create Expense Report.
    3.     Enter the general information in the respective fields, such as purpose, expense cost center, approver, reimbursement currency, and expense template. Indicate if you have foreign currency receipts.
    4.     Click Next.
    5.     Enter the expense information: date, receipt amount, expense type, justification, and details.
    In the above page, one Check box option called (Includes Tax) column is there. I need to Hide this column from that page and that too only for a particular ORG.
    The main reason behind this is, that checkbox is always checked and users sometimes while creating expense report, unchecking that checkbox which is creating some problems in the tax side calculations.
    Any idea of how we can chieve this.
    Help Appreciated.
    Thanks

    If you are on the personalization page, you should be able to the page structure. It will all the page components. Find your relevant table, expand it and personalize the column you need to hide.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Mobile Home logout keeps hanging

    We have multiple machines that have problems logging out.
    When a user logsout, the message say's logout is not possible because running app is not quiting.
    Even wehen al apps are clossed. Only thing to do than is :
    - hard restart from ARD
    - shutting down by pressing on/off button
    - quit the windowserver from the Activity Monitor
    Message was edited by: Patrick Savelberg (Private)

    If you're managing the Portable Homes (home sync) preferences via Workgroup Manager, you need to adjust the items that are excluded on login/logout. Look in Workgroup Manager > Preferences > (select user, computer, computer group, or group) > Click Mobility. Then look in the Rules section for Login & Logout Sync. By default, ~/Library is excluded from background sync, but not from login/logout sync. (Did you exclude it there?)
    Another possibility is that you're excluding ~/Library/Application Support/Sync Services, which contains the Address Book data. That item *is excluded* from login/logout sync by default.
    --Gerrit

Maybe you are looking for