Solved

How to update fields on modified Sharepoint form

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SharePoint integration. 1 69
My first Javascript and jquery attempt with Sharepoint 7 87
Icons on a page, side-by-side 6 51
sharepoint 2013 foundation 2 23
Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

685 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