Code Review

Code Review

In this section we will look at the custom code and components within the Sales Order solution. In the InfoPath form, there are a number of interesting techniques and components, and there are some elegant interactions with other solution components (for example, the BizTalk orchestration, the Active Directory User Data Web Service, and a number of other custom Web services).

Following the discussion about the form and the solution's Web services, we explore the interesting aspects of the contract smart document. Keep in mind that these code walkthroughs are not meant to offer an exhaustive, start-to-finish explanation of every piece of the solution. Rather, they are meant to show those elements that will be most interesting and valuable to developers and that will give developers what they need to make the solutions their own.

Topics in this section include:

  • InfoPath Sales Order Form. Describes the custom code and special techniques used in the Sales Order form, the core of the solution.

  • InfoPath Customers and Contacts Form: Describes the Customers and Contacts form and its usage of Master/Detail views, ADO.NET Datasets, and so on.

  • Integration with BizTalk Server 2004: Describes the BizTalk orchestration that uses business rules to route the submitted Sales Order form to the next person (or database) in the business process.

  • Web Services: Describes the custom Web services created specifically for connecting the two InfoPath forms to the Customers and Products databases.

  • Integration with Word 2003: Word Smart Document Using Form Data: Describes, in detail, the Word 2003 smart document, which uses data from the submitted form and implements custom logic to help a user interact with the document and create a contract.

 

© 2005 Microsoft Corporation. All rights reserved.