Fields missing in New Item Dialog, but available in Edit Dialog...
-
jeudi 12 avril 2012 18:14
Howdy...
We have a List using the following content types (Task, Item, and Summary Task). Content type editing has been enabled via List Settings :: Advanced Settings.
"All of a sudden" the Title column for the list does not appear on the New Item Dialog, but does appear on the Edit Dialog. I've done a view-source on the New Item Dialog and the Title column is not "hidden" via CSS.
And I've triple checked that the Title column is not "hidden" via any of the content types that were used to build the list. (It currently appears in all three.)
I've tried forcing the column to be required, but that is being ignored - so "something else" is overwriting the field attributes. e.g the New Dialog allows the save of item info without the title, even though required. And the Edit Dialog shows the Title field, and shows it as required.
This list has been in use for about 12 months, so recreating the list is not something we'd like to have to pursue. If there are any additional paths we can try to get this column back on the New Item Dialog, I would be grateful for the information.
Toutes les réponses
-
jeudi 12 avril 2012 18:29
Hi
By default Title is mandatory.Beacause you can add a new item without filling Title value, A default value is set in the title column definition
Create a new NewForm.aspx , and check now. If Title column appear in the dialog, is a coding problem in the initial NewForm.aspx file
You can replace it with this new NewFOrm.aspx, already created.
Romeo Donca, Orange Romania (MCSE, MCTS, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.
-
jeudi 12 avril 2012 18:56
I checked the Title column for the list and all the content types assigned - there is no option to add a default value. I don't have 100% access to the SharePoint because if I attempt to look at the most basic content type (e.g. Item) I don't have enough permission to view the "base" content type, just a "copy" of it used by the list. So there might be other stuff going on outside of my permissions.
I'm not sure what you mean by creating a new NewForm.aspx. Do you have a link that discusses that process?
-
jeudi 12 avril 2012 19:56
Fields have specific properties that can be adjusted to define where it is to be displayed. If you can check using SharePoint Manager 2010 or via powershell what the following field properties are:
ShowInDisplayForm
ShowInEditForm
ShowInNewForm
ShowInViewFormsThis would give an indication if the field was tampered with from it's source out-of-the-box definition.
Powershell code to get the content type:
$web = get-spweb http://site $list = $web.Lists["ListName"] $ct = $list.ContentTypes["ContentTypeName"] $field = $ct.Fields["Title"] Write-Host $field
That last line to write-host will output all the properties of the field.
Let me know the results.
- Modifié matdesmarais jeudi 12 avril 2012 19:57 typo
- Modifié matdesmarais jeudi 12 avril 2012 19:59
- Marqué comme réponse Daniel YangMicrosoft Contingent Staff, Moderator vendredi 20 avril 2012 09:16
-
vendredi 13 avril 2012 06:24
Hi
this is MS link how to create these forms
Romeo Donca, Orange Romania (MCSE, MCTS, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.
- Marqué comme réponse Daniel YangMicrosoft Contingent Staff, Moderator vendredi 20 avril 2012 09:16
-
mardi 24 avril 2012 02:50
FYI - I am not allowed remote access to the SharePoint server so can not run Poweshell Scripts or SharePoint Manager.
In the mean time, the client "republished" the list and the title column has now re-appeared. I'm trying to identify what they mean as re-publish and will post more when I find out.
-
jeudi 26 avril 2012 17:54
Ok - I found out what the client did.
On the ribbon bar, they clicked on Customize Form, which launched InfoPath. Then within InfoPath, they clicked on the Publish button.
This process brought the hidden / missing fields back to the form.
Hope this helps someone.
- Marqué comme réponse APB-IT jeudi 26 avril 2012 17:54

