Display read only field in table / form from another vo

i came across couple of scenarios where i had to bring a field in a table / from from other vo than on which most fields in table / form were based. in all cases i had to display the field from another vo as read only and there was only one record in other vo which was related to previous vo in table / form. for this i created a view accessor and created a soc with model driven lov. the problem with this is that first element alwasy shows blank in soc. how can i display the filled soc with first element populated and read only in this scenario. i tried alternatively with groovy expressions but other people in team said it is not good practice to use groovy expressions to fill fields in one VO from other VO. how can i acheive this requirement with soc component / lov / view accessors. is there any other alternative as well. jdev 11 1 1 5

1) in the attribute of the VO select the 'List of values' node and edit the list attribute you see there; in the dialog select the UI Hints tad and make sure the checkmark for the 'Include "no Selection Item' is off.
2) you can base a VO on to EO which are then joined via one or more attributes (association)
Timo

Similar Messages

  • How to display "Metadata Only" field in Update Form

    Hi,
    I have added the below configuration in Config.cfg file to make Primary File non mandatory,
    AllowPrimaryMetaFile=true
    suppressAlternateFile=true
    createPrimaryMetaFile=true
    After restarting the server it displayed "Metadata only" fileld upon selecting Primary File became non mandatory, but while updating the Content this field is not getting displayed, rather it is displaying Original File field and Primary File became mandatory.
    Could you please let me know how to make Primary File non mandatory (otherwise displaying "Metadata only") in Update form. Appreciate your help on this. Thank you.
    Thanks,
    Ashok

    Hi Srinath,
    Thank you for responding, here we need to make Primary File non mandatory by displaying "Metadata only" field. we achieved this in Check In form, we need the same in Update Form.
    From the Kyle blog, he specified that option to completely hide Primary File but our requirement is making non mandatory by introducing metadata only field.
    Thanks,
    Ashok

  • How Do I:  Fill a read-only field based on selections from 2 DDlists?

    Follow-up from issue:  
    http://forums.adobe.com/message/2417876#2417876
    I have 2 drop-down lists...  "Department" and "SubDepartment"
    The selection in DDlist "Department" spawns a unique list in DDlist "SubDepartment"
    I select the proper items from both DDlists.
    When I do this, I want read-only text field "NameOnIDBadge" to be populated with a pre-defined entry.
    Example:
    In "Department" DDlist, select item "Finance & Administration"
    In "SubDepartment" DDlist, select item "Food Service" from the list that appears
    THEN:
    In read-only text field "NameOnIDBadge" the following predefined read-only text appears:  "Contract Food Serv."
    (Thanks to Paul, I already know how to make the selection in DDlist "Department"  affect the selection list in DDlist "SubDepartment"
    but I don't know how to make the selection of both DDlists create a new pre-defined entry in a text field.)
    I have attached a mockup of the file I am working with...

    I tried that but a few things went wrong.
    1. After I select "Food Service" in the second "SubDepartment" DDlist, a Javascript error message pops up (see attached), and I have to click it to make it go away.  Then the text "Contract Food Serv" appears in the text box.
    2. If I select a different value in the Department DDlist, the rawtext still remains in place... it should clear out.
    3. The raw text seems to be based on the selection of the SubDepartment DDlist only.  However, I need specific raw text to be generated based on the combination of BOTH DDlists.   (It could happen that a totally different Department DDlist could have the same item in its corresponding SubDepartment DDlist.  In that case, the rawtext would be completely different.)
    Correct example:
    Department DDlist = Finance & Administration
    SubDepartment DDlist = Food Service
    NameOnIDBadge = Contract Food Serv  <-- CORRECT
    Incorrect example:
    Department DDlist = Clinical Services
    SubDepartment DDlist = Food Service
    NameOnIDBadge = Contract Food Serv   <--  INCORRECT   (it might be something else)

  • Passing field values to form from another form

    Hi,
    I have multiple detail table for a master table. The master table is project table and the details tables are all related to the project table. In the portal forms we cannot have a form based on multiple child tables. So I am trying to enter one detail table at a time. I have created a master-detail table based on project table and a detail table (cost table). After I enter data in this MD form I want to carry the projectid to another form based on another detail table (resource table) on the next page. I want to navigate to this next form by clicking on a next button after I have entered data on the previous MD form.
    The projectid is a hidden field in the first MD form and is generated by a database sequence. I understood that there is many ways to send field values to a form:-
    1. By creating a moduleid link on the next button. This link will have the projectid value
    2. By calling the form from a PL/SQL procedure on the CALL/GO of the first MD form.
    I am not sure how to get the 'projectid' value generated from the sequence and pass it to the link or a procedure. Will the projectid value be stored in the session ? How do I get it ?
    Is the above way of entering multiple detail tables feasable ? Please advice.

    Hi,
    I have multiple detail table for a master table. The master table is project table and the details tables are all related to the project table. In the portal forms we cannot have a form based on multiple child tables. So I am trying to enter one detail table at a time. I have created a master-detail table based on project table and a detail table (cost table). After I enter data in this MD form I want to carry the projectid to another form based on another detail table (resource table) on the next page. I want to navigate to this next form by clicking on a next button after I have entered data on the previous MD form.
    The projectid is a hidden field in the first MD form and is generated by a database sequence. I understood that there is many ways to send field values to a form:-
    1. By creating a moduleid link on the next button. This link will have the projectid value
    2. By calling the form from a PL/SQL procedure on the CALL/GO of the first MD form.
    I am not sure how to get the 'projectid' value generated from the sequence and pass it to the link or a procedure. Will the projectid value be stored in the session ? How do I get it ?
    Is the above way of entering multiple detail tables feasable ? Please advice.

  • SPD Workflow - Update a hidden/read only field

    Hi there,
    I have a list with a hidden/read only field (ie Status).  So the user cannot update this field using the form or datasheet ...etc.
    I have an SPD workflow that I was hoping would modify the value of the Status field.  But it appears as though the option to modify it is not available as long as it is hidden and/or read-only.  Aka, the field doesn't show up in the list of fields
    to modify for the "Set field on current item" action.
    I was hoping to avoid importing this into a visual studio project and adding in code, which I believe would do the trick; so are there any solutions that I can do within SPD itself?
    Thanks in advance.

    Hi Eirc,
                       as i understand you question  you want to update hidden filed from workflow ? 
     solution 1 when workflow started it change field read only to false and after completing workflow
    change it again true.  by code.
    Solution 2 Use javascript to make the field read only on presentation.
    http://sputility.codeplex.com/ check this lib that might help you to manage readonly field on runtime
    Solution 3 : you achieve by setting column level permission 

  • Can no longer select text in email template or read only field with mouse using IE or Firefox?

    Hi Guys,
    I can no longer select text in email template or read only field using my mouse in IE or Firefox anymore. We are using CRM 2011 rollup 18 applied with IE 11 and the latest version of Firefox. We only applied roll up 18 in Feb when this issue began.
    Thanks
    Dave
    David Kelly

    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    (You also can clear Firefox's cache completely using:
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now")
    (2) Remove the site's cookies (save any pending work first) using either of these. While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?
    These features rely on JavaScript, and it sounds as though you have scripting enabled if you get (the wrong) color changes. Some add-ons might alter the way scripts operate, so a standard diagnostic to bypass interference by extensions (and some custom settings) is to try Firefox's Safe Mode.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
    Help > Restart with Add-ons Disabled
    In the dialog, click "Start in Safe Mode."
    If those features work correctly, this points to one of your extensions or custom settings as the problem.
    To also disable plugins, you can use this page:
    orange Firefox button ''or'' classic Tools menu > Add-ons > Plugins category
    Any change?

  • How to make read only field in Task list?

    Hi All,
    How to make read only field in Task list?

    This can be done one of two ways:
    1. Customize the form in Infopath, right click your field and disable the control.
    2. Use JavaScript/jQuery on the page to disable the element.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Updating Read-Only Field

    All,
    We have some read-only fields (configured @ the page layout settings) in OnDemand edit form
    As per the business rule, the values for these fields has to be set externally using a weblink in the same form
    We are able set back the externally selected values in the OnDemand page to the read-only fields
    But when the user tries to save, the information it is not "Saved" in OnDemand database but it works fine if fields are "Editable"
    Is there a "Server Side" restriction in OnDemand which doesnt allow to update the moidfications on the client side to read-only field on "Save"?
    Are there any workarounds to solve this issue?
    Appreciate your inputs
    Regards,
    Venkatesan
    CRMIT

    Venky,
    If I understand you correctly, you're setting the field values on the client, pushing the values into the edit form. The layout read-only setting has to prevent that - that's what it's for. What you should be able to do is set the values on the back end, using a web service call.
    Regards,
    AO.

  • This operation is not available for read only field 'Type MVF'

    Hi All,
    We are using OrderToCash PIP and we are on Siebel 8.1X.
    While Synching the customer from Ebiz to Siebel facing the following issues:
    Method 'WriteRecord' of business component 'Account' (integration component 'Account') for record with search specification '[Row Id] = "2d3434313239353"' returned the following error:"This operation is not available for read only field 'Type MVF'.(SBL-DAT-00402)"(SBL-EAI-04451)
    Please suggest us what steps to be done in Siebel.
    Thanks
    Maanasa

    First check the process why this is calling Account BC WriteRecord(). The field "Type MVF" might be read only and this sync process is trying to update this field which is read only. This is the reason for the error. Check the OM log / EAI Obj Manager Comp log (set log level to 5) and check.
    Joseph Arul Dass

  • Urgent:Regarding Reports for read only field.

    Hi All,
    Does it happen that the fields which are read only or system defined does not get reflected in report subject area or so ? I have created one report where one field 'Triage' which is Look up window and Picklist read only field is not showing up values in report subject area.Is this due to the field which is a Picklist read only field.
    Quick response will be highly appreciated!!
    Thanks and Regards,
    Manish.

    user12880720 wrote:
    Hi All,
    Does it happen that the fields which are read only or system defined does not get reflected in report subject area or so ? I have created one report where one field 'Triage' which is Look up window and Picklist read only field is not showing up values in report subject area.Is this due to the field which is a Picklist read only field.
    Quick response will be highly appreciated!!
    Thanks and Regards,
    Manish.Hi Manish,
    You do not specific if this is a multiselect picklist you are refering to or what type of reporting you are trying real-time or analytics?
    Anyway please see the below from the help file:
    Multiselect Picklists
    Multiselect picklist (MSPs) values are not supported in real-time reporting subject areas. They are supported in the historical subject areas for the following subject areas:
    Account
    Activity
    Contact
    Dealer
    Lead
    Opportunity
    Service Request

  • Field Validation on Read Only Field

    I'm trying to create a pop up error box if a field contains null values. The problem is that the field I'm trying to do the validation on is a read-only field. It's the Account field on the Contact Object or Module. It won't allow me to include validation. The goal here is to have a POP UP ERROR box come up if someone does not select a value for that field. Making it required doesn't generate a popup box, it only has a small "required" text next to the field which can be easily missed by a user. Any ideas?

    Hi !
    I found the way to do what you wan't, but it sounds a bit strange for me...
    You have to put a field validation on the Account Id field. I made some tests to know what is in the AccountId field when it's blank and i see that the value is "No Match Row Id" !!
    So your validation rule must be simply
    *&lt;&gt; "No Match Row Id"*
    It worked for me, the error message appears... But I think this is something we have to report to Oracle...
    Hope this will help, feel free to ask more !
    Max

  • Any difference in signature lock function, read-only field property, & signed tab "Mark as read-only

    Is there any real difference between
    1) simply setting a field to read-only in a custom script on the Signed tab of a signature field by:
    this.getField("field name").readonly = true;
    2) including the field in the "Mark as read-only: " list of fields on the Signed tab of a signature field
    and, 3) including the field in a call to the setLock() method of a signature field?
    As far as I can tell there isn't, but am I missing something? And if they are all the same, then since setLock() must execute in a priviledged context, it seems the harder way to get a read-only field.

    Hi Ron,
    It certainly sounds like you are on the right track.What version of Acrobat are you using, is it Pro or Standard, Mac or Win? I see where you mentioned the file was created in Acrobat X, but I'm not sure that the app that create the PDF file is the same version as the one you are using for editing.
    Steve

  • Read only fields clear with for actions

    Read only fields that are populated via lov mappings clear when any button is pressed on the page. This only happens when the field is read only or disabled. Is this intended and if it is what is the workaround???

    The button must be a submit button.
    Readonly fields or messageStyledTexts are not formElements, that they can post the value back to the ViewObject. Hence they just pass empty value to the underlying VO, when pressed formSubmit. The empty value refreshes the UI when the page refreshes after submit.
    Workaround for this is to have formValuebean that has the same VO attribute and the same LOV mapping as the readOnly field or MessageStyledText. It will act as mirror to submit the values.

  • Read Only Fields

    When a read only field is in a user role and the field is removed, the read only flag disappears.
    How can controls be implemented so that a role can not be added back in and the read only doesn't follow.
    It is important to have some fields read only and some edittable and they may change periodically.

    There is two ways to make a field "Read Only". (1) in step 2 of a Layout (2) Edit the field in the Field Setup.

  • Upload a value in read-only field using Webservices or Workflow

    Can you please let me know if is feasible to upload a value into a read-only field using webservices or workflow
    If so, can you please provide an example?
    Thanks

    Using WS, you cant update the field value, if it is set as "Read-Only" @ the object - Field definition level, but you can update that using WS if it is set as "Read-Only" @ the layout level. Same applicable to Workflows too
    -- Venky CRMIT

Maybe you are looking for