• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

How to update fields on modified Sharepoint form

I have created a new, custom edit form for a list in Sharepoint 2010 Foundation. The custom form is working fine with some JavaScript buttons that I have added.

Now I have created some additional fields (columns) in the list, but how can I get these into the custom edit form? When I open the form in Sharepoint Designer, the additional fields are not there, so I try to click on Insert - SharePoint - TextBox. I can now choose all the original fields in the DataField dropdown list, but not the additional fields. Even when I click on More Fields they are not there.
0
kasperEH
Asked:
kasperEH
  • 4
2 Solutions
 
Rainer JeschorCommented:
Hi,
which web part do you use in your customized edit form?
Thanks.

KR
Rainer
0
 
kasperEHAuthor Commented:
I use the default web part  to show the fields when you create a new custom form - it looks like it's called Data View

Kind regards,
Kasper
0
 
kasperEHAuthor Commented:
I tried to create a new list with all the fields from the start, then I created a new, custom edit form. Now, none of the fields are there! When I try to add a field with Insert - SharePoint - TextBox, then I get an XSLT error. Strange.
0
 
kasperEHAuthor Commented:
After some time, I created a document (an item) in the list, then highlighted the web part in Sharepoint Designer, and clicked on Refresh Data. That solved the problem.

So the conclusion must be:
Make sure that some documents (items) are created with the new list before making custom forms, and again when adding new fields
Highlight the web part of the form and in DataView Tools, click Refresh Data
If it still doesn't work , wait some time and try again
0
 
kasperEHAuthor Commented:
It was a matter of trial and error, in the end I found out how to make it work.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now