Solved

How to update fields on modified Sharepoint form

Posted on 2013-01-15
5
291 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 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

Office 365 Advanced Training for Admins

Special Offer:  Buy 1 course, get 2nd free!  Buy the 'Managing Office 365 Identities & Requirements' course w/ Accelerated TestPrep, and automatically receive the 'Enabling Office 365 Services' course FREE!

Question has a verified solution.

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

Suggested Solutions

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…

738 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