Hiding a filed based on responsibility using oaf personalization

Hi Experts,
I am learning OAF, I have following requirement.
I have 'SAL' filed in my page; I want to hide that filed if i access that from responsibility A and should be shown if i access it from responsibility B.
Could somebody help me how to achieve this using OAF Personalization?
Note:I heard that in 'Functional Administrator' responsibility, you can do something.
Kindly help.
Thanks.

Hi,
You have to follwo below steps.
-> Set profile option Personalize%Self%Serv%Def% to Yes at user level(user you are using to personalize).
-> Navigate to the page you want to personalize
-> Click on Personalize Page in global menu on the top of the page.
-> Click the Choose Context button and select the responsibility for which you want to personalize the item(clear all other fields like site, organization, location,function,industry)
-> Click Apply button. You will get the page hierarichy.
-> Now identity the item you need to personalize and click on personalize icon(pencil icon).
-> Set Rendered property to false/true (if you want to hide the item set false to show set true) and apply.
-> Return to Application
Repeat same steps for other responsibility.
Regards,
Ram

Similar Messages

  • Is it possible to launch a form from an OAF page using OAF Personalization

    In R11, the Customer Standard form ARXCUDCI was customized to call a custom block from the Address screen. In R12 the customer standard form has become an OAF page. We have decided to create a custom form for the custom block using Oracle Developer. However we need a mechanism to call this custom form from the Customer Standard OAF page.
    My query is if it is possible to call a custom form from an OAF page using OAF personalization only (i.e. without directly customizing the code of the OAF page)
    Thanks
    Sanjay

    Dear Apurba,
    I have made some progress.
    I have open the Customers OAF Page, queried a customer, selected a site and opened it.
    Then chose Personalize "Account Site Address"
    There I added a Button on the Header Address level
    ID=XXTVL_LASSY_BUTTON
    Populated the Additional Text and Prompt properties.
    Also set Destination URI=form:SYSADMIN:SYSTEM_ADMINISTRATOR:STANDARD:FND_FNDMNMNU.
    The button is now showing in the address page, and when I click on it it opens the seeded Menu form.
    I now have to create the custom form and set Destination URI to the Custom Form.
    I am also aware how to add parameters to Destination URI.
    But could you let me know how to read the value from a OAF page form field and reference it in Destination URI.
    I need the value of PARTY_SITE_ID of the Address OAF page.
    Alternatively, the Site Number is displayed on the OAF page. If I can read it that will also do. I can use the Site Number in the custom form rather than PARTY_SITE_ID
    Thanks
    Sanjay

  • 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

  • Hiding Image filed based on the page number in Adobe Forms - scripting

    Hi Folks,
    I have a problem with the print form that I am working on. I need to insert an image of lines (OMR) based on the page numbers. For the OMR part, the first page will always have 4 lines as a image, the middle pages will have 3 lines as a image and the last page will have two lines as a image.
    I have uploaded these 3 images a BMPs in SE78 and I am using Xstring of these images in the form. I have two master pages. The first master page will always have the 4 line image. I created a positioned subform in the master page2, in that subform, I have 2 hidden numeric fields, as the run time properties one for the current page number, other one for the total number of pages. I placed those two images(one for the three line image and the other one for the two line image) exactly on the same location positioned dimensions wise.
    I have written the java script for these two image fields to show based on the page numbering. But, somehow, it is not working. Can anybody please let me know where I am doing wrong. I am posting my java script here.
    for the three line image:
    var cp = data.PageSet.MasterPage2.OMR.cpage.rawValue;
    var np = data.PageSet.MasterPage2.OMR.npages.rawValue;
    //if(data.#pageSet[0].MasterPage2.OMR.cpage.rawvalue == data.#pageSet[0].MasterPage2.OMR.npages.rawvalue){
    for (j=0; j<xfa.layout.pageCount(); j++){
    if(cp == np){
    xfa.resolveNode("data.PageSet.MasterPage2 [" + j + "]").OMR.OMR2.presence = "hidden";
    else{
    xfa.resolveNode("data.pageSet.MasterPage2 [" + j + "]").OMR.OMR2.presence = "visible";
    For the two line image:
    var cp = data.PageSet.MasterPage2.OMR.cpage.rawValue;
    var np = data.PageSet.MasterPage2.OMR.npages.rawValue;
    for (j=0; j<xfa.layout.pageCount(); j++){
    if(cp == np){
    xfa.resolveNode("data.PageSet.MasterPage2 [" + j + "]").OMR.OMR3.presence = "hidden"; // there is some problem while //posting it is like MasterPage2[" + j + "]")
    else{
    xfa.resolveNode("data.pageSet.MasterPage2 [" + j + "]").OMR.OMR3.presence = "visible";
    Please give me a direction as this is kind of hurry.
    Thanks,
    Srinivas.
    Edited by: srinivas kari on Jun 9, 2010 12:04 AM

    HI Otto,
    Thanks for the response. You are right, I am struck with this image. My problem was to keep the OMR marking on each page based on the page number. It is like a lines with 10mmX10mm dimension at the top right corner for the sorter machine to know the number of pages to put in the envelope. The logic for this is, on the first page, it has 4 lines each 3mm apart. On the middle pages it has 3 lines . On the last page it has 2 lines. When the sorter machine picks these, it looks at the first page with 4 lines, it will count as a first page, it will continue through the 3 line pages as the middle pages until it reaches the 2 line to know it as the last page. This is all happens in the master pages. I have two master pages , one for the first page and the second one for the remaining pages.
    At first I did not know how to To achieve this, I created 3 images. one with 4 lines, another ones with 3 lines and 2 lines. The 4 lines image was on the first master page. The 3 lines and 2 lines images were on the second master page at the same place as the image fields positioned. Thats where I was trying this scripting. I was trying to capture the current page and number of pages. Based on these, I was trying to place them.
    Is there any other way to achieve this instead of using the images? I thought of sy-uline. but some in the forum told that its not going to work. Even if I use the sy-uline, I have to do some script to achieve this I believe.
    Any inputs on this.. Please give the direction.
    Thanks,
    Srinivas.

  • How to hide taxid column using oaf personalization

    Hi, I need to hide tax id coulumn in supplier page in R12 for all applications except 2-3 responsibilities, can I set rendered to false on organization level and only set rendered to true for those 2-3 responsibilities at responsibility level? Do I need to sign in separately in these 2-3 responsibillities and turn rendered to true separately? Is there a good and better way to do it?
    thanks for anyone can answer

    First find the full path of the page you want to personalize (ie /oracle/apps/.../) then using functional admin, go to the "Personalization" tab.
    1) application catalog subtab, enter your path in the field "document path". Click GO to conduct the search
    2) Click on the personalize page icon (pencil)
    3) Under choose personalization context page, there is a field called responsibility. From here set the value to the desired responsibility. Here you can also set the org value.
    4) Select apply. The page will look as though you had selected the "Personalize page" link from the page itself. Any personalizations you perform will then be within the contexts you have defined under step 3
    Regards,
    LC

  • Supressing Inline Information Message using OAF Personalization

    Hi,
    Is it possible to supress an inline information message in an OAF page using personalization?
    If it is possible, can you please let me know how to do it ?
    Regards,
    Manjusha.

    Hi Gaurav,
    I checked in personalization window for tip type and couldnt find any.
    I think it is not a tip type.It is a information message displayed at the top of the page.
    Regards,
    Manjusha.

  • DFF and OAF Personalization

    Hi,
    Suppose we select the Global Data Elements feature of DFF on a standard Oracle OAF page.
    I want to have this Additional Information enabled for particular Organization and disabled or read only for other Organizations.
    Is there a soluion for this using OAF personalization as these DFF text inputs are not visible on OAF Personalization page.
    Any help is welcomed
    Thanks

    You should be able to set the segment list to meet your requirement.
    From the developers guide ...
    If you leave the Segment List property empty, all segments render. The value you specify for this property must use the following format:
    Global Data Elements|[global segment1]|[global segment2]||...||Context1|[segment1 for context1]|[segment2 for context1]||...||Context2|....
    For our example shown in Figure 1, Packaging Type is the context field and Warehouse is the global field for the descriptive flexfield. To always display the Warehouse global field and display the context-sensitive fields Items per Box and Box Size for the Box context and Items per Pallet and Pallet Weight for the Pallet context, you would specify the following value for the Segment List property:
    Global Data Elements|Warehouse||Box|Items per Box|Box Size||Pallet|Items per Pallet|Pallet Weight
    As shown, segments within a certain context are separated by a single pipe, "|", while data from a different context is separated by a double pipe, "||".
    Read-Only Segments
    You can also add the read-only token ($RO$) after any of the segments in the list. For example, the ($RO$) designator below sets Segment1 to be read-only:
    Context1|Segment1($RO$)|Segment2...
    Mark

  • OAF Personalization and Validation Issue

    hi Gurus and Experts
    Lets say I have my lines contain following attributes, and I have following users (User-Cre, User-LA)
    User-Cre > LinesId
    User-Cre > LinesNumber
    User-Cre > ItemCategory
    User-Cre > ItemId
    User-Cre > RequestedQty
    User-LA > SanctionedQty
    User-LA > LPQty
    User-LA > AuthorityLetterNumber
    User-LA > Remarks
    I have mentioned the fields filled by respective user. I want fields to be shown to relevant users only, for example last 4 fields should not be shown to "User-Cre" and first five fields should not be shown to "User-LA". I guess I can achieve it through OAF personalization using SPEL. Problem is I have some validation on both sets of attributes. I want to know that if validations will be fired on User-LA related attributes when these fields will not be rendered using OAF Personalization ? Kindly explain it deeply so that my understanding become clear. If there exist any coding then please write it here and please give some more smart techniques to do so. Many many thanks in advance
    Regards

    Hi,
    I have mentioned the fields filled by respective user. I want fields to be shown to relevant users only, for example last 4 fields should not be shown to "User-Cre" and first five fields should not be shown to "User-LA". I guess I can achieve it through OAF personalization using SPEL. Problem is I have some validation on both sets of attributes. I want to know that if validations will be fired on User-LA related attributes when these fields will not be rendered using OAF Personalization ? Kindly explain it deeply so that my understanding become clear. If there exist any coding then please write it here and please give some more smart techniques to do so. Many many thanks in advances
    You can achieve this requirement by using SPELL for the following columns. You can set those columns rendered = false //by SPELL
    Even though you will set it rendered false, all the validation will get fired related to those field. Try to find out whether there is any validation for the given columns. If there is some sort of validations done then you need to go for overriding Validation methods.
    Regards,
    Gyan

  • Can I auto-populate fields in a pdf form based on responses in other fields (using Acrobat XI PRO)?

    I am creating a fillable pdf form using Acrobat XI Pro and would like to be able to auto-populate text fields in one section of the form based on responses entered by respondents in an earlier section.  Is this possible?  If so, would it function for respondents using Adobe Reader to complete the form?
    Many thanks,
    Andy

    Thanks, George!  In the form I am creating, I ask respondents to identify a number of organizations that they work with.  For example, I ask "Please list up to ten organizations" and then I provide ten text boxes for organizations 1-10.  I then ask a series of follow up questions (radio buttons, check boxes, and rating scales) about each organization.  I would like to auto-populate the fields of those follow up questions with the names of the organizations that the respondents had written.  Does that make sense?  Will this require JavaScript?  My hope is to avoid complicated scripts that may give respondents technical problems with the form.  Thanks again,
    Andy

  • Hiding based on responsibility

    This is probably an easy one to answer, however I am a bit new to the OA world.
    I have a custom page (11.5.10) and I want to hide an image based on a user's responsibility. I have a switcher region for the page working fine (with two images) based on information from the database, however I want the switcher to change and be based on responsibility instead of data from the database. Any ideas on how to do this?

    Best way to implement your Business logic is functional security.
    1. Create a new function (no parameters and URL), say XX_SEC_FUNC
    2. Attach it to the menu that is used in your responsibility.
    In the page, just enter *${oa.FunctionSecurity.BENEFITS_GUEST}* in the Rendered property.
    Now Go to -> System administrator -> Security -> Responsibility
    1. to hide the text exclude the function(XX_SEC_FUNC) in the responsibility.
    2. to show it delete the function(XX_SEC_FUNC) from the exclusion list.
    this is very flexible and can be configured easily. No code modification needed.
    And if you want to extend the functionality to multiple responsibilities, then it can be easily done.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to capture OK / Cancel Button response of warning type message in EBS D2K form using Form personalization

    Hi Experts
    We are working on one requirement in which on a standard D2K EBS form based on the response of a warning message we need to perform certain actions using Form Personalization.
    The problem is that we are not able to capture response of OK and Cancel buttons of the warning.
    If any one has come across such scenario, I would request to please share your valuable suggestions. 2898414
    Thank You
    Regards
    Mirza Tanzeel

    Figured out myself that this is mot possible using Form Personalization.
    Only option possible is to try implementing by modifying custom.pll
    Thanks
    Mirza Tanzeel

  • Showing/Hiding certain fields based on Radioset selection

    Hello all,
    I'm like to know whether it is possible to Show/Hide certain fields using a RadioSet selection as it is done in Forms in ADF UIX. Kindly go through this post.
    Showing/Hiding certain fields based on Radio Group selection
    kindly help me out on this.
    Thanks & Regards,
    Arun.V

    Hi Arun,
    Here is what I do with my checkboxes, but I think that the radiobutton will do the same:
    <af:selectBooleanCheckbox text="selectBooleanCheckbox 1"
                          label="Label 1"
                          binding="#{backing_page1.selectBooleanCheckbox1}"
                          id="selectBooleanCheckbox1"
                          autoSubmit="true"
                          immediate="true"/>
    <af:inputText label="Label 1" binding="#{backing_page1.inputText1}"
                          id="inputText1"
                          disabled="#{!backing_page1.selectBooleanCheckbox1.selected}"
                          partialTriggers="selectBooleanCheckbox1"
                          value="#{backing_page1.selectBooleanCheckbox1.selected}"/>

  • Restrict SR Type based on responsibility

    Hi all,
    I am trying to restrict SR Type based on responsibility. Oracle 11.5.9 document has the following statement. has anyone got this going ? or is there a bug??
    Thanks,
    Gana
    3.10.1.29. Map Service Request Types by Responsibility
    To be consistent with iSupport, Service Request Types can be mapped to responsibilities.
    This allows a customer to filter out the unnecessary or unrelated Service Request Types
    and display the relevant ones to specific responsibilities in the Create, Update and View
    Service Request forms. A Street Service’s agent will only see Service Request types of
    Abandoned Vehicles and Street Cleaning and not Animal Retrieval.

    Thank you.
    But this is a Bug for version earlier then 11.5.9 and it is declared by Oracle.
    It is a enhancement request number 2445606 and is incorporated into the released 11.5.9 version of the product, but it does not function in any earlier release.
    The Profile option is
    'Service: Use SR Type - Responsibility Mapping'
    This profile can be set at Site and / or Responsibility Level.
    If set to 'Y' at only the Site level, this indicates that the Type will always be filtered by Responsibility, no matter what the responsibility is. In this case, the Service Request Types should be mapped to the required responsbilities.
    If set to 'Y' at Site level, and 'N' for Responsibility say 'R1', then responsibility 'R1' will have access to all SR types, but for all other responsibilities, SR types will be filtered to the list of what is mapped to the Responsibility.
    Thank you

  • How to open a file using OAF

    Hi,
    I want to open a file using OAF. I know the path and file name.
    How can I open it, if file is in UNIX or in windows, where ever.
    Is there any way to do that.
    Thanks in Advance!!

    Hi Ankur,
    I had something link this requirement, that also for a concurrent program output only, but the output was txt file, and make it a zip file and give a dynamic link and open it.
    For that i used the following code, may be it will help.
    String zipout = pageContext.getParameter("ZIPOUT");
    if(zipout!=null && zipout.equals("Y"))
    try
    DataObject sessionDictionary = (DataObject) pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response = (HttpServletResponse) sessionDictionary.selectValue(null, "HttpServletResponse");
    HttpServletRequest request = (HttpServletRequest) sessionDictionary.selectValue(null, "HttpServletRequest");
    String requestID = pageContext.getParameter("REQUESTID");
    response.setHeader("Content-Disposition","p; filename=CatExtract"+requestID+".zip");
    response.setContentType("application/x-zip-compressed");
    ZipOutputStream zip = new ZipOutputStream(response.getOutputStream());
    try
    byte[] buffer = new byte[1024];
    int bytesRead;
    //to get the value of output directory
    String fileName = "/o"+requestID+".out";
    Serializable[] parameters = { requestID };
    //Get the output URL for this requests output.
    pageContext.getApplicationModule(webBean).invokeMethod("getOutputURL", parameters);
    String outputURL = (String)pageContext.getTransactionValue("OutputURL");
    pageContext.writeDiagnostics(this.getClass().getName(),"outputURL in the xxt CO"+outputURL,1);
    try
    URL fileURL = new URL(outputURL);
    URLConnection urlConn = fileURL.openConnection();
    DataInputStream out = new DataInputStream(urlConn.getInputStream());
    try
    ZipEntry entry = new ZipEntry(fileName);
    zip.putNextEntry(entry);
    while ((bytesRead = out.read(buffer)) != -1)
    zip.write(buffer, 0, bytesRead);
    zip.closeEntry();
    pageContext.writeDiagnostics(entry.getName(), " added.",1);
    catch (Exception ex)
    pageContext.writeDiagnostics(this.getClass().getName(),"Exception 113"+ex,1);
    finally
    out.close();
    catch (IOException ex)
    pageContext.writeDiagnostics(this.getClass().getName(),"Exception 124"+ex,1);
    System.out.println("Exception 124 "+ex);
    Thanks.
    With Regards,
    Kali.

  • Security issue of using oaf

    Dear,
    We have used oaf to build the online payslip and we believe that oaf inherits all security applying to oracle ebs.
    We are concerned about issues related to sniffing, phishing etc… may happen
    can some one share any document/note or any material that clearly explains that the security for the custom oaf deployed pages is same as the ebs seeded page.
    much grateful for a quick response!

    As per "Oracle Application Framework Developer's Guide Release 12.1.3" [Note 1107973.1]
    +"It is the responsibility of the application framework to ensure that HTML transactions are authorized, private, and free from tampering. OA Framework provides built in protection against known HTML hacking strategies, leaving the application developer free to concentrate on application functionality."+
    Therefore, generically all OAF pages are the same regards security... i.e. all OAF pages run in the context of the OA Framework security.
    Having said that, if you are doing anything yourself within code, for example redirecting URL, then this would be outside the OAF security model and may need special attention by your own security team.
    Hope this helps
    regards
    Mike

Maybe you are looking for