Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question
    
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 '11 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?". –  user938214097 Sep 14 '11 at 7:49
    
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 '11 at 7:54

1 Answer 1

up vote 2 down vote accepted

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!

share|improve this answer
    
it works..too good.thanks for saving our time :) –  user13774 Dec 22 '12 at 12:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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