Solved

How to update fields on modified Sharepoint form

Posted on 2013-01-15
5
289 Views
Last Modified: 2013-01-21
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
Comment
Question by:kasperEH
  • 4
5 Comments
 
LVL 44

Assisted Solution

by:Rainer Jeschor
Rainer Jeschor earned 500 total points
ID: 38781531
Hi,
which web part do you use in your customized edit form?
Thanks.

KR
Rainer
0
 

Author Comment

by:kasperEH
ID: 38781648
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
 

Author Comment

by:kasperEH
ID: 38782146
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
 

Accepted Solution

by:
kasperEH earned 0 total points
ID: 38786221
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
 

Author Closing Comment

by:kasperEH
ID: 38800566
It was a matter of trial and error, in the end I found out how to make it work.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

774 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question