Dear all....
I have been in the SharePoint scene for just two weeks now, reading books, articles and blogs about general and advanced SharePoint topics. I'm a developer and I've been assigned the task to create deployable applications/solutions for SharePoint. Specifically WSS 3.0.
So to start with something I've decided to create a simple application (what purpose is not important now) that contains a custom content type and implements a list definition based on that content type. I'm required to customize the new/edit/display forms for the items in that list and not to use InfoPath (sighh!).
Then I go and create a new Empty SharePoint project in Visual Studio, add and define the content type and then the list definition.
So my question is this. Are these following steps correct from a best practice point of view (based on what I've read so far...)
-
Open um "NewForm.aspx" in the list definition.
-
Set the <WebPartPages:WebPartZone ... ID="Main" ...> Visible property to FALSE
-
And then add my fields for example like this inside the "PlaceHolderMain" <asp:content> block
<SharePoint:FormField FieldName="Title" runat="server" ControlMode="New" />
Or what is the best way to completely customize the list forms.
Best regards from Iceland,
Sigurbjorn