Error in sharepoint external list while creating record with same id (this id is primary key)

Hi,
I have created one external content type in sharepoint designer to insert/update/delete table data.
This table contains Primary key constraint.
Then I have added this external content type to Sharepoint out of box List.
Insert/Update/Delete is working fine. But when I am trying to insert record with the same id which is already exist in table, page crashed and its giving me following error:
“Violation of PRIMARY KEY constraint 'PK_tbl_Accounts'. Cannot insert duplicate key in object 'dbo.tbl_Accounts'.
The duplicate key value is (1). The statement has been terminated.”
So I want to handle this exception. Can we show any popup message to hide this error?
Thanks & Regards
Rajni

Avoid entering of primary from form  if possible.
if not try to customize the new form with infopath and place your custom logic there.
http://lightningtools.com/uncategorized/modifying-external-list-forms-with-infopath-2010/
http://salnikan.wordpress.com/2011/07/26/prevention-of-duplicate-entries-based-on-two-or-more-columns-in-a-sharepoint-list/
Bala

Similar Messages

  • "Error in the application" while creating Records Center

    I get "Error in Application" error every time I try to create Record Center. The error is the same for every Web App in the farm. Can I please know what all are the pre-requisites for successful creation of Record Center?
    or else, what might be causing this error?

    Thanks Dennis!
    I know how to configure Record center. Issue is I am getting error while doing it. This is what I see in ULS logs.
    Email Routing: Failed to activate email routing feature. Exception: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Feature Infrastructure 88jm High Feature receiver assembly 'Microsoft.Office.Policy, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c', class 'Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver', method 'FeatureActivated' for feature 'd44a1358-e800-47e8-8180-adf2d0f77543' threw an exception: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Feature Infrastructure 88jm High ...Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72by High Feature Activation: Threw an exception, attempting to roll back. Feature 'EMailRouting' (ID: 'd44a1358-e800-47e8-8180-adf2d0f77543'). Exception: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00* w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72by High ...Boolean fActivate, Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Feature Activation: Activating Feature 'EMailRouting' (ID: 'd44a1358-e800-47e8-8180-adf2d0f77543') at URL http://dev-apps/sites/testing.). Execution Time=3114.78742409999 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 8l36 High Failed to activate site-scoped features for template 'OFFILE#1' in site 'http://dev-apps/sites/testing'. 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Fields bn3x High Failed to activate web features when provisioning site at url "http://dev-apps/sites/testing" with site definition "OFFILE#1". 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72h9 High Failed to apply template "OFFILE#1" to web at URL "http://dev-apps/sites/testing". 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72k2 High Failed to apply template "OFFILE#1" to web at URL "http://dev-apps/sites/testing", error Error in the application. 0x0c59ba00 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected Exception attempting to ApplyWebTemplate to SPSite http://dev-apps/sites/testing: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) at Microsoft.SharePoint... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected ....SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedCore(SPSite site, SPWeb web, String sFeatures, Boolean fMarkOnly) at Microsoft.SharePoint.SPF... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected ...eatureManager.<>c__DisplayClass7.<EnsureFeaturesActivatedAtWeb>b__6() at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtWeb(Byte[]& userToken, Guid& tranLockerId, Int32 nZone, Guid databaseid, Guid siteid, Guid webid, String sFeatures) at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDelet... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected ...eGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPSiteAdministration siteAdministration, String strWebTemplate, String strRedirect, Boolean bCreateDefaultGroups, Page page, Boolean bDeleteOnError) Attempting to delete the site collection. 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 8e11 High Deleting the site at http://dev-apps/sites/testing and not deleting AD accounts. 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection pr... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected ...ops, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedCore(SPSite site, SPWeb web, String sFeatures, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureManager.<>c__DisplayClass7.<EnsureFeaturesActivatedAtWeb>b__6() at Microsoft... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected ....SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtWeb(Byte[]& userToken, Guid& tranLockerId, Int32 nZone, Guid databaseid, Guid siteid, Guid webid, String sFeatures) at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) ... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected ... at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPSiteAdministration siteAdministration, String strWebTemplate, String strRedirect, Boolean bCreateDefaultGroups, Page page, Boolean bDeleteOnError) at Microsoft.SharePoint.ApplicationPages.CreateSitePage.BtnCreateSite_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://dev-apps:5555/_admin/createsite.aspx)). Execution Time=18570.3916978275 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:http://dev-apps:5555/_layouts/error.aspx?ErrorText=Error%20in%20the%20application%2E&ErrorCorrelationId=96cbcafe%2D0659%2D4a2c%2D8cd0%2Dcdd39c3055bf))
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://dev-apps:5555/_layouts/error.aspx?ErrorText=Error%20in%20the%20application%2E&ErrorCorrelationId=96cbcafe%2D0659%2D4a2c%2D8cd0%2Dcdd39c3055bf) 0209ba7c-e5c7-4a1b-94aa-b1465bbb7170
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 0209ba7c-e5c7-4a1b-94aa-b1465bbb7170
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://dev-apps:5555/_layouts/error.aspx?ErrorText=Error%20in%20the%20application%2E&ErrorCorrelationId=96cbcafe%2D0659%2D4a2c%2D8cd0%2Dcdd39c3055bf)). Execution Time=7.04174692593612 0209ba7c-e5c7-4a1b-94aa-b1465bbb7170
    Nothing in the Event viewer.

  • SharePoint InfoPath error SSL/TLS extern list

    Hello !
    I want to modify my Element display on my extern List (BDC SQL Server) with infopath but in SharePoint Designer when I click on edit the form with InfoPath I have this error message :
    "Could not establish trust relationship for the SSL/TLS (secure channel)."
    With the others SharePoint Lists I haven't this problem, I can modify and publish Infopath form...
    Thanks for your help.
    Nols.

    Hi Nols,
    The error might be caused by SharePoint does not trust root certificates when you are trying to access external list over SSL\TLS.
    Here is the link for the similar issue:
    http://www.c-sharpcorner.com/uploadfile/anavijai/could-not-establish-trust-relationship-for-the-ssltls-secure-channel/
    If it does not work, please check in ULS log and find detail error message for further troubleshooting.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • I have never been able to migrate my ibooks library from iTunes to ibooks. Setup stops during creating ibooks library with the following error message:iBooks quit unexpectedly while creating your library.

    i have never been able to migrate my ibooks library from iTunes to ibooks. Setup stops during creating ibooks library with the following error message:iBooks quit unexpectedly while creating your library.

    Hello cpikehfx, 
    Welcome to the forums. 
    You can try one of the two options below to work around your issue. 
    Drag and drop the files from the desired music folder to the BlackBerry Music folder using the computer.
    Open the desired music folder on the computer
    Go into Computer or My Computer and open the BlackBerry network drive
    Open the Music folder
    Drag the desired music files from the computer music folder to the BlackBerry Music folder
    Try a different Windows profile.
    Go into the Control Panel and create a new user account
    Put some music files in a folder that is accessible by all profiles or transfer them to the BlackBerry device
    Log out of the current profile and log into the new profile
    Transfer music into iTunes or Windows Media Player
    Launch BlackBerry Link and go through the setup configuring the music source of your choice
    Click on the Computer name in the bottom left corner of Link
    Select Music on the left side
    Drag and drop the desired music files from the list to the BlackBerry name in the bottom left corner of Link
    If neither of these options work for you then you will want to contact your mobile service provider and ask that this issues be escalate to BlackBerry support for investigation. 
    Hope this helps. Have a good day. 
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • How to customize Category and Category items list while creating New Model

    Hi,
    what the most convenient way to customize the Category and Category items list while creating New Model?
    This is standard:
    Now, what we want to achieve, is to customize this menu, to:
    1. Display in the Category window only f.e. two categories:
    - EA Diagrams
    - BPM Diagrams
    2. In the EA Diagrams, we want to have f.e. four copies of City Planning diagram, each of them should have different elements available, f.e. in the first copy, only Architecture Areas shall be made available, in the second one Architecture Areas and Business Functions, in the third on f.e. only Business Functions shall be made available. Additionally, it should behave like a hierarchy ... meaning you can create the second diagram, only as child (related diagram) of the first diagram etc.
    I know, excluding the particular diagrams/diagram elements can be configured using the right/profile settings, but how to:
    1. Customize the standard New Model menu window
    2. Create copies of City Planning Diagrams with different set-ups
    3. Set the relationship between diagrams
    Is such a configuration change possible?
    Thanks a lot for your help!
    Regards,
    Rafal

    Now, what we want to achieve, is to customize this menu, to:
    Question #1. Display in the Category window only f.e. two categories:
    - EA Diagrams
    - BPM Diagrams
    Click on Tools => General Options=> Model Creation
    Click on Properties => at right of Default category set
    Note : Model template does not work as Category. We can't set. An enchancement request has been open to SAP
    In the following example I defined a new default (MyNewDefault.mcc). As you can see only BPMN models are available.
    To create a new category set with BPMN choice
    a) Copy default.mcc in MyNewDefault.mcc file.
        Go to Tools=>General Options=>Model Creation : Select your new category
        Go to Tools=>General Options=>Model Creation : Edit properties and remove all things you does not want keep
    or
    b) Go to Tools=>General options=>Model Creation : Edit properties and click on Save as button and specify the file name "MyNewDefault".
        Quit the window.
        Select you new category : Go to Tools=>General Options=>Model Creation : "MyNewDefault"
        Edit properties and remove all things you does not want keep.
        Save you new category
    Question #2. How to define copies/replicas of existing diagrams
         Wrote an extension
    Question #3. How to make sure, particular diagrams can be used (created) only on predefined "levels" and how to set the parent-child relationship, so that PD enforced it directly when creating a new diagram.
         Specify yours conditons in your extension attached to your model
         Example : When the user want create a child diagram :  You can display a list of Parent Diagrams to select from.
         You can set in your extension by VBScript parent-child relationship
    Question #4 In the EA Diagrams, we want to have f.e. four copies of City Planning diagram, each of them should have different elements available, f.e. in the first copy, only Architecture Areas shall be made available, in the second one Architecture Areas and Business Functions, in the third on f.e. only Business Functions shall be made available.
    If I understand well your question. I suggest to take a look in
    Repository=>Administration=>Objects Permission Profile
    You can specify objects to show, mask, deactivate at model level.
    You can specifiy your own metadata.
    But I'm not sure you can mask, deactivate functions following diagram selection. It seem to specific.
    Message was edited by: Benoit Le Nabec

  • How to restrict the the oreder reason list while creating sales order

    Hi gurus,
    Can anyone suggest me
    how to restrict the Order rerson list
    while creating the sales order in VA01
    Thanks & Regards
    kalyan.

    hi,
    Try this exit:
    Enhancement            MMFAB001     User exit for generation of release order                    
    Thanks,
    AMS

  • Layout Par file name not appearing in list while creating new Layout

    Hi
    I downloaded com.sap.portal.layouts to modify the light_framework page to suit my needs, renamed it to com.mycomp.portal.layouts, modified the page, created a par file and uploaded it thru NWDS.
    When I go to the portal to create a new Layout, I do not see my custom par file in the list.
    I have even uploaded it from the portal: System Administration -> Support -> Support Desk -> Portal Runtime -> Administration Console -> Archive Uploader. Even after it was successful, I was not able to see the par file listed while creating a new Layout.
    How do I get my Layout par file listed do i can create my Layout?
    Thanks
    J

    Hi Bala
    I never had a problem with the JAR files in this par file while opening, nor did I have to manually add anything.
    I know it has been successfully uploaded in the portal, as I can see my par file in the Archive Deployment Checker.
    What could be wrong? Is there something else I have to put in the portalapp.xml to make it visible in the list?
    Thanks
    J

  • Blank Technologies list while creating master repository

    I am getting no technologies in the technologies list while creating the master repository in ODI. Unless I select something, master repository creation wizard is not allowing me to create a master repository. Can anyone help me where I need to mention the list.

    You need to have filled in the details in the connection boxes before a technology selection can be made.
    Craig

  • Accessing External List that uses BCS with CAML Query

    Hi,
    I have an external list that uses BCS to sql server. I can view the list with  Lists.asmx web service GetLlistItems. However, I get an parameter error when trying to add to the list with UpdateListItems. I will be changing over sharepoint lists to sql
    tables using BCS to connect to them and I need it to be seamless to clients that do CRUD operations using CAML. Are there any instructions on creating such an external list that maintains compatibility with ordinary sharepoint lists?

    CRUD options are fine.
    Here's what I've done.
    Created ECT.
    Created Read list & read item options.
    Set a limit for 200 items (for testing purposes only)
    Created external list based upon ECT created above.
    Opened external list in web browser and I'm able to open, edit & add items without issue.
    What I'd like is to have a simple HTML type form above the list (like in a Content Editor web part with a few text boxes and a 'search' button.  I've tried the link below but it either crashes Sharepoint Designer when I'm defining the parameters or
    if it works there the button doesn't work.
    http://arsalkhatri.wordpress.com/2012/01/07/external-list-with-bcs-search-filters-finders/

  • Problem while Creating MVLOG with synonym in Oracle 9i:Is it an Oracle Bug?

    Hi All,
    I am facing a problem while Creating MVLOG with synonym in Oracle 9i but for 10G it is working fine. Is it an Oracle Bug? or i am missing something.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL>
    SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
    Table created.
    SQL> create materialized view log on t;
    Materialized view log created.
    SQL> create public synonym syn_t for t;
    Synonym created.
    SQL> CREATE MATERIALIZED VIEW MV_t
      2  REFRESH ON DEMAND
      3  WITH PRIMARY KEY
      4  AS
      5  SELECT name,id
      6  FROM syn_t;
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW LOG ON  MV_t
      2  WITH PRIMARY KEY
      3   (name)
      4    INCLUDING NEW VALUES;
    Materialized view log created.
    SQL> select * from v$version;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    PL/SQL Release 9.2.0.6.0 - Production
    CORE    9.2.0.6.0       Production
    TNS for Solaris: Version 9.2.0.6.0 - Production
    NLSRTL Version 9.2.0.6.0 - Production
    SQL>
    SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
    Table created.
    SQL> create materialized view log on t;
    Materialized view log created.
    SQL> create public synonym syn_t for t;
    Synonym created.
    SQL> CREATE MATERIALIZED VIEW MV_t
    REFRESH ON DEMAND
    WITH PRIMARY KEY
    AS
      2    3    4    5  SELECT name,id
    FROM syn_t;   6
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW LOG ON  MV_t
    WITH PRIMARY KEY
    (name)
      INCLUDING NEW VALUES;  2    3    4
    CREATE MATERIALIZED VIEW LOG ON  MV_t
    ERROR at line 1:
    ORA-12014: table 'MV_T' does not contain a primary key constraintRegards
    Message was edited by:
    Avinash Tripathi
    null

    Hi Nicloei,
    Thanks for the reply. Actually i don't want any work around (Creating MVLOG on table rather than synonym is fine with me) . I just wanted to know it is actually an oracle bug or something else.
    Regards
    Avinash

  • While send/receive email, I have received an error message "Sending of password d"? However with same login details, I am able to login with other application.

    While send/receive email, I have received an error message "Sending of password d"?
    However with same login details, I am able to login with other application.
    I have changed password still the issue remains as it is.

    https://support.mozilla.org/en-US/kb/cannot-send-messages

  • Check while creating PR with account assignment K

    Hi Gurus,
    Can I put a check while creating PRs for account assignment category K, that only statistical order number range is allowed.
    In other words, user should not be allowed to put any internal order other than statistical order in PR, while creating it with account assignment category K..
    Thanks in Advance,
    Vikash

    Hi,
    You can check on business transaction RMBA - it's the purchase requisition. Set it to prerequisites and for the validation select the order type (it's better than a number range - I believe you use different order types for real/statistical I/O) from AUFK (you will see this structure as available, when creating a validation). If you do use the same order type, then check on I/O itself COBL-AUFNR.
    Regards,
    Eli

  • Error Record with Same Key

    Can anyone help me out with a master data load failure.
    My request goes off red and the message looks somehow like "Record filtered in advance as error records with the same key exist", "Filter out new records with same key". I have already checked the duplicate handle record setting in DTP. Still why am i getting this error.
    Would appreciate if some one could suggest me in this.

    Hello Shridevi M ,
    When I execute my DTP, I get a master data load failure : "Record filtered in advance as error records with the same key exist" . It's the same as you get. Please tell me how did you solved this probelm?
    Thanks in advance,
    Abdellatif

  • Problem while creating xml with cdata section

    Hi,
    I am facing problem while creating xml with cdata section in it. I am using Oracle 10.1.0.4.0 I am writing a stored procedure which accepts a set of input parameters and creates a xml document from them. The code snippet is as follows:
    select xmlelement("DOCUMENTS",
    xmlagg
    (xmlelement
    ("DOCUMENT",
    xmlforest
    (m.document_name_txt as "DOCUMENT_NAME_TXT",
    m.document_type_cd as "DOCUMENT_TYPE_CD",
    '<![cdata[' || m.document_clob_data || ']]>' as "DOCUMENT_CLOB_DATA"
    ) from table(cast(msg_clob_data_arr as DOCUMENT_CLOB_TBL))m;
    msg_clob_data_arr is an input parameter to procedure and DOCUMENT_CLOB_TBL is a pl/sql table of an object containing 3 attributes: first 2 being varchar2 and the 3rd one as CLOB. The xml document this query is generating is as follows:
    <DOCUMENTS>
    <DOCUMENT>
    <DOCUMENT_NAME_TXT>TestName</DOCUMENT_NAME_TXT>
    <DOCUMENT_TYPE_CD>BLOB</DOCUMENT_TYPE_CD>
    <DOCUMENT_CLOB_DATA>
    &lt;![cdata[123456789012345678901234567890123456789012]]&gt;
    </DOCUMENT_CLOB_DATA>
    </DOCUMENT>
    </DOCUMENTS>
    The problem is instead of <![cdata[....]]> xmlforest query is encoding everything to give &lt; for cdata tag. How can I overcome this? Please help.

    SQL> create or replace function XMLCDATA_10103 (elementName varchar2,
      2                                             cdataValue varchar2)
      3  return xmltype deterministic
      4  as
      5  begin
      6     return xmltype('<' || elementName || '><![CDATA[' || cdataValue || ']]>
      7  end;
      8  /
    Function created.
    SQL>  select xmlelement
      2         (
      3            "Row",
      4            xmlcdata_10103('Junk','&<>!%$#&%*&$'),
      5            xmlcdata_10103('Name',ENAME),
      6            xmlelement("EMPID", EMPNO)
      7         ).extract('/*')
      8* from emp
    SQL> /
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SMITH]]></Name>
      <EMPID>7369</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ALLEN]]></Name>
      <EMPID>7499</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[WARD]]></Name>
      <EMPID>7521</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JONES]]></Name>
      <EMPID>7566</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MARTIN]]></Name>
      <EMPID>7654</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[BLAKE]]></Name>
      <EMPID>7698</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[CLARK]]></Name>
      <EMPID>7782</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SCOTT]]></Name>
      <EMPID>7788</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[KING]]></Name>
      <EMPID>7839</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[TURNER]]></Name>
      <EMPID>7844</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ADAMS]]></Name>
      <EMPID>7876</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JAMES]]></Name>
      <EMPID>7900</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[FORD]]></Name>
      <EMPID>7902</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MILLER]]></Name>
      <EMPID>7934</EMPID>
    </Row>
    14 rows selected.
    SQL>

  • Net_PRICE problem while creating PO with BAPI_PO_CREATE1 ***ASAP

    Dear All,
    While creating PO with bapi BAPI_PO_CREATE1, The net price is not populating, though the logic is correct, as when i change the net price to some otrher value of in the bapi, while debugging, it is taking the Net price, but in general run, the price is over written by Gross price in PO, Please Help, Its Urgent.
    Any Sample codes are welcomed, where Net_price is used.
    Thanks in Advance..
    Rewards Guaranteed.

    Dear All,
    While creating PO with bapi BAPI_PO_CREATE1, The net price is not populating, though the logic is correct, as when i change the net price to some otrher value of in the bapi, while debugging, it is taking the Net price, but in general run, the price is over written by Gross price in PO, Please Help, Its Urgent.
    Any Sample codes are welcomed, where Net_price is used.
    Thanks in Advance..
    Rewards Guaranteed.

Maybe you are looking for

  • In need of a report that will list all vendors for all parts in our plant.

    Can anyone tell me if there is a report in SAP that we can use to list all suppliers for a given material? We are operating in SAP ECC6.0 and need a report that will list all vendors that the company has used for a given part. Is there a standard rep

  • HELP!!! Taking forever to charge new Ipad ***?

    I have been charging my new I-pad for 4 hrs from a dead battery out of box. I look at the battery charge icon and it's still empty. Also shouldn't I be a able to use it while it's charging?!? Help meeeeeeeee

  • HT201700 Voltage input range for original Macbook air 2008/2009

    My charger (A1244 | 45w) no longer works. And I need to buy a new charger. Since this is for an old 2008 macbook air, the smart thing to do is buy a charger that will work with new models (that require 85w). Apple doesn't make this power tolerance sp

  • Oracle 9i Vs 10g Express Edition PL SQL syntax problem?

    The following code works perfectly on Oracle 9i , but fails in 10g Express Edition. Please help me figure out what the problem is product_master table exists and there is nothing wrong in there.The problem is a syntical one. Is there some 9i compatib

  • How to disable spam/virus ?

    We are running 10.4.11, disabled all options in Filters tab and mail gets stuck in the queue. I checked main.cf and it looks fine. How to disable spam/virus permanently and let mail thru ? Before disabling filter, postconf -n : alias_maps = hash:/etc