The BizTalk integration with SharePoint is the most
important section of this article. The Windows SharePoint Services adapter
integrates a Document Library with the BizTalk System.
Document Libraries
A Document Library is just a repository for a file. It also
provides additional features like Check-in, Check-out and version control.
Figure 8
The above figure shows the various document libraries
created for the employees in the Organization.
IMPORTANT NOTE: When the document library is created, ensure
that its schema template is that of the leave application schema, otherwise the
leave application properties cannot be processed by SharePoint.
Views
Figure 9
There are two views shown in Figure 9.
TimedOutForms: This view shows only the leave applications
which are “TIMEDOUT.” This is done by setting the filter properties on the
view to display the leave applications which have been pending for 1 day. This
means that the previous day's pending leave applications shall be “TIMEDOUT”
today.
ApprovedRejectedDocs: This view shows only the leave
applications which are either “APPROVED” or “REJECTED.”
Note: The views are used by BizTalk to pickup the leave
application messages. Those messages which do not come into the view are
ignored by BizTalk.
The Figure given below shows a "TIMEDOUT" message
in Joe’s folder.
Figure 10
InfoPath – Editing an XML document with InfoPath
Figure 11 shows the filling up of the “JoeLeaveApplication”
XML document using InfoPath.
Figure 11
Event Viewer – Can be used to monitor the Workflow.
Notice the messages in Figure 12 that are logged in the
Event Viewer for the "JoeLeaveApplication" have been "TIMEDOUT"
all through.
Figure 12