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.

Similar Messages

  • How to Disable an Item of OAF Standard Page through Personalization.

    Hi,
    My requirement is to disable an item of Standard Page through personalization
    so that users can't edit that field.
    I tried checking for Disable under Personalization Properties but didn't find Disable Property.
    Can any one give me an idea how to do that?
    Thanks in advance.
    Regards,
    Subramanyam.

    Hi,
    Do as suggested by Abdul Wahid.
    Please tell me which type of item is this like LOV, textbox...
    Regards,
    Reetesh Sharma

  • How to call OAF standard page from form by passing parameters?

    Hi,
    I have a requirement where I need to call a standard OAF page from Oracle form, I was able to call the page through personalization, but I also want to pass a parameter to the OAF page and query the OAF page using that parameter, could anyone please help?
    Note: Under the forms personalization I wrote the below code for parameters
    Actions --> Parameters--> ='contractLineId='||:OKS_LINES.ID
    Thanks,
    Bharat

    Hi Niladri,
    My requirement was calling the OAF page from standard form (menu), below are the steps that I followed,
    1) Get the OAF page function name
    2) Personalize the form, by calling the OAF page function
    a) Function Code: Give the OAF function code
    b) Parameter: Here pass the parameters
    example: ='contractLineId='||:OKS_LINES.ID
    Note: If you are calling from a custom form you can also try using fnd_function.execute to call the OAF page
    Thanks,
    Bharat

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Is it possible to disable the 'edit layout' link on the record detail page

    Is it possible to disable the 'edit layout' link on the record detail page? Not the homepages, I know there is a switch for that, but I thought there was one for the detail pages?
    I want to disable this as I dont want users saving their own layouts, they must stick to the related sections defined in the default layout. The problem is that if they are to have access to certain related lists when an opportunity is of a certain type but NOT other types. If they have saved the layout (using the 'Edit Layout' link), and change the record type, they will see related sections that have been set to 'Not available' in the default layout (ie step 4) for that 'type'.

    Robbo, at this time it not possible to disable the Edit Layout on the record detail page.

  • Logout link does not appeared in exception page

    When exception is thrown , the logout link is not appeared in the exception page. By default , we select error page in themes as two level tabs.
    Where can I get the error page for the themes. Is can i see the code for error page , if possible.
    Please help me out.
    Thanks,
    Sesha

    THANKS ITS WORKING FINE NOW>
    WE ARE USING 3.0.9. Actually there was a problem with the template which resulted in the Link not working.
    Thanks

  • How to hide welcome user and logout link for only specified pages

    Hi,
    I have few pages in my application like forget password page, in which i don't want to show logout link on top corner and welcome message. For rest other pages its ok. If I edit the template body for doing it then in all pages the welcome user vanishes, where i need to hide it for some specific page only.
    Please give some idea.
    Thanks,
    Chandra Bhanu

    Go to Shared Components/Templates.
    Find the page template that you are using and click Copy.
    Go into the copy and look for &USER. and #NAVIGATION_BAR# and delete.
    Go to each page that does not need the user and navigation and assign the new template.
    This will get rid off the user details and the navigation bar.
    Gus

  • Disabling button depending on the Value of a field in a standard page

    Hi,
    How can I disable a button depending on the value selected in a particular field of the same page? Is it possible to do so in a Oracle standard page? Please guide me in resolving this requirement.
    Thanks,
    Swagatika

    Swagatika,
    You can attach PPR event to the textinput field and use method
    pageContext.ForwardImmediatelyToCurrentPage().As process request method will be called again,here you can use method setDisabled(boolean) in OAsubmitButtonBean, to enable or disable your button!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Customer Standard page is behaving differently in two different instances Y

    HI Guru's,
    I am querying the data in one Customer standard page in support6 instance for eg: 27868 is a Acccount Number we are searching for this and we are getting the Data in this instance here the thing is the Account is Inactive and we can view even Inactive customers in this.
    Now we are seraching for the Customer Number(Acct. Number) same : 27868 in Support 3 instance now here the magic thing i found is i am unable to get the Data in this intance here this one also in backend it is Inactive Customer and this is also a Standard page there is no customization for this.
    Why these two instances are behaving like this if i search for a Same Account Number in Customer search page its a oracle standard page there is no customization.
    Support 6 -- Is Multi node having 2 nodes
    Support 3 -- Is Multi node having 3 nodes .
    Previously we have perform one customization we have changed the query in both the instances same query then also it is behaving like previous one, So we plan to remove the complete customization to both of the instances and tried so we are facing this Issue.
    Note : Support 6 having some Oracle Patches is different from Support 3 Patches means some patches is not applied in Support 3 instances.
    So, is there any issue of those patches and these are not OAF Patches its some Apps Patches.
    Please it's a High Priority issue for me so OAF Guru's update me your valuable answers to me so that i can check out why it is behaving like this.

    Hi
    I have removed my personalizations and customizations in all nodes like this,
    begin
    jdr_utils.deletedocument('/oracle/apps/ar/hz/components/search/server/customizations/site/0/HzPuiDQMSrchResultsVO');
    end;
    Commit ;
    begin
    jdr_utils.deletedocument('/oracle/apps/ar/hz/components/search/webui/customizations/site/0/HzPuiDQMSearchResults');
    end;
    Commit ;
    Next i have run jdr_utils.printdocument also in all the instances so i got these output
    Error: Could not find document /oracle/apps/ar/hz/components/search/server/customizations/site/0/HzPuiDQMSrchResultsVO
    Error: Could not find document /oracle/apps/ar/hz/components/search/webui/customizations/site/0/HzPuiDQMSearchResults
    in all the instances same , so now its a standard functionality right because i have reverted back my customizations.
    i have these two scripts because 1. this is for Vo substitution removed and 2. this is for two new attributes that i added before that was removed.
    Even i have checked the "About this page" link and then we tried to see the query and we got the standrad query only.
    Yes DBA bounced all the 3 nodes for Support 3 and in Support 6 also he bounced 2 nodes.
    The Database has only 1 common node and 1 $java_Top which is shared for all the 3 nodes for support 3 instance and for Support 6 instance that is diffrent $Java_Top .
    Edited by: Kiran Paspulate on Nov 16, 2012 1:43 PM

  • After substituting the new AM a LOV in the standard page stopped work (R12)

    I extended an AM in one of the standard Oracle Apps Page. After substituting the new AM, a LOV in the standard page stopped working.
    Do someone have a solution for this?
    thanks
    Lou

    Hi,
    thanks for all replies.
    Recap:
    In a std OAF page I need to add a image-link for each row to go to a custom OAF page and show a custom table contents details of linked master id.
    I added an image with personalization and create a dyanmic URI in extension of CO to pass id in a new page.
    Since here all works fine.
    Now, the problem is that I also need to call the procedures from DB to execute DML before access to the custom page.
    I added in AM extension of standard page, a code like this below:
    +public HashMap defPopulateDetails(String invoiceId, String checkrunId) {+
    CallableStatement st = null;
    HashMap returnValues = new HashMap(2);
    try
    +{+
    String stmt = "BEGIN XXLOUIS_PKG.ON_INSERT_DETAIL(P_INVOICE_ID  => :1," +
    +"P_CHECKRUN_ID => :2); END;";+
    OADBTransaction tr = getOADBTransaction();
    st = tr.createCallableStatement(stmt, 1);
    +// Bind the input parameters+
    st.setString(1, invoiceId);
    st.setString(2, checkrunId);
    st.execute();
    st.close();
    OAExceptionUtils.checkErrors(tr);
    +}+
    catch (SQLException sqle)
    +{+
    throw new OAException("ICX", "FWK_TBX_OBJECT_NOT_FOUND");
    +}+
    return returnValues;
    +}+
    Can I move it to the Controller ?
    My doubt is due to the fact that I thought was a good practice place validation logic in to CO
    and place all calls to DB procedures and VO into AM.
    If I can move this piece of code from AM in to the CO I belive have not other problems.
    thanks
    Lou

  • How to remove links pointing to the same page?

    I have PDF documents with Links which point to sections referenced (e.g. link of text "Section 2.2" points to the actual page number of "Section 2.2"), but as the links are created from cross-references during rendition from Word to PDF, there are cases that the destination page number and source page number of the links are the same (e.g. links of text "Section 2.2" on page 9 are created with the destination of page 9 which is the actual page number of "Section 2.2"), I want to remove all these links, but I don't know how to get the destination page, I check the API reference and find that "PDLinkAnnotGetAction" may work , but I don't know how to use it, could you check me codes below and advise ? Your help is really appreciated!
    PDPage page;
    ASInt32 i,i2;
    AVDoc avDoc = AVAppGetActiveDoc();
    PDDoc pdDoc = AVDocGetPDDoc (avDoc);
    int pageNum = PDDocGetNumPages(pdDoc);
    for (i = pageNum - 1; i >= 0; i--)
    page = PDDocAcquirePage(pdDoc, i);
    int annotNum = PDPageGetNumAnnots(page);
    for (i2 = annotNum - 1; i2 >= 0; i2--)
      if...
      PDPageRemoveAnnot(i, i2);
    My Product Information:
    Acrobat Pro 8.1.6, Windows

    Start by reading the PDF standard (ISO 32000-1) to understand Actions vs. Destinations.
    Then for each annot, you'll want to see which it has (and in the case of an Action, if it has more than one).  Then you need to parse the action or dest to see what it is and where it goes.  If you don't like it, then you'll delete it.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Tue, 25 Oct 2011 09:25:32 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: How to remove links pointing to the same page?
    How to remove links pointing to the same page?
    created by OALD<http://forums.adobe.com/people/OALD> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3989576#3989576

  • Firefox 3.6.2 Mac OS 10.6 go to craisglist or other web pages click on email address link and 1000s of empty pages are spawned. Have to kill process to shut down firefox.

    When using Firefox version 3.6.3 on Mac OS 10.6 experience the following scenario:
    Example 1 go to http://www.craigslist.org/about/sites
    click on any listing/classified ad
    click the link to email the owner.
    = 000's of blank tabs are than launched. =
    Found it necessary to kill Firefox in process list to shutdown.
    == This happened ==
    Every time Firefox opened
    == email links on most any web page are clicked on directly.

    Hello Doug.
    You may be having a problem with some extension or plugin that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?

  • Is there a way for my images that are links NOT to be denoted by whatever color i set my links to be in my page properties?

    Hi there.
    i have set my links to be black in my page properties.  i have somes images that i am using for links and i do not want the to have a black box tracing their outline.  it's messing up my design and tables.  is there a way for my images that are links NOT to be denoted by whatever color i set my links to be in my page properties?
    see attachment.
    thanks for sharing your knowledge with me.
    gina

    If you would like your NON-linked images to have a border, and only remove the border from linked images then this css:
    a img { border:none; }
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • How to give link to concrent/request seeded page with breadcrumb from apex

    Hi,
    I have given link to Concurrent request seeded page From apex for view the details of conc/req when it is submitted from Apex button. The conc/req page is opening. But I need breadcrumb to be given into the conc/req details page to go back to my Apex page. I dont know how to give this link.
    I tried with OAWebBeanConstantes=ADD_BREADCRUMB_YES and also I tried with addBreadcrumb=Y with the URL of apps conc/req details page(MONITOR Page).
    Please someone help me ,How can I give breadcrumb to the apps page to move back to Apex once details are seen.
    Thanks
    Alaka

    Hi All,
    Please someone tell me how to resolve this...?? I have already tried with the breadcrumb as I mentioned above. But from OAF to concurrent request details (Requests) page breadcrumb feature is supporting. From Apex to that page why it is not supporting. Is there any other way to do this.?
    Thanks
    Alaka

  • How do I disable the Firefox allow page display

    How do I disable the Firefox allow page feature.
    when I click on allow, it completely knocks me out of the website in which i have to log in again.

    Uncertain of your question. If you are getting a re-direct to another page after signing in (common occurence after signing in) check the following setting:
    *''Firefox button > Options > Options (or Tools > Options) > Advanced > General (Accessibility section), '''<u>un-check</u>''' "Warn me when websites try to redirect or reload the page"''
    Advanced options panel - https://support.mozilla.org/en-US/kb/advanced-settings-browsing-network-updates-encryption<br />
    Link to other options panels - https://support.mozilla.org/en-US/kb/firefox-options-preferences-and-settings
    Other- You should check your plugins and update as needed.
    #Check your plugins - https://www.mozilla.org/en-US/plugincheck/
    #Seriously out of date and subject to known vulnerabilities - '''''Next Generation Java Plug-in 1.6.0_29 for Mozilla browsers'''''
    #*NOTE: Java 6 versions are scheduled for end of life (no more updates or support) in February 2013. You should probably update to Java 7 latest release.
    #*Update to lastest 1.6.41 or 1.7.15 from page below. '''''JRE version''''' for most users; '''''JDK version''''' for developers. '''''i586''''' for 32-bit browsers (Firefox is 32-bit)
    #*Download JRE version, save, close all browsers, run installer you just downloaded - http://www.oracle.com/technetwork/java/javase/downloads/index.html
    #*Also see - https://support.mozilla.org/en-US/kb/use-java-plugin-to-view-interactive-content

Maybe you are looking for