Read Only Form Field based on Authorization

Hi there,
I'd like to make a field in a tabular form read only based on an Authorization scheme, like you can for a region field by using a PL/SQL condition. Is there any way to do this?
Cheers,
Andrew.

hi Andrew,
please choose the REGION REPORT link and choose the column you like then see Authorization Scheme tab then select the option your named AS you want to give .
Set DISPLAY AS TEXT (SAVE STATE) it will show only no edit action can perform by user.
thanks
Mark.
Websoft solution
http://www.go-websoft.com
Edited by: Websoft on Sep 9, 2009 5:02 AM

Similar Messages

  • How to get the value of a parameter/field in a ADF Read-Only Form

    Hi,
    My requirement is as follows. Could anyone shed some light on this issue.
    I am showing the records from db table using ADF Read-Only Form ( which uses ViewObject created for the table). Now I want to capture(get) the value of a field in this form and then have to invoke an action based on the value in this field. I mean to say the next page depends the value of a field in this form.
    Please suggest how can I achieve this functionality?
    Thanks in advance.
    ~Sivaji

    That's indeed what Sivaji needs.
    In the page definition you can add a value to the parameters of a certain method. Like RJundi mentioned, point to the attribute of the current row.
    Example:
    The value of the read only textfield will be something like this:
    #{bindings.EmployeeName.inputValue}points to an attribute value in the pageDef of the page:
        <attributeValues id="EmployeeName" IterBinding="AllEmployees">
          <AttrNames>
            <Item Value="EmployeeName"/>
          </AttrNames>
        </attributeValues>The attribute value has also an iterator binding defined in the page def:
        <iterator id="AllEmployees" RangeSize="10"
                  Binds="AllEmployees" DataControl="MyService"/>If you want to 'pass' the attribute of the current row to the service, you can create a methodaction (eg: public void printEmpName(String name)) in the page def or you can drop the method from the datacontrol on to the page. After dropping the method, a screen will appear asking to fill in a value for the parameter ('name' in this example). Fill in '#{bindings.EmployeeName.inputValue}' if you want to pass the EmployeeName of the current row.
    Hope it helps,
    Koen Verhulst

  • How to right align a read only numeric field in a panel form layout

    Hi, does anyone know how to right align a read only numeric field in a panel form layout? I am using: Style Class = AFFieldNumberMarker, but it only seems to work if the field is disabled. Disabling the field gives it a difference appearance that does not look right on our forms. These are calculated fields, which cannot be modified, so read only is necessary.
    I have looked online for some answers, and it seems that others are having similar issues.
    I have tried different combinations for the properties, but so far I cannot get it to work.
    Thanks
    Judy
    I am using JDEV 11.1.1.5

    Sorry for the delay in my response. Here is the code
    <af:inputText value="#{bindings.TotalAirlineCostEst.inputValue}"
    label="#{bindings.TotalAirlineCostEst.hints.label}"
    required="#{bindings.TotalAirlineCostEst.hints.mandatory}"
    columns="#{bindings.TotalAirlineCostEst.hints.displayWidth}"
    maximumLength="#{bindings.TotalAirlineCostEst.hints.precision}"
    shortDesc="#{bindings.TotalAirlineCostEst.hints.tooltip}"
    id="it20" readOnly="false"
    disabled="true"
    styleClass="AFFieldNumberMarker">
    <f:validator binding="#{bindings.TotalAirlineCostEst.validator}"/>
    <af:convertNumber groupingUsed="true"
    pattern="#{bindings.TotalAirlineCostEst.format}"
    type="number"
    maxFractionDigits="0"/>
    </af:inputText>
    thank you,
    Judy

  • How to control the canvas of the ADF Read-Only Form

    Hi
    Could you give an idea of how to control the canvas of the fields in ADF Read-Only form. My requirements are as follows
    1) ALL the labels has to left justified irrelevant of their length
    2) ALL the values also has to left justified and should be wrapped if it exceeds some length.
    3) I want to show the results in more than one column with proper alignment as mentioned above.
    Thanks in advance.
    Sivaji.......

    Sivaji,
    There is a "rendered" attribute on the af:table component. You can write EL to pragmatically control the evaluated value of expression to set the visibility.
    Assuming you are using BC for your middle layer you can do something like the following:
    <af:table ...
    rendered = #{YourDetailViewObject.somestring.inputValue != null}
    ..>
    Z

  • Custom Formatting of a ADF Read-Only Form

    From what I've worked with so far, the ADF read-only form will only allow you to pick the number of "rows" and "columns" to format data. Columns titles are aligned to the left and column values aligned to the right.
    But the specs I've been given are for a highly customized layout, with column titles above the column values, and with some rows containing only two columns of data and some rows requiring up to ten columns of data.
    How can I adjust the format of ADF components, like read-only forms, to customize the layout?
    Thanks in advance.

    Thanks for the advice Shay.
    What I need to do is take one view object's data (20 columns) and spread them out, in HTML terms, into multiple tables to provide various TR/TD formats on a single screen.
    Are you saying it is possible to layout a single view object's columns into different layout panels to mimic multiple HTML table formats?
    Thanks again.

  • How to get the key values of record in ADF Read-only Form?

    Hi
    I am using ADF Business Component VO.
    I have a search page( ADF Search Form) and I am displaying the results of the search in a ADF Read-Only Table( only few columns are shown) .Then by selecting a record and clicking on the button 'View' , I am navigating to a different page(ADF Read-Only Form) to show all the columns of the table for the selected record.
    In the second page, I have one more button 'view child details'.Now when I click on this view child details button, I have to show another page(ADF Read-Only Form) which fetches the data from one of the child tables of parent record.
    My idea is to create a ViewLink between the parent and child tables.( I have more than 15 child tables for a parent table).
    Is there anyother way to achieve this functionality?
    Please respond ASAP.
    Thanks in advance.
    ~Sivaji..
    Message was edited by:
    Sivaji...the boss

    Sijav,
    ASAP?
    Anyway - yes, you can do this with a view link. When you add the child table to the application model, make sure you actually add it as a child of the parent table instance (select the parent VO first, then use the shuttle to add it). This way, the parent->child relationship should be coordinated for you automatically. You should not need to get the key values manually.
    Then, when you create the page to show the detail table, make sure you use the child table that is shown as a child of the parent table in the data control palette (expand parent table to see the child).
    Hope this helps,
    John

  • OVS on read-only input field

    OVS will not allow me to change the value of a read-only input field.  If the input field is set to read-only, the OVS selection table does not display an 'OK' button, only close.
    Value cannot be copied (field is not editable)
      I do not want the field to be editable on the screen, but only allow input via the selected row in the OVS.  Any suggestions?
    Edited by: Bob DeNuto on Jul 31, 2008 1:22 AM

    Using Dictionary Search Help and OVS in this case will disable the Copy button and you don't have any control.
    Use Freely Programmed Value Help, this will solve your problem
    https://wiki.sdn.sap.com/wiki/display/WDABAP/Freelyprogrammedinput+help
    how to provide f4 help to the read only input field
    Abhi

  • I paid for exportpdf and everytime i try to use tool on pdf, it asks me to subscribe. i have to log into website EVERY time. not acceptable.  how can i export only form fields that were filled in?

    i paid for exportpdf and every time i try to use tool on pdf, it asks me to subscribe. i have to log into website EVERY time. not acceptable. Some forms can't be saved so having to log in and only use webtool to upload a saved pdf won't work.
    as well, how can i export only form fields that were filled in if I can get pdf to save to computer?

    Hi kstine,
    I can see why that would be frustrating! Have you tried selecting Stayed Signed In underneath the Adobe ID and Password boxes when you try to log in?
    What did you use to create the PDF form? If you used FormsCentral, form data is saved to your online FormsCentral account. If you have Acrobat, you can export form data as described  here: Adobe Acrobat X Pro * Manage form data files
    Best,
    Sara

  • Read-only forms work great - page fails to load on interactive form.

    we have a weird issue.
    we moved all our Adobe development (which was all new) to our QA environment.
    Our 1 interactive form fails to even display, while all the other read only forms work fine.
    I changed my interactive form to ENABLED off (unchecked) and moved it to QA - and it displays fine. I changed ENABLED = checked, and it's not working.
    any ideas?

    chintan,
    we figured this out late yesterday - I was selecting all the business partners for a drop-down list in the form . It turns out another developer loaded 30k business partners in RPM. So, this was causing the form to blow up.

  • Read-only/hidden fields in self request form

    I have a prepop plugin for one of the field which generates a number from an oracle sequence, i don't want requesters to modify it, so I would like to either hide it or make it read only.
    Also, can i put some label/help text to put in some instructions?

    Have a look at the following link for section- *19.1 Step 1: Creating a Request Dataset for the Resources* -> *19.1.1.3 The AttributeReference Element* ->Optional Properties -> approver-only
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14309/request.htm#CIHGBGBC

  • How to populate read only input field or text view form value help only

    Hi experts,
    I have one requirement to populate a read-only field or text view from value help.
    User cant put any value there.value comes only from the value help.
    For example,
    when we read context using Code Wizard,we cant type any value there.value only comes from value help.
    How to implement that functionality?
    Please reply.
    Thanks in advance,
    Subhasis.

    Yes it is possible.
    1.Create a context Attribute and then bind this attribute to the Text view UI element.
    2. read context attribute and then set value to the context attribute like this way.
    DATA:
        elem_context1                        TYPE REF TO if_wd_context_element,
        stru_context1                        TYPE if_first=>element_context ,
        item_potxt                          LIKE stru_context-potxt.
    get element via lead selection
      elem_context1 = wd_context->get_element(  ).
    stru_context1-potxt = 'PO'.
    elem_context1->set_attribute(
        VALUE  = stru_context1
        name   = 'POTXT'
    thanks
    Suman
    Edited by: suman kumar chinnam on Sep 9, 2008 12:12 PM

  • Read-Only data fields/parameters

    Hi
    How can I make a data-field (parameter) Read-Only?
    For instance : let's say, someone (an Admin) has filled in data into a user form, and saved it. Someone else (who does not have similar Admin status) signs in, and views the form.
    I want the second person to be able to view as well as Edit the form. But, not ALL the fields. Some fields should be uneditable (i.e., read only). He can see the data in those fields. But, he is not allowed to modify them.
    How is this done?
    Thanks.

    example how this field is non-editable on condition basis, you can use your condition
    <Field>
      <Display class='Text'>
        <Property name='value' value='Solanki'/>
        <Property name='title' value='Last Name'/>
        <Property name='disabled'>
          <cond>
            <eq>
              <i>10</i>
              <i>10</i>
            </eq>
            <s>true</s>
            <s>false</s>
          </cond>
        </Property>
      </Display>
    </Field>

  • Read Only form after Submit to Email

    I have a form i'm working on. Basically its a form I like for users to fill out and then click submit once they are done to send it in an email. The script i found below does what I want but with further testing i found out it's not exactly what I want. Basically it will make all the fields in my form Read only once the Submit button is clicked. Problem is that if you hit Submit and then realized you need to go back and make a change, you can't. The trigger to Read Only is when you click Submit. Is there a way I can do the lock down once the receipient receives the form? I'm a noob so please go easy with the responses =) thank you all in advance!
    Mike
    I found some documentation that says to not change the form in ready:layout event (which what I was doing with the "readOnly", so I placed the following code (to make all fields readOnly) in the Button's mouseDown event.
    // Get the field containers from each page.
    for (var i = 0; i < xfa.host.numPages; i++) {
    var oFields = xfa.layout.pageContent(i, "field");
    var nodesLength = oFields.length;
    // Set the access type.
    for (var j = 0; j < nodesLength; j++) {
    var oItem = oFields.item(j);
    if (oItem != this) {
    oItem.access = "readOnly";

    bind the all the field to managed bean.
    Write a action method of button .in method get all the fields and make readonly to true.
    add partialtrigger programmaticly
    AdfFacesContext.getCurrentInstance().addPartialTarget(this.field1);

  • Read-only input field error

    I have an input field marked read-only on a form.  When I run the application, select the read-only field, press enter, then Save (validating action), I get a WebDynpro exception saying that I attempted to modify a read-only context attribute.  This does not happen if I select the field and press other keys (such as characters)...  only when I press enter.  If I make the field disabled (instead of read-only), this error is avoided because I cannot even select the input field - but I would rather use read-only because it doesn't gray out the field at runtime.  Is this a bug, or am I missing something?
    -Dave

    When you select the inputField and press enter the OnEnter action of the inputField is being called.
    When you disable the inputField it prevents you from entering values as well as accessing it actions also.
    When you try to keep you context attribute as read only and keep the input field as enabled it is similar to trying to modify a read only attribute which is not permissible.
    Hence the error.
    Revert for further clarifications.
    Message was edited by: Noufal Kareem

  • Help with read only text field

    trying to refine a KW form
    I don’t want user to enter value in a box so I made it read only.  $<input name="proptax" type="text" size="10" readonly="true">
    Validation says:
    "true" is not valid value for the "readonly" attribute in any of the currently active versions. See the above warnings for more details.[HTML 4.0]
    So now what?

    DW's validation gives me an error.  W3C  says it's ok.  I wonder why DW (v8) disagrees.
    Actually I 'disabled' the field instead which actually works better for me but they all behave the same,  errors in DW  and ok in W3C
    Thanks

Maybe you are looking for

  • WS2000077 (Purchase Requisition Release) problem

    Dear all workflow task WS2000077 (Purchase Requisition Release) causes the following problem: While executing an approval release (ME54N) through workflow, the result is always 'requisition release refused'. Does anyone know why? I appreciate your he

  • Why cant i install Mac os x snow leopard on my Imac early 2011

    I have mac OS x mountain lion and I'm trying to downgrade to snow leopard by making a partition and trying to boot the install dvd that I just got but when I try to boot the install dvd by holding down (c) or doing it in the system preferences > star

  • Same artist name displays multiple times on iPod

    I have about 24 cd's of Miles Davis on my iPod, but his name appears twice, with the total amount of cd's split between the two Miles Davis'.... any idea as to how I can combine them? I've tried renaming the artists' name but that did not work. dell

  • Iphoto-idvd-macbook

    Hi. i have a Macbook, and when i bought it, it came with iphoto and idvd, now as the leopard doesnt comes with i life 08, when i install it on my mac will it erase those 2 applications??? Does someone installed the leopard??? Thanx!!

  • When I type in the web address I get Method Not Implemented

    then it says GET to/not supported Apache Server @www.thequiltingschool.com Port 80