?
Solved

How to update fields on modified Sharepoint form

Posted on 2013-01-15
5
Medium Priority
?
293 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 44

Assisted Solution

by:Rainer Jeschor
Rainer Jeschor earned 1500 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

770 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