Share via

Custom Form for default task list broken?

Anonymous
2017-03-06T13:14:11+00:00

I am currently working on a SharePoint Online site from a project site template and I wanted to create a new, custom from for adding tasks to the default tasks list. Steps I followed:

  1. I launched SPD 2013 and opened my site
  2. navigated to the default tasks list
  3. in the Forms section clicked New,
  4. chose "New item form",
  5. Selected Task as the content type to use,
  6. did NOT mark it as default form
  7. checked to create link in list item and ribbon,
  8. typed a name
  9. clicked OK.
  10. Opened my site>task list in a browser...

And the result is far from perfect:

  1. There's no link to the new form in the Ribbon; There's no entry about a custom action leading to this form from the Ribbon in SPD either, it only gets added to LIM.
  2. If I go from the LIM or type the url directly to a browser the form itself doesn't work: it throws a totally useless error "Sorry, something went wrong. An unexpected error has occurred" with no further info whatsoever. No log, no details, nothing.

I checked the source code for the new form - it is EXACTLY the same as the NewForm.aspx (the default one for a new item) - to the letter, however, when I go to Web Part Maintenance Page for my custom form and for the default form there is a difference:

  • the default form has a ListFormWebPart
  • the custom form has a DataFormWebPart

although - as mentioned - the code is exactly the same.

//EDIT: the code is the same when I open .aspx files by navigating there with Windows Explorer and opening them in a text editor. Within SPD thy have different code.

I tried it also with setting the new form as a default one for this content type - the problem persists.

The problem exists on any site I have on our company's Sharepoint, so it is not site-specific.

The problem was replicated by our site-collection owner (or whatever you call the uber-admin in Sharepoint), so it is not related to permissions either.

Any hints?

//EDIT 2: Also at some point SPD decided not to show NewForm.aspx although the file was present on the server and I DID NOT touch it at all; Reverting the default form was only possible because sometime earlier I have copied the <ZoneTemplate> tag contents... Thankfully, otherwise any new form I was creating (to retrieve a default one) was causing an error. This is so FUBAR...

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2017-03-06T17:11:48+00:00

    Hi Grzegorz,

    Yes, you are correct. You need to register a Microsoft Account (e.g. ******@outlook.com) to ask a question on the TechNet Forum.

    Thanks,

    Mike

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2017-03-06T15:32:08+00:00

    Thanks - I'll go there then.

    But I can't get there with my Office 365 account... Do I really need another (MS account) to use the other forum?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2017-03-06T15:26:25+00:00

    Hi Grzegorz,

    Regarding the situation, as you are using the SharePoint designer to custom a form in SharePoint, we would suggest you post the issue in our SharePoint Customization forum which is a specific support channel for SharePoint customization related queries. The engineers and members there might provide you with professional support about your requirement.

    Thanks for your understanding.

    Allan

    Was this answer helpful?

    0 comments No comments