1

I'm using SharePoint Foundation 2010 and I have an external list created from an external content type. The external content type uses a WCF service as datasource.

The WCF service has only three operations: "Read List", "Read Item" and "Create".

The "Read List" operation works fine. I see in my site the results returned by the web service. But when I try to create a new item for the list I get the following error:

Unable to find the default new form for list XXX

OK, no biggy I thought, I just go to Sharepoint Designer and create the "New Item Form"(.aspx) for that list. The problem is that after I try to create a new form, I get the following error:

Could not save the list changes to the server

This is not a very useful message, so I went for the logs where I found this:

Failed to find the default form for PAGETYPE PAGE_EDITFORM

I've read many blogs and forums saying to delete the list, recreate it, empty the recycle bin etc. Nothing worked.

Have you encountered this before? What was the cause?

3
  • Welcome to SharePoint Stack Exchange! Please tag by feature or topic and not by version or product. This helps to attract more attention to your question and keep it relevant. See How do I use tags for general guidelines.
    – Alex Angas
    Sep 14, 2011 at 7:36
  • @Alex Angas: I'm sorry but I thought the version was important. I don't want to receive answers like "It works on my 2007 installation. What version are you using?". Sep 14, 2011 at 7:49
  • 1
    If you think it may be relevant then please include it in the text of the question. Specifying version in tags is considered an abuse of the system to be avoided. See here and here for past history on how we got to this point!
    – Alex Angas
    Sep 14, 2011 at 7:54

2 Answers 2

2

I managed to get my form created! I'm posting the solution that worked for me in case someone else stumbles on the same problem.

The forums and blogs I've read were correct. You have to delete the external list and recreate it. I've already done this several times and it didn't work.

But today I changed the name of the list (until now I was always recreating it with the same old name) and voila!

Now, my Forms tab in Sharepoint Designer shows two forms: DispForm.aspx and NewForm.aspx. I've tested my new form and it works great. Items are created in my external datasource.

Go figure!

0
0

Since I am new on Sharepoint.StackExchange I cant comment. My issue was resolved by the following:

. If the columns returned from the Read Item command do not match the input parameters for the Create and Update commands, the forms are not generated.

http://blogs.msdn.com/b/jorman/archive/2011/11/19/external-list-missing-new-and-edit-forms.aspx

1
  • In order to comment everywhere on site you must attain 50 reputations. Such comment type answers, will eventually be closed.
    – Asad Refai
    Dec 10, 2015 at 10:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.