Unable to insert or update lookup field

Tools: JDeveloper 9.0.3.1 using JHeadstart 9.0.4 (struts).
On a form page I have created a lookup item. Both the lookupValueAttribute and the lookupDisplayAttribute
are included in the viewObject. Selecting an item from the LOV works as can be expected. However when I
submit the form, the message "JBO-27008: Attribute set for <lookupDisplayAttribute> in view object
<EntityObjectName>_<AssociationName>_<ViewObjectName> failed" appears. When I perform an update by using
the bc4j module tester, I encounter no problems. What causes this JBO failure?
Ben van Dort

Steven,
In our project (L@reb!) , we are using UIX. The base value attribute is included as a <formValue> in the UIX-page.
displayed lookup item:
<messageLovField name="Farmacon" promptAndAccessKey="Farmac&amp;on" data:text="Farmacon@jheadstart:DsDrug" anchor="Farmacon" persistent="true" data:readOnly="isViewing@jheadstart:DsDrug" maximumLength="0" columns="50" rows="1" onClick="lovpagePopup('../lareb/lovpageFrame.jsp?title=Find+Farmacon&amp;lov=FarmaconLOV&amp;displayAttr=Farmacon&amp;valueAttr=Hpkode','DsDrugForm', 'Farmacon', 'Hpkode'); return false;"/>
base value item:
<formValue name="Hpkode" data:value="Hpkode@jheadstart:DsDrug" persistent="true"/>
lookup value item:
<formValue name="Hpkode1" data:value="Hpkode1@jheadstart:DsDrug" persistent="false"/>

Similar Messages

  • SPD Workflow 2010 how to update Lookup field to none

    Hi,
    I need to use SPD Workflow 2010 to update a Lookup field in different list to none. Can there be any possible approach to follow?
    Thanks,
    Kunal

    Hi Kunal,
    As I tested, you could use the action in workflow as below:
    listAtitle is a lookup column in my test, just manually input number zero in "To this value".
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Invalid data has been used to update the list item. The field you are trying to update may be read only (Lookup Field).

    Hi.
    I am getting below error while adding value to look-up field.
    Invalid data has been used to update the list item. The field you are trying to update may be read only.
    I have tried many forums ans post but didn't come to know what's the root cause of issue. I am also posting Code for creating and adding lookup field.
    CAML to create lookup field (It works Fine)
    string lkproductNumber = "<Field Type='Lookup' DisplayName='Product Number' StaticName='ProductNumber' ReadOnly='FALSE' List='" + pNewMaster.Id + "' ShowField='Product_x0020_Number' />";
    Code to insert value to lookup field
    ClientContext client = new ClientContext(SiteUrl);
    client.Load(client.Web);
    client.Credentials = new NetworkCredential(this.UserName, this.Password, this.Domain);
    // Lookup Lists
    List pmList = client.Web.Lists.GetByTitle("Product_Master");
    //List Conatining Lookup Columns
    List piList = client.Web.Lists.GetByTitle("Product_Inventory");
    client.Load(piList);
    query.ViewXml = "<View/>";
    ListItemCollection collection = pmList.GetItems(query);
    client.Load(collection);
    client.ExecuteQuery();
    int prodid=0;
    foreach (ListItem item in collection)
    if (Convert.ToString(item["Product_x0020_Number"]) == ProductNumber)
    { prodid = Convert.ToInt32(item["ID"]); }
    ListItem piItem = piList.AddItem(new ListItemCreationInformation());
    piItem["Product_x0020_Number"] = new FieldLookupValue() { LookupId = prodid };
    piItem.Update();
    client.ExecuteQuery();
    Exception Detail
    Microsoft.SharePoint.Client.ServerException was caught
    Message=Invalid data has been used to update the list item. The field you are trying to update may be read only.
    Source=Microsoft.SharePoint.Client.Runtime
    ServerErrorCode=-2147352571
    ServerErrorTypeName=Microsoft.SharePoint.SPException
    ServerStackTrace=""
    StackTrace:
    at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
    at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
    at WebServiceProviders.ClientServices.NewProductInventory() in Z:\.............ClientServices.cs:line 889
    InnerException:
    Quick response is highly appreciated.
    Thanks
    Mehar

    Try some thing like below,
    your data value that needs to be update should be in this format "ID of the lookup";#"Title of the Lookup" 
    For example,
    listItem["Product_x0020_Number"]
    = "1;#iPhone";
    listItem["Product_x0020_Number"]
    = "2;#Mobile";
    Hope this helped you....

  • Unable to save lookup field data in SharePoint 2013 online list

    Dear Support,
    I had successfully created provider hosted app and deployed on SharePoint 2013 online site, in my project I created orderservice.asmx.cs web service and write a code for save record on SharePoint
    2013 online list as I mentioned below and calling on App1.js file.
    But I am unable to save lookup field value as mentioned below code
    Customer is a lookup field I want to save data in SharePoint 2013 online list( Order)where I had successfully
    inserted text field  data (Title &
    Special_x0020_Instruction).
    i am getting error as mentioned below
    500 Internal Server Error {"Message":"Invalid web service call, missing value for parameter: \u0027Title1\u0027.","StackTrace":"   at System.Web.Script.Services.WebServiceMethodData.CallMethod(Object target, IDictionary`2
    parameters)\r\n   at System.Web.Script.Services.WebServiceMethodData.CallMethodFromRawParams(Object target, IDictionary`2 parameters)\r\n   at System.Web.Script.Services.RestHandler.InvokeMethod(HttpContext context, WebServiceMethodData methodData,
    IDictionary`2 rawParams)\r\n   at System.Web.Script.Services.RestHandler.ExecuteWebServiceCall(HttpContext context, WebServiceMethodData methodData)","ExceptionType":"System.InvalidOperationException"}
    Please let me know the code how to insert lookup field value (Customer)
    in SharePoint online list.
    OrderService.asmx.cs
    Public
    int InsertOrder (Order
    orderRecord)
                pwd.MakeReadOnly();
                clientContext.Credentials =
    new
    SharePointOnlineCredentials (myUserName, pwd);
    try
                  Web
    oWeb = clientContext.Web;
    ListCollection lists = oWeb.Lists;
    List oOrderlist = clientContext.Web.Lists.GetByTitle("Order");
                    clientContext.Load<ListCollection>(lists);
                    clientContext.Load<List>(oOrderlist);
                    ListItemCreationInformation
    itemCreateInfo = new                 ListItemCreationInformation();
    ListItem oListItem = oOrderlist.AddItem(itemCreateInfo);
                    oListItem["Title"]
    = Title;                        listItem["Special_x0020_Instruction"]
    = orderRecord.Instruction;
                        listItem ["Customer"]
    = orderRecord.CustomerId;
                        listItem.Update();
                        clientContext.ExecuteQuery();
    return 1;
    catch
    return -1;
    App1.JS
    $("#Save").click(function
    debugger;
    var OrderProfile = $('#orderprofile').val();
    var CustomerId = $('#exCustomerlist').jqxComboBox('getItem',
    $('#exCustomerlist').val());
    //var Instruction = $('#instruction').val();
            alert(OrderProfile);
            alert(CustomerId);
    var obj = {
    'Title': OrderProfile,
    'Customer': CustomerId }
            $.ajax({
                url:
    "OrderService.asmx/InsertOrder",
                type:
    "POST",
                dataType:
    "json",
                data: JSON.stringify(obj),
                contentType:
    "application/json; charset=utf-8",
                beforeSend:
    function (XMLHttpRequest) {
    //Specifying this header ensures that the results will be returned as JSON.
                    XMLHttpRequest.setRequestHeader("Accept",
    "application/json");
                success:
    function (response) {
                    $(".errMsg ul").remove();
    var myObject = response.d;
                    alert(myObject);
                error:
    function (response) {
                    alert(response.status +
    ' ' + response.statusText +
    ' ' + response.responseText);
    Regards,
    Akhilesh

    Hi Alex Brassington,
    Thanks for your reply.
    I am having the Site Administrator Permission of the public site.
    I am having the permission of Company Administrator of that site but still unable to find
    Device Channel on Site Setting. still I gave the user full control from Site Permission but nothing is happening.
    What should I do next?

  • Unable to update a field using the Data tab on a VIEW

    When viewing data using a VIEW instead of going to the table directly, am unable to change the values in any of the fields
    When I click on the list of VIEWs for a schema, then select a view that is based on a SELECT statement for a single table with a Primary key, and then click on the DATA tab to modify the value in one of the fields, SQL Developer does not allow me to change the value.
    Went into SQL Plus, and was able to execute an UPDATE statement against the same row of that VIEW, and update that field ("UPDATE vw_mytable SET thisfield = 'YES' WHEN row_id_number = 1'").
    Does SQL Developer not allow updating tables through a VIEW?
    Will it allow updating in the future? Please say yes.
    Oracle 10g DB and latest version of SQL Developer.

    Remember to add feature requests and vote on them on the SQL Developer Exchange!
    <br>
    <p>We have added updateable views to 1.1, but do remember, not all views are updateable - even in SQL*Plus.</p>
    <br>
    Sue

  • How to insert or update multiple values into a records of diff fields

    Hai All
    I have to insert or update or multiple values into a single records of diff fields from one to another table.
    Table1 has 3 fields
    Barcode bardate bartime
    0011 01-02-10 0815
    0022 01-02-10 0820
    0011 01-02-10 1130
    0022 01-02-10 1145
    0011 01-02-10 1230
    0022 01-02-10 1235
    0011 01-02-10 1645
    0022 01-02-10 1650
    these are the times that comes in at 0815 and goes break at 1130 and comes in at 1230 and goes home at 1645
    from these table i have to insert into another table called table2
    and the fields are barcode, date,timein intrin,introut,tiomout
    And the output want to like this
    barcode timein intrin introut timeout date
    0011 0815 1130 1230 1645 01-02-10
    0022 0820 1145 1235 1650 01-02-10
    If any give some good answer it will be help full..
    Thanks & Regards
    Srikkanth.M

    SQL> with table1 as (
      2  select '0011' Barcode,'01-02-10' bardate,'0815' bartime from dual union
      3  select '0022','01-02-10','0820' from dual union
      4  select '0011','01-02-10','1130' from dual union
      5  select '0022','01-02-10','1145' from dual union
      6  select '0011','01-02-10','1230' from dual union
      7  select '0022','01-02-10','1235' from dual union
      8  select '0011','01-02-10','1645' from dual union
      9  select '0022','01-02-10','1650' from dual
    10  )
    11  select barcode, bardate,
    12         max(decode(rn,1,bartime,null)) timein,
    13         max(decode(rn,2,bartime,null)) intrin,
    14         max(decode(rn,3,bartime,null)) introut,
    15         max(decode(rn,4,bartime,null)) timeout from (
    16                          select barcode, bardate, bartime,
    17                                 row_number() over (partition by barcode, bardate
    18                                                    order by bartime) rn
    19                            from table1)
    20  group by barcode, bardate;
    BARC BARDATE  TIME INTR INTR TIME
    0011 01-02-10 0815 1130 1230 1645
    0022 01-02-10 0820 1145 1235 1650Max
    http://oracleitalia.wordpress.com

  • Updating values dynamically in an user attribute which is lookup field

    Hi All,
    Can I have a pre process event handler to update the values in the lookup field on my create user page? I have two user attributes - one is the default organization and the other is a user created Country attribute. Both of these are Lookup fields. I want to update the country lookup field by checking what is selected in the organization lookup field. Is this possible in OIM?
    Not sure if pre process event handler is the way to go but this is what I want to achieve. Can anybody guide me regarding the same?
    Thanks,
    $id

    OK, here's my shot at a walkthrough... let me know if I missed any steps.
    1. From your original post, you are using two lookup fields. I'm use a base VM for testing, so I needed to create two. I went with City and State (I know they are OOB, but this is just an example).
    - Created Lookup.Custom.City and Lookup.Custom.State Samples:
    Lookup.Custom.City
    Code Key-Decode
    Miami-Florida
    Orlando-Florida
    New Orleans-Louisiana
    Lookup.Custom.State
    Code Key-Decode
    Florida-Florida
    Lousiana-Louisiana
    - Creating Custom UDF Attributes: Advanced->User Configuration->Actions->User Attributes (LOV's)
    -- Office City and Office State
    2. Use weblogicExportMetadata.sh to export /metadata/iam-features-requestactions/model-data/CreateUserDataSet.xml
    3. Edit CreateUserDataSet.xml to add:
    <AttributeReference name="Office State" attr-ref="Office State" available-in-bulk="false" type="String" length="20" widget="lookup" lookup-code="Lookup.Custom.State" required="false" mls="false"/>
    <AttributeReference name="Office City" attr-ref="Office City" type="String" length="30" widget="lookup-query" available-in-bulk="false">
    <lookupQuery lookup-query="select City.LKV_ENCODED as City from (Select LKV_ENCODED , LKV_DECODED  from LKU LKU, LKV LKV where lku_type_String_key = 'Lookup.Custom.City' and lku.lku_key = lkv.lku_key) City, (Select LKV_ENCODED, LKV_DECODED from LKU LKU, LKV LKV where lku_type_String_key = 'Lookup.Custom.State' and lku.lku_key = lkv.lku_key and lkv_decoded='$Form Data.Office State') State where State.LKV_ENCODED = City.LKV_DECODED order by City" display-field="City" save-field="City"/>
    </AttributeReference>4. Use weblogicImportMetadata.sh to import CreateUserDataSet.xml
    5. Run ./PurgeCache ALL (same directory)
    6. Go to request - create user (this example is for request based provisioning)
    7. If all went ok, when you select State, let's say Florida, then when you then click on city lookup, you will only see Orlando and Miami. If you toggle the state to Louisiana, you'll need to click search again on city and New Orleans should be the only one that comes up.

  • Reset Field Sequence Value based on Insert OR update on that field

    Hi Experts,
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> WITH TAB AS
      2  (
      3      SELECT 1 ID,2 SEQ FROM DUAL UNION ALL
      4      SELECT 2 ID,1 SEQ FROM DUAL UNION ALL
      5      SELECT 3 ID,4 SEQ FROM DUAL UNION ALL
      6      SELECT 4 ID,3 SEQ FROM DUAL
      7  )SELECT * FROM TAB ORDER BY SEQ
      8  ;
            ID        SEQ
             2          1
             1          2
             4          3
             3          4
    SQL>If i insert or update any of the existing field (SEQ) value, the other values in the field (SEQ) has to
    be resetted, like
    INSERT INTO TAB VALUES(5,1);
    Expected Result:
            ID        SEQ
          5         1     
             2          2
             1          3
             4          4
             3          5
    SQL>
    How can i achieve this?
    Thanks,

    looks like you might be looking for a custom sequence manager.
    you might want to consider using a trigger to do this.
    unfortunately if you use just one trigger you will probably get a mutating exception.
    so you may need to do a multiple trigger approach
    make a place to hold the rows you want to look at
    i called mine tad_mgr
    CREATE OR REPLACE PACKAGE TAD_MGR IS
    *  This package spec holds the row ids of the tad table to be  used in the 3 trigger approach
    type ridArray is table of tab.ID%type index by binary_integer;
    newRows ridArray;
    empty ridArray;
    END;
    /your 1st trigger clears out any left over rows you have.
    CREATE OR REPLACE TRIGGER TAB_1ST
        before INSERT  of ID ON TAB
    declare
    *  This is the 1st trigger in 3 trigger approach to manage seq cds on the tad table
    begin
                    TAD_MGR.newRows :=  TAD_MGR.empty;
    end;
    /your second triggers puts your new or updated row into the container
    CREATE OR REPLACE TRIGGER TAB_2ND
    BEFORE INSERT
    OF ID ON TAB  REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    declare
    This is the 2nd trigger in 3 trigger approach to manage seq cds on the tad table
    begin
                 TAD_MGR.newRows( TAD_MGR.newRows.count+1 ) := :new.id;
    end;
    /finally your last trigger does the updates.
    CREATE OR REPLACE TRIGGER TAB_3RD
    AFTER INSERT OF ID ON TAB
    declare
    This is the 3RD trigger in 3 trigger approach to manage seq cds on the tad table
    aSEQ  tab.seq%type;
    aId   tab.id%type;
    begin
      for i in 1 ..TAD_mgr.newRows.count loop
        select ID, SEQ into aId, aSeq from tab where id = taD_mgr.newRows(i);
        for c in (select  id, seq  FROM tab where seq >= aSeq and id != aid ) loop
            update tab
            set seq = c.seq + 1
            where id = c.id;
        end loop;
    end loop;
               taD_mgr.newRows := taD_mgr.empty;
       end;
    /I just did this for the insert just as an example but you can change the triggers to insert or update and change the logic accordingly
    Edited by: pollywog on Apr 12, 2010 7:14 AM

  • Insertion / Update of field of type "TIME" using Native SQL

    Hi ABAP gurus,
    We are trying to perform inserts and updates within an ORACLE table where a TIME field exists without suscess. We are trying to code it using Native SQL.
    EXEC SQL.
    INSERT INTO table (field1[name], field2[age], field3[birthday], field4[hour])
    VALUES (:name, :age, TO_DATE(:date_birth), ¿:hour?)
    ENDEXEC.
    EXEC SQL.
    UPDATE table SET field3[birthday] = TO_DATE(:date_birth), field4[hour] = ¿:hour?
    WHERE field1[name] = :name AND field2[age] = :age
    ENDEXEC.
    Which is the right coding sentence in order to achieve our goal?
    Many thanks in advance. Best regards,
       Imanol

    >
    Imanol Beguiristain wrote:
    > Hi all,
    >
    > I am sorry for being unclear.
    >
    > I do want to code both INSERT and UPDATE. That is clear.
    >
    > The problem we are having is that we don't know how to code (using Native SQL) such instructions using in the SQL sentence a field of TIME type.
    >
    > Any helps?
    >
    > Thanks in advance.
    >
    >   Imanol
    I've not heard of an Oracle TIME datatype; we used to use the timestamp which is stored as part of the date or we set up a separate column to hold the time defined as CHAR.  Still, it is possible that they have created such a thing since I last did SQL.  In which case, there would have to be a function like TO_DATE which you would use to convert your time to its time format.
    If you mean TIMESTAMP you can use something like the following to do the data conversion.
    TO_TIMESTAMP(LOCALTIMESTAMP, 'DD-MON-RR HH.MI.SSXFF')

  • Updating detail record and getting multiple 'UNABLE TO INSERT RECORD' msgs

    Help! We have 2 datablocks, master and detail block with relation defined. Master is defined with view based on database joins; detail is view based on table.
    When I update the record in detail block, error message 'UNABLE TO INSERT RECORD' appears four times, then I get transaction complete: 5 records applied and saved, where the one record successfully updates. Why are we getting four records with insert errors and one record update? We don't want to work directly on the table, but why can't we use the view? please help.

    The UNABLE TO INSERT record will be accompanied by more information if you press the Display Error key. Your form commit processing should stop when it gets an error like this, the fact that it doesn't implies that somewhere in your code you are not checking for FORM_SUCCESS before continuing doing something else.
    This sounds quite involved, we would need to have more information about what records are queried and what's being changed on them to cause the commit.

  • Unable to insert the record to table using pre-insert & pre-update trigger

    Hi All,
    I have tried to insert and update the backend table using the pre-update and pre-insert triggers. But its not working for me. Please find below the code which i have used in the triggers.
    Pre-insert trigger:
    DECLARE
    v_cust_num_cnt NUMBER;
    BEGIN
              SELECT      COUNT(customer_number)
              INTO      v_cust_num_cnt
              FROM cmw_bc_mobile_number
              WHERE substr(customer_number,1,15)=substr(:BLOCKNAME.CUSTOMER_NUMBER,1,15);
              IF      v_cust_num_cnt = 0 THEN
                        INSERT INTO cmw_bc_mobile_number (CUSTOMER_NUMBER
                                                                                                   ,MOBILE_NUMBER
    ,CREATION_DATE
    VALUES
    (substr(:BLOCKNAME.CUSTOMER_NUMBER,1,15)
    ,:BLOCKNAME.MOBILE_NUMBER
    ,SYSDATE
    COMMIT;                                                                                                    
    END IF;          
    END;
    PRE_UPDATE TRIGGER:
    BEGIN
              IF :SYSTEM.RECORD_STATUS = 'CHANGED' THEN
              UPDATE apps.cmw_bc_mobile_number
         SET mobile_number = :BLOCKNAME.MOBILE_NUMBER,
         creation_date = SYSDATE
              WHERE customer_number=substr(:BLOCKNAME.CUSTOMER_NUMBER,1,15);
              COMMIT;
         END IF;
    EXCEPTION
              WHEN OTHERS THEN
                   NULL;     
    END;
    Please let someone assist in gettting it resolved.
    Regards,
    Raj.

    Just use MESSAGE (we don't know what fnd_message is, that is some custom code):
    message('v_cust_num_cnt='||v_cust_num_cnt);
    IF v_cust_num_cnt = 0 THEN
      message('Now inserting...');
      INSERT INTO cmw_bc_mobile_number (CUSTOMER_NUMBER... 
    else
      message('Nothing to insert');
    end if;

  • Unable to update Caption field

    Hello; Wondering if anybody else has seen this problem before...
    I've spent the evening updating caption fields only to have Aperture display a "loading..." message over the photo and then return the previous caption field text. It's as if the Aperture database is fighting with a locked master file but, when I look at the masters in Finder they seem to be fine.
    I've tried using the Batch Change tool to clear the caption fields. The fields are cleared for a few minutes until Aperture updates them again and restores the previous text. I've written text over the old text but, it doesn't remain. The old text will soon restore.
    I've also tried writing the IPTC data to the master after updating the caption field but, that's not working either. I'm scratching my head on this one. I don't know what's going on. Any thoughts?

    Tony;
    Thanks for the link to the kb article. I started with Repair Permissions. When that didn't work I went with Repair Database. That solved 90% of my troubles and so I had to run Rebuild Database. I'm not at 100% but, I'd consider a 99% fix close enough. Thanks for your help.
    Scott

  • Unable to update BLOG field

    Can any one help me to solve this problem?
    Am updating worklog field in one of our application which is of type binay large object.
    this is the syntax:
    Update T61 set C536870928='hrtut' where C536870928='koko'
    But it is giving me the following error
    ORA-00932: inconsistent datatypes: expected BINARY got BINARY
    can anybody help how can we update this field??
    Pls helpme as this is very urgent

    It's because of bug 4401822 which apparently has been fixed.

  • Passing Multiple Selected List Items to a "New Item" Form in Another List with Multiselect Lookup Field

    Hi!
    Version Info:  SharePoint 2013 Server Standard (*BTW...I do not have access to Visual Studio*)
    I have two lists, let's call them
    -Assets
    -Asset Checkouts
    "Assets" is the parent list, and "Asset Checkouts" has a lookup column (multiselect) which is tied to the serial # column in the "Assets" list.
    Basically, what I need to accomplish is this:  I would like to be able to select multiple list items in the "Assets" list, and create a new item in "Asset Checkouts", and pre-fill the multiselect lookup column in the NewItem form
    for "Asset Checkouts" with the values from the selected items in "Assets".
    Any ideas or suggestions on how to do this would be most appreciated!
    Thanks!

    Hi,     
    According your description, you might want to add new item in "Asset Checkouts" list when selecting items in "Assets" list.
    If so, we can achieve it with SharePoint Client Object Model.
    We can add a button in the "Assets" list form page, when selecting items, we can take down the values of columns of the selected items, then click this button which will create
    new item in "Asset Checkouts" list with the values needed.
    Here are some links will provide more information about how to achieve it:
    Use
    SP.ListOperation.Selection.getSelectedItems() Method to get the list items being selected
    http://msdn.microsoft.com/en-us/library/ff409526(v=office.14).aspx
    How to: Create, Update, and Delete List Items Using JavaScript
    http://msdn.microsoft.com/en-us/library/office/hh185011(v=office.14).aspx
    Add ListItem with Lookup Field using Client Object Model (ECMA)
    http://notuserfriendly.wordpress.com/2013/03/14/add-listitem-with-lookup-field-using-client-object-model-ecma/
    Or if you just want to refer to the other columns in "Assets" list when add new item in "Asset Checkouts" list, we can insert the "Assets" list web part into the NewForm page
    of the "Asset Checkouts" list, then when we add new item in the "Asset Checkouts" list, we will be able to look through the "Assets" list before we select values for the Lookup column.
    To add web part into the NewForm.aspx, we need to find the button "Default New Form" from ribbon under "List" tab, then we can add web part in the NewForm.aspx.
    In the ribbon, click the button “Default New Form”:
    Then we can add web part into NewForm.aspx:
    Best regards
    Patrick Liang
    TechNet Community Support

  • Commit_form -- Unable to insert rec

    Hi all,
    I am facing one problem. Pl help me to solve this.
    While loading the form, based on the parameter, values are shown [using execute_query and default_where is set]. If I made some changes to the fields and press save, record is getting updated.
    [I have given explicit insert statement in one proc, and calling this procedure in Save button]
    It works fine.
    The pbm is, I have one button called NEW which should clear the form after pressing this[I have written clear_form(no_validate)] . And gave values for the fields and pressed save button. Gud...it is saving the record.
    If I change the value of some fields and press save button,
    "Unable to insert record" is coming..
    It is not coming if I change the value of already existing record. If I add new entry and after saving if I make changes and try to save, this pbm occurs.
    Unable to catch this bug! Pl help.
    Regards
    Priya

    Gerd,
    Shift+F1 is opening IE Help window??
    I am explaining again
    Hi all,
    I am facing one problem. Please help me to solve this.
    While loading the form, based on the parameter, values are shown [using execute_query and default_where is set]. If I made some changes to the fields and press save, record is getting updated.
    [I have given explicit insert statement in one procedure, and calling this procedure in Save button]
    It works fine.
    The problem is, I have one button called NEW which should clear the form after pressing this[I have written clear_form(no_validate)] . And gave values for the fields and pressed save button. Good...it is saving the record.
    If I change the value of some fields and press save button,
    "Unable to insert record" is coming..
    It is not coming if I change the value of already existing record. If I add new entry and after saving if I make changes and try to save, this problem occurs.
    Unable to catch this bug! Please help.
    Regards
    Priya

Maybe you are looking for

  • Please give me this solition

    1.  A standard SAP – report (RFKOPR00 - Vendor Appraisal with open item Sorted List) complies with the business requirements.  This report can be extended to report on Vendors open items in the NEW report format required. 2. Changes to be done for th

  • API5036: Client version 10.2.0.1.31 is not compatible with repository ver..

    API5036: Client version 10.2.0.1.31 is not compatible with repository version 10.2.0.2.0 I got this error after upgraded with patch p5696353_10202_AIX64-5L I tried to log in but there was a pop up dialog told me about this error. Do I have to install

  • Save image file in server machine from client

    hai I am working in swing based applications on linux environment. I can able to save the image file from java appln to local directories. My doubt is how to save that image file in another machine in the same network or in the server machine through

  • Error 148.3 PhotoshopCS4

    What does this mean? I restarted computer as asked and that did not solve problem. Thanks.

  • Does photoshop cc have a slice tool

    Hi, i cant find the slice tool in the trial version of Photoshop CC... does it exist in the trial version and if so how can i access it?