Use a People Picker Control in InfoPath 2007
Default there's no People Picker control in InfoPath, however you can get a People Picker control, even in browser mode.
There is a Active-X control which takes care of the part named "Contact Selector Control".
Add Contact Selector to Controls Pane
-
On the bottom choose "Add or Remove Custom Controls"
-
Click "ADD"
-
Select Active-X
-
Select "Contact Selector", click Next
-
Select don't include a .cab file
-
From the dropdown field select "Field or Group (any data type)
-
Click Finish
DataSource for the Contact Selector control
-
Add non Repeating group named "group1"
-
Add a repeating Group names "Person"
-
Add following test field to the "Person" group (DisplayName, AccountId, AccountType)
Add Secondary datasource XMl file with details about the SharePoint Server, this is required by the form in order to validate the user against a particular sharepoint server.
-
-
Save the file as Context.xml (! Case Sensitive !)
-
Add new connection as "Receive Type" and source of data as "XML"
-
Option “Include the data as a resource file” shoule be enabled
Do you want to use more then one people picker in your form?
-
Create a new group for the new contact
-
Right click on the exiting Person group
-
Click reference and point it to the new group
-
That will copy the person xml structure under the new one
Creating custom Document Information Panels in Microsoft Office SharePoint Server 2007
Since there are some good articles about this topic on the internet I will give you a quick start finding them instead of spending time (re)writing a personal topic about a Document Information Panel.
"The Document Information Panel, displayed in Microsoft Office Word 2007, Microsoft Office Excel 2007, and Microsoft Office PowerPoint 2007 documents, enables users to view and change the properties for an individual file or for a content type that is saved to a document management server, such as a Document Workspace site or a library based on Windows SharePoint Services 3.0. These properties, or metadata (data that describes other data, for example, the words in a document are data; the word count is an example of metadata), are details about a file that describe or identify it. Users employ these properties to organize, identify, and search for documents.
One of the ways you can create and edit a custom Document Information Panel is by starting from the Microsoft Office SharePoint Server 2007 user interface. You choose the content type for which to create or edit a custom Document Information Panel. Office SharePoint Server 2007 starts Microsoft Office InfoPath 2007 and supplies the content type schema as the primary data source, and the automatically generated form as a starting point. After you edit the form, you publish it directly to the content type or to another location. This Office Visual How To shows how to create and edit a custom Document Information Panel from SharePoint Server 2007."
More Information:
How to: Create a Custom Document Information Panel from InfoPath: http://msdn.microsoft.com/en-us/library/ms563688.aspx
Custom Submit button in InfoPath 2007
The submit option of InfoPath 2007 doesn't work out of the box. The problem is that you have to specify name for the submitted form. This could be done manualy by a field or dynamic. he next 15 steps describe how you can build your own submit button.
1. Add a button;
2. Click the button properties;
3. Set Submit as action;
4. Click Submit Options;
5. Choose Perform custom action using Rules;
6. Add a rule;
7. Leave the Condition to None - This rule always applies;
8. Add action (Submit using a data connection)
9. Create a new data connection;
10. Create a new connection to Submit Data;
11. Set To a document library on a SharePoint site;
12. The complete url of the document library;
13. The file name, use dynamic functions for file names;
14. Enter a name for the data connection;
15. Hit finish;