FCCF214CContent
(1)
DataFormWebPart
(1)
ContentType
(1)
Shareponit
(1)
NewItem
(1)
Tomcat
(1)
Indowsservices
(1)
Newformaspx
(1)

Site Column not visible when creating a new item

Asked By <2006052
17-Nov-09 02:25 PM
Created a new Site Content Type and added two Site Columns:

1.       Name: Custom Folder

a.       Parent Content Type: Folder

b.      Group: Custom Content Types

2.       Add from existing site columns

a.       Date Picture Taken

b.      Update all content types inheriting from this type? Yes (default)

3.       Add from new site column

a.       Column name: Custom Date Picture Taken

b.      The type of information in this column is: Date and Time

c.       Group: Custom Columns (default)

d.      Date and Time Format: Date Only (default)

e.      Default value: (none) (default)

f.        Update all content types inheriting from this type? Yes (default)

Created a new List and applied the new Site Content Type:

1.       Name: Custom List

2.       Settings > List Settings

a.       Advanced settings > Allow management of content types? Yes

b.      Content Types > Add from existing site content types > Custom Folder

Created a new item in the list based on the new Site Content type by going
to Custom List > New > Custom Folder.

1.       Date Picture Taken is missing

2.       Custom Date Picture Taken is visible

However, both Site Columns are visible when going to Custom List > existing
Custom Folder > Edit Properties.

Is there a way to make both Site Columns visible when creating a new item?

------=_NextPart_0001_FCCF214CContent-Type:

stchen replied to <2006052
19-Nov-09 03:39 AM
------=_NextPart_0001_FCCF214C
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

Regarding on the custom content type creation behavior, I have performed
some tests based on the steps you provided. I did find the same behavior.
When you try creating a new "Custom Folder" item, the built-in "Date
Picture Taken" column is not displayed in the NewForm.aspx page. Since the
default NewForm.aspx use a default DataFormWebPart control, I think is
possibly something incorrect with the default DataFormWebpart's behavior on
custom content type.

I have tried using sharepoint deisgner to modify the NewForm.aspx page(of
the List that applied the "custom Folder" content type) and add a custom
DataFormWebPart(for the List's newItem action) and that can display both
the two date columns correctly.

the complete customizing steps are as below:

*open the "NewForm.aspx"( of the certain List) in sharepoint designer

*locate the original DataFormWebPart, double click it and set the "Hidden"
property to true in the "Layout" category

* choose "Insert-->Shareponit Controls--->custom List Form..." to insert a
new DataFormWebPart

* in the "List or Document Library Form" dialog, select the correct List
and contentType (and type of form to create)

* save the change and refresh the page in webbrowser.

For more information on customizing such List form page, you can refer to
the following article:

http://sharepoint07.wordpress.com/2008/02/05/customize-the-newformaspx/


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.







--------------------
From: <20060524@newsgroups.nospam>
Subject: Site Column not visible when creating a new item
Date: Tue, 17 Nov 2009 11:25:18 -0800
indowsservices:15654
X-Tomcat-NG: microsoft.public.sharepoint.windowsservices

Created a new Site Content Type and added two Site Columns:

1.       Name: Custom Folder

a.       Parent Content Type: Folder

b.      Group: Custom Content Types

2.       Add from existing site columns

a.       Date Picture Taken

b.      Update all content types inheriting from this type? Yes (default)

3.       Add from new site column

a.       Column name: Custom Date Picture Taken

b.      The type of information in this column is: Date and Time

c.       Group: Custom Columns (default)

d.      Date and Time Format: Date Only (default)

e.      Default value: (none) (default)

f.        Update all content types inheriting from this type? Yes (default)

Created a new List and applied the new Site Content Type:
Post Question To EggHeadCafe