Welcome to MSDN Blogs Sign in | Join | Help

Contact Form and View

Back to work, then; let's make a Contact form, with some suitable fields on it.

In the last instalment, we were just about to add fields to a new form  So let's do that;  create a text field.  (Select field type "text" and press the "Next>" button, or just double-click on "text").  The first field will be "full name", so let's make that the field's label.  Note that you can edit a field's label anytime;  the label can be plaintext, or even richtext if you want particular formatting.

The field name, in this case, is quite important too; A fieldname is the internal name used for the field, and never ever changes (and you can never ever have two fields with the same name).  Field names can't contain spaces or special characters.  I chose a selection of fields (FirstName, LastName, FullName, JobTitle, CompanyName) carefully - those field names happen to be the same as the properties of a contact in Outlook's object model, and I want to synchronize these contact forms with Outlook at some point.  So, in the properties list select "Name", and enter FullName.

Then "finish" - let's see how this looks on the form:

OK, it's very plain;  there's a "Style" dropdown above the form in the designer, so let's choose "LightSpirit", which looks nicer while still being fairly inoffensive.  Now add the other fields too, remembering to enter the name carefully.  (Use the "Save and Create Another" button to create lots of fields at once).

Finally, save the form -- the save button is way down the bottom right.

A Forms tool always needs at least one view, to display the records.  So, if this is your first form, a helpful popup takes you into the view builder.  Here I selected only a few of the fields, and gave the view a name ("Contacts").  Note the "move up" and "move down" buttons at the right, to change the order of columns in the view.

When you're done, save the view.  Then press the "Save to Groove" button, which saves all our work from the "designer sandbox" and makes it available to everyone in the workspace.  Finally we have a simple form to enter people's contact data, and a view showing our of contacts.

Published Friday, July 22, 2005 10:24 AM by hpyle
Filed under:

Comments

# GWS Application: Part 1

Monday, July 25, 2005 3:28 PM by hughpyle
Almost ready to write some code to call Groove Web Services now.
My aim is to create an Outlook addin,...

# GWS Application: Part 1

Tuesday, July 26, 2005 9:08 AM by hughpyle
Almost ready to write some code to call Groove Web Services now.
My aim is to create an Outlook addin,...

# Identifying Groove Forms Tools

Friday, September 09, 2005 2:10 PM by hughpyle
The various workspace tools each have a Type, which identifies the tool:  Files, Discussion, Calendar,...

# Furthur!

Friday, September 09, 2005 3:39 PM by hughpyle
Here's a recap and subject-index of the story so far.

Getting started with Groove Forms; the component...

# Furthur!

Friday, September 09, 2005 3:40 PM by hughpyle
Here's a recap and subject-index of the story so far.

Getting started with Groove Forms; the component...
Anonymous comments are disabled
 
Page view tracker