Most Read

Most Read

Setting up Team Discussion Board

SharePoint 2007 has a Team Discussion Board that is used to initiate discussion and get replies on topics of interest. This article outlines the steps required to setup a discussion board, managing...
+ Full Article

More Popular Articles

Recent Articles

Recent Articles

Repeating Excel Header Rows

If your worksheet has several pages, it will be useful to have the header row repeat in all the pages. This will improve productivity as the user need not flip to the first page to view the header...
+ Full Article

More Recent Articles
Create a custom New Item or Edit Form PDF Print
User Rating: / 3
PoorBest 
Web - Sharepoint 2007

One of the intriguing aspects of the NewForm.aspx or EditForm.aspx in Sharepoint 2007 is that the fields are not displayed and hence not editable. For instance, you may wish to selectively hide certain columns either in a New Item form or Edit form. This article outlines the steps required to accomplish this as well as the limitations that arise out of such modification. Sharepoint Designer is required for this.

 

  • Open the List that you wish to modify using SP Designer
  • Select File > New > Create from Master Page from the SP Designer menu
  • This creates a new master page in SP Designer - Switch to 'Split' view
  • Click in the 'Design' mode - You can see two Placeholder rows get displayed.
  • Click on the arrow to the right in either of the rows and select 'Create Custom Content'
  • Now place the cursor in that row and select Insert > Sharepoint Controls > Custom List Form from the menu
  • This displays 'List or document library to use for form' window
  • Select the 'List' for which you wish to create the custom form and the 'Content type to use for the form' (select item for this field)
  • Select the appropriate 'Type of form to create' (New, Edit, or Display)
  • To display the standard toolbar select that check box
  •  Click 'OK' to create - this creates a new custom form.
  • Save the new form as NewForm1.aspx

 

Note that all the fields are displayed in SP Designer now! - now you can also selectively hide columns in either the new or edit form to meet your requirements.

 

Associating the NewForm1.aspx to the list

  • In SP Designer select the list to which you wish to associate the new form - this can be seen from the 'Folder List' that is displayed on the left Navigation
  • Right-click on the folder and select 'Properties'
  • Open 'Supporting Files' tabbed region
  • Click the 'Browse' button for either the New item or Edit item to which you wish to associate the new custom form
  • Select the new custom form created and click 'Apply' and click 'OK'

Known Issue(s)

Attachment function does not work when a custom form is used. When the 'Attach File' icon is clicked, you get a message 'The form was customized not working with attachment'

 

Resolution

 

Refer to the following Microsoft article for a possible resolution to the above issue.

Trackback(0)
Comments (1)add
0
...
written by Matze , May 05, 2010
Thx for the Link to the Resolution for the Known Issue with the Attachment smilies/smiley.gif
report abuse
vote down
vote up
Votes: +0
Write comment

security image
Write the displayed characters


busy
Last Updated on Sunday, 23 November 2008 14:08
 

now browsing!

We have 33 guests online

Training

UPK Training

UPK Developer Training Course Description  Overview Understanding Developer menu and toolbar itemsSetting Developer PreferencesManaging FoldersManaging DocumentsCreating Views
+ Full Article

More on Training

Featured

Create Macro Button in Excel 2007

If you have a macro enabled worksheet and would like the user to have the option to refresh data as required, have a macro button in the worksheet to initiate refresh of the data.. This article is...
+ Full Article

More Featured Articles

Sharepoint

How to add Links and Tabs

The hyperlinks displayed in the Quick Launch region can be modified or new links added. Creating new tabs is also easy with just a few clicks. This article outlines the above:
+ Full Article

More on Sharepoint

Windows

Windows Address Bar

Most of the programs on Windows can be opened quickly using the Address bar. You can also navigate directly to a web page by entering the URL in the Address bar. This function is similar to using the...
+ Full Article

More on Windows
 

Sedo - Buy and Sell Domain Names and Websites project info: referpages.com Statistics for project referpages.com etracker® web controlling instead of log file analysis