OA Page Read Only

Hi All,
Can we make OA framework page read only just like we do in Forms.
It's Urgent.
Thanks
Anil

Like forms in OAF there is no default functioality by which you can make the entire page read only, in fact you need to each and every field and make it read only via personalization. Also if you need to some fields read only based ona business logic, you would have to go for extensions.
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to make a page read only

    Hi all,
    Can anyone please help me out on the following issue.
    How to make a total page read only, so that he/she can not make any changes. I want the total page read only.
    Do we have any functions to do that?
    I need to do through peoplecode only because i have to check a condition.
    Please help me.
    Thank you,
    Bye.

    Without customizing, this may be accomplished via Permission List Security.
    Go to PeopleTools - Security - Permission List
    Select the desired Permission List. Click on the Pages tab.
    Find the menu and click on "Edit Components" hyperlink.
    Find the Component on the List and click on the "Edit Pages" hyperlink.
    Click on the Display Only check box for each page in the component you wish Display Only.
    If that does not sufice, you may use PeopleCode to set the Field DisplayOnly property to true for those editable fields that you wish not to be.
    HTH
    Steven E. Davies

  • Make certain fields in the Account Detail Page Read-Only based on a Checkbo

    Hello
    We would like to make certain fields on the Account Detail Page Read-Only based on a checkbox that is on the Admin Account Detail Page. The fields we are looking to make read-only are Account Name, Primary Address, Phone Number.
    Thanks

    Brian,
    I think you'd need to use dynamic page layouts for this. Look at the Account type values, if you are already using it then replicate those values you have so if you have Business and Personal make it Business Read-only and Personal Read-only.
    When you are ready to lockdown those fields change the Account type from Business to Business Readonly and have the page layout for this screen with Account type, Name, Primary address and phone number as read only. You will a separate page layout for yourself so that Account Type stays as writable for you.
    You will need to check if you can have Account Name as read only as it is a required field.
    cheers
    Alex

  • How to make the OAF page Read-Only for one Responsibility?

    I have a requirement to make the entire OAF page to Read-only for particular Responsibility.
    Is there any direct option to make page Read-only ?
    Can anyone suggest some solution?

    Hi,
    Check one article on
    http://www.applikast.net/technical/oa-fwk/misc/making-an-oa-framework-page-readonly
    or you can do Personalization for each item on page.
    Thanks,
    Abhi

  • How to make an assignment block in an overview page read only

    Hi Experts,
    We have the following requirement:
    In Campaign overview page we need to make the Partner and Product assignment block read only.
    Can this be achieved through coding or through configuration?
    Please give detail steps for the appropriate approach.
    Thanks in advance.
    Regards,
    Sayan

    Hi Leon,
    Is there any authorization group which can be customized to take care of this situation?
    For Product Assignment block in DO_PREPARE_OUTPUT method of class CL_CPGOE_AB_OVELPRODUCTS_IMPL (Component : CPGOE_ABLOCKS :: View : OVELProducts) it is checking some authority. Any pointers where those authorities are maintained will be helpful.
    Creating a new configuration is not helping as the views are 'Table View'.
    We are looking for an approach which will avoid coding or involve minimum coding.
    Regards,
    Sayan

  • Make jsp page read only

    dera frds,
    im working on a site,i make a web page based on jsp,that page has a download file,i want the authorized user can download that file,other can see that file as read only mode,but can't download,so plz provode me some program to make jsp page as read only.

    ya well i want that other can see that file,but only authories users can download that page or file.unauthories user can see that page or file,but can't download.
    basially assume that file might be having some course that can download by authoried users.

  • Making OAF page read-only

    Hello,
    In forms to make a form read-only we set the parameter QUERY_ONLY=Yes
    like that for OAF page do we have any option to make the entire page query only. can OAF personalization be used for this?
    Thanks.

    There is no such functionality... in OA Framework, by which u can turn all the fields on a page to read only by some page layout region property. You would have to set the read only property to true for each bean in the page.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Make the Custom page read only depending

    Hello all,
    Is there anyway to make a custom page readyonly for some users? I know we can set rendered to false for each region but i'm wondering if we have a property for the whole page.
    Thanks
    KK

    Hi KK,
    Is it a 11i or R12
    if it is R12 it is easy just passing the region where you want to make it read only or for the entire page, pass the top level region.
    If it is 11i, you need to copy paste the sample code and call it from your Process request after you did the user check.
    Btw, instead of user check, create a responsibility and assign that responsibility to those users and check for that responsibility to avoid any hard code in User list side.
    Check this thread and if you are not able to make it, please update the issue you face.
    How to make OA framework page Viewonly
    Ready only Page
    or
    http://www.applikast.net/technical/oa-fwk/misc/making-an-oa-framework-page-readonly
    Thanks,
    With regards,
    Kali.
    OSSi.

  • How to make a page READ ONLY / all fields are DISABLED ?

    Hi all,
    I am using ONE page to do ADD/EDIT/DISPLAY data. When users are in DISPLAY mode, I want all fields on the page to be read only / disabled.
    How is the best approach to do that ?
    (other than going to every fields and set the ReadOnly/Disabled property)
    Thank you for your help,
    xtanto

    Hi Xtanto,
    My business logic is somewhat different - I don't do this for new/editted rows, but based upon other security. You could certainly set something in your backing bean based upon a user clicking "new" or "edit"
    John

  • Read Only page

    Hi,
    Is there a way to make all the fields in a page read only - say based on a variable input from a task flow? I don't want to check for this variable in all the fields. Is there a way to achieve at top level?
    I am using Jdev 12.1.2
    Thanks
    Uma

    You could probably try to write a recursive function which sets the readonly property programmatically and call that from wherever you want.
    I have not tried, but you could probably try it. Sample code :
        private void setInputItemsReadOnly(AdfFacesContext adfFacesContext, 
                                         UIComponent component){ 
           List<UIComponent> items = component.getChildren(); 
           for ( UIComponent item : items ) { 
               setInputItemsReadOnly(adfFacesContext,item); 
               if ( item instanceof RichInputText  ) { 
                   RichInputText input = (RichInputText)item; 
                   if ( !input.isDisabled() ) { 
                       input.setReadOnly(true) ; 
                       adfFacesContext.addPartialTarget(input); 
               } else if ( item instanceof RichInputDate ) { 
                   RichInputDate input = (RichInputDate)item; 
                   if ( !input.isDisabled() ) { 
                       input.setReadOnly(true) ; 
                       adfFacesContext.addPartialTarget(input); 
    Not tested.
    Created the above code by copying the resetValueInputItems() method from the below link :
    Java / Oracle SOA blog: Some handy code for backing beans ( ADF & JSF )
    Cheers
    AJ

  • How to make a page in read only

    Hello,
    I am using 11.1.1.4, I am having a requirement to display all the components on my page read only when first time page loaded, By clicking on 'Edit' button I have to make all components in editable. I am using Transient View object to render various components on my page. I have 50 components approximately on my page. How can I make page read only with very minimal changes?
    Thanks

    Try something like that:
            public static void disableControls(UIComponent component, Object[] disabledParam) {
               Iterator<UIComponent> i = component.getFacetsAndChildren();
               while (i.hasNext()) {
                     UIComponent child = (UIComponent) i.next();
                     Class mc = child.getClass();
                      try {
                         Class[] cls = {boolean.class};
                         Method setDisabled = mc.getMethod("setDisabled", cls);
                         setDisabled.invoke(child, disabledParam);
                         AdfFacesContext.getCurrentInstance().addPartialTarget(child);                 
                      } catch(NoSuchMethodException ex){
                      } catch(Exception e) {
                         log.error(...);
                     disableControls(child, disabledParam);
               } // of while      
            }if you pass {Boolean.TRUE} as second param, you will disable all children of first param component.
    Next, in the JSF page, yuo need something like follows:
            <af:clientListener type="load" method="onPageLoad"/>     
            <af:serverListener type="disable" method="#{myBean.handleDisable}"/>
        </af:document> The javaScript part:
    function onPageLoad(event) {
      var source = event.getSource();
      AdfCustomEvent.queue(source,"disable", {}, false);
    }And finally , here is handleDisable() Java method, in which you should call disableControls() utility method:
        public void handleDisable(ClientEvent event) {
            disableControls(_some_UI_comp, new Object[]{Boolean.TRUE});
        }

  • APEX 4 Bug: Wrong quickpicks in Item Page's Read Only section

    This bug is an easy one
    In Edit Page Item page, Read Only section, the predefined option list (now quickpicks) is as follows:
    [PL/SQL] [item=value] [item not null] [request=e1] [page in] [page not in] [exists] [none] [never]
    But if you look carefully, Conditions section has same quickpicks. Right quickpicks for Read Only should be:
    [PL/SQL] [item=value] [item not null] [request=e1] [page in] [page not in] [exists] [always] [never]
    Best regards.
    Oscar

    Hi Oscar,
    this problem has already been filed as bug# 9752881 and will be addressed in a future release.
    Thanks
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • Read-only radio button or checkboxes save as null

    Hi,
    I have a form with some fields that are editable by 1 group of users and read-only for another group in certain conditions.
    Before the header there is a fetch process to retrieve values from tables. So most fields (read-only & editable) are populated including checkboxes & radio buttons.
    All users can edit at least 1 field on the form.
    When the save button is pressed a PL/SQL process runs to save the data.
    The save works if the field is editable.
    If the field is read-only and text it also works.
    But if the field is a radio button or checkbox a null is saved in the table.
    Any suggestions on how to get the PL/SQL to pick up the read-only radio buttons and checkbox values?

    Hi,
    I had the same problem in my application and I found another solution instead of using two items. I'm using a computation on page processing that makes a select on my table to get the value for the checkbox. I'm doing this with the same condition as my read-only condition on my checkbox item so I can get the database value when it is lose in the submit process.
    Also, I found a difference in the html code between the read-only state of the item and the standard state.
    Original state : name="p_v07" (7 because it's the seventh item on my page)
    Read-only state : name="checkbox"
    I tried to modify this using firebug in execution of the page but without success, the problem is still there.
    Patrick
    Insum Solutions

  • Two questions: Event on a Date Picker and Read Only on a full page?

    Hello,
    I make use of this very informative board to develop an application but i have been unable to find info on these two topics. Sorry if it has been already discussed extensively.
    Using HTMLDB 2.2 for now.
    =>First question:
    I have a date picker item with an event
    onChange="resaStatusChange();"
    in the HTML Form Element Attribute field.
    The event is triggerring if i put a new data in the field but does not trigger if i use the picker.
    Is it a standart behaviour? Is there a way to trigger the event when new data is provided through the date picker?
    => Second question:
    One page in my application has to be used either to only display information or as a mixed displaying/entering data sheet.
    When the context is appropriate to use the page as a simple display (testing both global authorization and data to be displayed), is there a way to put a read only attribute on the full page instead of putting the read only conditions through each and every item of the page?
    Sorry if the questions are not clear and apologize for what should be newbie questions.
    Any link or info will be appreciated.
    Regards,
    Daniel Gureghian

    Hi Daniel,
    I'm not sure about your first question, but I can hopefully give you a helpfull answer for your second one.
    I'm handling it this way:
    var elInput = document.getElementsByTagName('input');
    var elTextArea = document.getElementsByTagName('textarea');
    var elSelect = document.getElementsByTagName('select');
    for (i = 0; i < elInput.length; i++)
      setReadOnly(elInput, true);
    for (i = 0; i < elTextArea.length; i++)
    setReadOnly(elTextArea[i], true);
    for (i = 0; i < elSelect.length; i++)
    setReadOnly(elSelect[i], true);
    function setReadOnly(pThis, pRead)
         if (pThis && pRead)
              pThis.disabled = pRead;
              pThis.style.emptyCells = "show";
              pThis.style.color = "black";
              pThis.style.backgroundColor = "#DDDDDD";
         else if (pThis && !pRead)
              pThis.disabled = pRead;
              pThis.style.emptyCells = "show";
              pThis.style.color = "black";
              pThis.style.backgroundColor = "#FFFFFF";
    I never used it on a whole page, only for regions. So maybe you have to make some changes.
    chrissy

  • Querying up AR Customer OA page in read-only mode for a Single Customer

    We are building a Custom Form in which associated Customer <defined in AR> would be queried up.
    Now we want to give an option to the User to view the complete details of the Customer. We would be giving a menu option in Tools 'View Customer' thru which he would see the Full Customer Details. <AR Customer OA page>
    We have two requirements
    1> The Full Customer Details should show up in Standard OA Customer Page the moment page comes up. The user should not be required to query the details.
    2> It should be read-only and user should not be able to update any field.
    How can we achieve this requirement? I did some RnD but did not see any place in EBS where we display the Customer Page in read-only mode and that too quried up for one particular customer.
    Thanks
    Arun

    Hi Arun,
    Please let me know if find any solution for this. We have a similar scenario in which we need to call the customer Page with all the inforamtion populated, related to one customer.
    Thanks in advance,
    Mannuru

Maybe you are looking for

  • Co code Segment is greyed out while creating a  Business partner

    Hi All, I am trying to Create a Customer thru BP . I have asigned a role and made the necessary setting in " Configure Field attributess as a per BP role. However the Co code segment is coming greyed out . Can you please advise what needs to be done

  • Can't End Call

    I was attempting to skype someone last night but I appeared as "away" to the other person (even though my was showing active on my end) and their account appeared as "away" (even though it said active on their end). So I just attempted the call anywa

  • What is fd00... trying to access computer?

    What is fd00.. trying to access your computer?

  • HELP! Retina Macbook Pro Late 2012 vs Late 2013

    Hey guys, faced with a dilemma here and looking for some help So, I am able to buy a Late 2012 retina MBP with the upgraded 2.9ghz i7, 8GB of RAM, and 500SSD. Seller is asking $1450, I think I can get it for $1400. Now, the new Late 2013 retina Macbo

  • Production boards from script?

    Feature request: It would be great to be able to generate a production board from an Adobe Story script from within the app.