<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://geeks.netindonesia.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hesham</title><link>http://geeks.netindonesia.net/blogs/hesham/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>SQL Queries in compatible info path forms </title><link>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/sql-queries-in-compatible-info-path-forms.aspx</link><pubDate>Sun, 09 Nov 2008 07:07:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:74153</guid><dc:creator>Hesham</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://geeks.netindonesia.net/blogs/hesham/rsscomments.aspx?PostID=74153</wfw:commentRss><comments>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/sql-queries-in-compatible-info-path-forms.aspx#comments</comments><description>&lt;table class="" cellspacing="0" cellpadding="0"&gt;

&lt;tr&gt;
&lt;td class="" style="WIDTH:823px;" colspan="2" rowspan="13"&gt;
&lt;table class="" style="WIDTH:100%;" cellspacing="0" cellpadding="0"&gt;

&lt;tr&gt;
&lt;td class="" style="PADDING-RIGHT:10px;PADDING-LEFT:10px;FONT-SIZE:9pt;PADDING-BOTTOM:10px;WIDTH:804px;PADDING-TOP:10px;FONT-FAMILY:Arial;"&gt;&lt;span style="COLOR:#0066cc;FONT-FAMILY:Tahoma;"&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;Using SQL queries to (Add, Edit &amp;amp; Delete) data from DB via Info Path forms programmatically.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="COLOR:#0066cc;"&gt;Steps&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;A) Creating the Database:&lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Open SQL Server Enterprise Manager through : (Start &amp;gt; All Programs &amp;gt; Microsoft SQL Server &amp;gt; Enterprise Manager), then in Console Root folder expand the Microsoft SQL Servers then expand the SQL Server Group then expand your instance then at the Databases folder right click on it and create a new database called “QueryDB” then expand the QueryDB database and right click on Tables to create a new table called “Resource” this table holds two columns: (ResourceID – ResourceName) as shown in this figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/db.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image1" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/db.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also , add a stored procedure called “UpdateResourceName” in order to update the ResourceName as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/db2.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image69" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/db2.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;B) Creating the Web Service:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open MS- visual studio .net 2005 then click File menu &amp;gt; New &amp;gt; Web Site &amp;gt; ASP.Net Web Service : Then in the App_Code folder open Service.cs file then add these namespaces: Using System. Data; Using System.Data.SqlClient; Then, add this web method to get all of the resource names from Resource table in the QueryDB database:&amp;nbsp; &lt;/li&gt;&lt;/ul&gt;
&lt;table class="" style="FONT-SIZE:9pt;WIDTH:97%;"&gt;

&lt;tr&gt;
&lt;td class="" style="PADDING-RIGHT:10px;PADDING-LEFT:10px;PADDING-BOTTOM:10px;PADDING-TOP:10px;BACKGROUND-COLOR:whitesmoke;"&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;[&lt;span style="COLOR:teal;"&gt;WebMethod&lt;/span&gt;]&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;public&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt; GetResourceNames()&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlConnection&lt;/span&gt; con = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;SqlConnection&lt;/span&gt;(&lt;span style="COLOR:maroon;"&gt;&amp;quot;Data Source=(local);Integrated Security=SSPI;Initial Catalog=QueryDB&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlDataAdapter&lt;/span&gt; da = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;SqlDataAdapter&lt;/span&gt;(&lt;span style="COLOR:maroon;"&gt;&amp;quot;SELECT Resource.ResourceName FROM Resource&amp;quot;&lt;/span&gt;, con);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt; ds = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con.Open();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;da.Fill(ds, &lt;span style="COLOR:maroon;"&gt;&amp;quot;Resource&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con.Close();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con = &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;da = &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;return&lt;/span&gt; ds;&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;nbsp; &lt;/span&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="MARGIN:0in 0in 0pt 94.5pt;mso-add-space:auto;"&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;mso-no-proof:yes;"&gt;&lt;strong&gt;Then , add this web method to insert a new resource name:&lt;/strong&gt;&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;[&lt;span style="COLOR:teal;"&gt;WebMethod&lt;/span&gt;]&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;public&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt; SetResourceNames(&lt;span style="COLOR:blue;"&gt;string&lt;/span&gt; strInputResourceName)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlConnection&lt;/span&gt; con = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;SqlConnection&lt;/span&gt;(&lt;span style="COLOR:maroon;"&gt;&amp;quot;Data Source=(local);Integrated Security=SSPI;Initial Catalog=QueryDB&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlCommand&lt;/span&gt; com = con.CreateCommand();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;com.Parameters.AddWithValue(&lt;span style="COLOR:maroon;"&gt;&amp;quot;@InputResourceName&amp;quot;&lt;/span&gt;, strInputResourceName);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;com.CommandText = &lt;span style="COLOR:maroon;"&gt;&amp;quot;INSERT INTO Resource (Resource.ResourceName) VALUES (@InputResourceName)&amp;quot;&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;strInputResourceName = strInputResourceName.Replace(&lt;span style="COLOR:maroon;"&gt;&amp;quot;&amp;#39;&amp;quot;&lt;/span&gt;, &lt;span style="COLOR:maroon;"&gt;&amp;quot;&amp;#39;&amp;#39;&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="mso-spacerun:yes;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlDataAdapter&lt;/span&gt; daa = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;SqlDataAdapter&lt;/span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;daa.SelectCommand = com;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt; Ds = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con.Open();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;daa.Fill(Ds, &lt;span style="COLOR:maroon;"&gt;&amp;quot;Resource&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con.Close();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con = &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;daa = &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;return&lt;/span&gt; Ds;&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;nbsp; &lt;/span&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="MARGIN:0in 0in 0pt 94.5pt;mso-add-space:auto;"&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;mso-no-proof:yes;"&gt;&lt;strong&gt;Then , add this web method to delete a certain selected resource name:&lt;/strong&gt;&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;[&lt;span style="COLOR:teal;"&gt;WebMethod&lt;/span&gt;]&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;public&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt; DeleteResourceNames(&lt;span style="COLOR:blue;"&gt;string&lt;/span&gt; strDeleteResourceName)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlConnection&lt;/span&gt; con = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;SqlConnection&lt;/span&gt;(&lt;span style="COLOR:maroon;"&gt;&amp;quot;Data Source=(local);Integrated Security=SSPI;Initial Catalog=QueryDB&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlCommand&lt;/span&gt; com = con.CreateCommand();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;com.Parameters.AddWithValue(&lt;span style="COLOR:maroon;"&gt;&amp;quot;@DeleteResourceName&amp;quot;&lt;/span&gt;, strDeleteResourceName);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;com.CommandText = &lt;span style="COLOR:maroon;"&gt;&amp;quot;DELETE FROM Resource WHERE Resource.ResourceName = @DeleteResourceName&amp;quot;&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;strDeleteResourceName = strDeleteResourceName.Replace(&lt;span style="COLOR:maroon;"&gt;&amp;quot;&amp;#39;&amp;quot;&lt;/span&gt;, &lt;span style="COLOR:maroon;"&gt;&amp;quot;&amp;#39;&amp;#39;&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlDataAdapter&lt;/span&gt; daa = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;SqlDataAdapter&lt;/span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;daa.SelectCommand = com;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt; Ds = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con.Open();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;daa.Fill(Ds, &lt;span style="COLOR:maroon;"&gt;&amp;quot;Resource&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con.Close();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con = &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;daa = &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;return&lt;/span&gt; Ds;&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;nbsp; &lt;/span&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="MARGIN:0in 0in 0pt 94.5pt;mso-add-space:auto;"&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="MARGIN:0in 0in 10pt 94.5pt;mso-add-space:auto;"&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;mso-no-proof:yes;"&gt;&lt;strong&gt;Then , add this web method to update a selected resource name :&lt;/strong&gt;&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;[&lt;span style="COLOR:teal;"&gt;WebMethod&lt;/span&gt;]&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;public&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt; UpdateResourceNames(&lt;span style="COLOR:blue;"&gt;string&lt;/span&gt; strOldResourceName, &lt;span style="COLOR:blue;"&gt;string&lt;/span&gt; strNewResourceName)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlConnection&lt;/span&gt; con = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;SqlConnection&lt;/span&gt;(&lt;span style="COLOR:maroon;"&gt;&amp;quot;Data Source=(local);Integrated Security=SSPI;Initial Catalog=QueryDB&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlCommand&lt;/span&gt; com = con.CreateCommand();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlDataAdapter&lt;/span&gt; daa = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;SqlDataAdapter&lt;/span&gt;(&lt;span style="COLOR:maroon;"&gt;&amp;quot;UpdateResourceName&amp;quot;&lt;/span&gt;, con);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;daa.SelectCommand.CommandType = &lt;span style="COLOR:teal;"&gt;CommandType&lt;/span&gt;.StoredProcedure;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;daa.SelectCommand.Parameters.AddWithValue(&lt;span style="COLOR:maroon;"&gt;&amp;quot;@OldResourceName&amp;quot;&lt;/span&gt;, strOldResourceName);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;daa.SelectCommand.Parameters.AddWithValue(&lt;span style="COLOR:maroon;"&gt;&amp;quot;@NewResourceName &amp;quot;&lt;/span&gt;, strNewResourceName);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;strOldResourceName = strOldResourceName.Replace(&lt;span style="COLOR:maroon;"&gt;&amp;quot;&amp;#39;&amp;quot;&lt;/span&gt;, &lt;span style="COLOR:maroon;"&gt;&amp;quot;&amp;#39;&amp;#39;&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;strNewResourceName = strNewResourceName.Replace(&lt;span style="COLOR:maroon;"&gt;&amp;quot;&amp;#39;&amp;quot;&lt;/span&gt;, &lt;span style="COLOR:maroon;"&gt;&amp;quot;&amp;#39;&amp;#39;&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt; ds = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con.Open();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;daa.Fill(ds);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con.Close();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con = &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;daa = &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;return&lt;/span&gt; ds;&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;nbsp; &lt;/span&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="MARGIN:0in 0in 0pt 94.5pt;mso-add-space:auto;"&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;p&gt;Which shown in this figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/ws1.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image2" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/ws1.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/ws2.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image70" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/ws2.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, run this service as shown in this figure :&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/ws3.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image3" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/ws3.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the GetDomainNames link , then invoke the webmethod as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/ws4.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image4" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/ws4.JPG" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then after invoking the webmethod , it should return All of the resource names as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/ws5.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image5" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/ws5.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;C) Creating the Compatible InfoPath form &amp;amp; Publishing:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open Microsoft Office InfoPath 2007 then design a new blank form template which explained before in the previous articles ,then add a table with title layout and add a list box control , txt box control and three buttons controls ( Add , Update &amp;amp; Delete ) , as shown in the figure: &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/1.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image8" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/1.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from Tools menu &amp;gt; Data Connections, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/2.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image9" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/2.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then select receive data in order to receive data via the web service as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/3.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image10" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/3.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then select the resource of your data as a web service as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/4.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image11" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/4.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then write the URL of the location of the web service you want to use as your data connection as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/5.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image12" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/5.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you’ll find the web methods which wrote in the web service which called “GetResourceName”, “SetResourceNames”, and “DeleteResourceName” &amp;amp; ‘UpdateResourceNames” as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/6.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image13" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/6.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then store a copy of the data in the form template as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/7.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image14" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/7.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then check on the automatically retrieve data when form is opened as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/8.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image15" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/8.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Arial;"&gt;Then you’ll get the data connection source for the form template as shown in the figure:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/9a.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image16" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/9a.jpg" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then repeat these steps again but this time for “SetResourceNames” web method as shown in this figures: (But this time for submit data not receive)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/9.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image17" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/9.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then Click on Next, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/11.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image18" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/11.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, Click on Finish button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/12.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image19" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/12.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, Click on Close button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/13.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image20" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/13.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then repeat these steps again but this time for “DeleteResourceNames” web method as shown in this figures: (But this time for submit data not receive)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/14.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image21" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/14.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, click on Next button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/15.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image22" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/15.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, Click on Finish button, as shown on the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/16.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image23" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/16.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, Click on Close button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/17.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image24" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/17.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then repeat these steps again but this time for “UpdateResourceNames” web method as shown in this figures: (But this time for submit data not receive)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/18.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image25" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/18.JPG" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then, Click on Next button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/19.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image26" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/19.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, Click on Finish button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/20.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image27" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/20.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, Click on Close button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/21.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image28" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/21.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then right click on the list box and click on drop down list box properties as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/22.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image29" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/22.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then at the list box entries select look-up values from an external data source as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/23.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image30" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/23.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the entries button as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/24.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image31" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/24.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then expand the data fields till reach to the ResourceName data filed as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/25.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image32" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/25.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you’ll find the X-path to the ResourceName data field in the entries textbox as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/26.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image33" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/26.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then right click on the text box and click on text box properties as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/27.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image34" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/27.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then at Default value set the value to the value of the selected list box item as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/28.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image35" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/28.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then right click on the Add button to show its properties as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/29.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image36" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/29.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then add these rules as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/30.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image37" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/30.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also repeat these steps for the Edit button as shown in the figure but with another rules:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/31.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image38" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/31.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also repeat these steps for the Delete button as shown in these figures but also with another rules:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/32.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image39" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/32.JPG" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then, click on Ok button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/33.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image40" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/33.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from the preview tab click on form item to run the form as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/34.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image41" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/34.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here’s the result after running the form: &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/35.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image42" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/35.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, you can add data using Add button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/36.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image43" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/36.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here’s the added data, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/37.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image44" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/37.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, you can delete data using Delete button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/38.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image45" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/38.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, you can also edit your data using Edit button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/39.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image46" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/39.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here’s the result of the edited data, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/40.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image47" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/40.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then close the preview as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/41.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image48" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/41.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from Tools menu &amp;gt; Form options &amp;gt;: At the security and trust category &amp;gt; security level &amp;gt; set full trust (the form has access to files and settings on the computer, then at the form template signature &amp;gt; check on the sign this form template, as shown in the figure : &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/42.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image49" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/42.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, click on File menu &amp;gt; Publish, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/43.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image50" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/43.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then select to a network location, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/44.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image51" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/44.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then write the path and the file name for the published form template, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/45.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image52" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/45.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then remove the path from this textbox, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/46.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image53" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/46.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on Publish button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/47.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image54" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/47.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on close button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/48.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image55" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/48.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then open the central administration which explained before in the previous articles and click on the Application Management tab &amp;gt; InfoPath forms services &amp;gt; Manage form templates, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/49.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image56" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/49.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on upload form templates, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/50.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image57" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/50.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the browse button to upload the published form template, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/51.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image58" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/51.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on upload button as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/52.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image59" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/52.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on Ok button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/53.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image60" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/53.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then right click on the new published form template &amp;gt; Activate to a site collection, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/54.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image61" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/54.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then at the activation location section, right click on the site collection drop-down list and select change site collection, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/55.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image62" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/55.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then right click on the web application drop-down list and select change web application, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/56.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image63" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/56.jpg" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the sharepoint-80 link, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/57.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image64" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/57.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from the URL section select your site link, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/58.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image65" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/58.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click ok button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/59.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image67" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/59.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;D) Creating the Sharepoint Site Document-Library:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use the same steps that were explained before in the previous articles in order to create a sharepoint site and a document library so , here I created another document library called “QueryDocLib” in order to publish the published form template to it as a content type , as shown in the figure : &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/60.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image68" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/60.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on Settings tab &amp;gt; Document library settings, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/61.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image6" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/61.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, at the content types section click on add from existing site content type’s link, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/62.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image7" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/62.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from the available site content types, select the published content type “Newtemp4” and add it, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/63.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image71" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/63.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then go back to the QueryDocLib page and click on New tab , then click on the Newtemp4 item , as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/64.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image72" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/64.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, the result will be like this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/65.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image73" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/65.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you can save the document as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/66.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image74" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/66.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you can go back to the QueryDocLib page and see the saved document as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/67.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image75" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_04/67.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;
&lt;td class="" style="HEIGHT:5px;BACKGROUND-COLOR:lightsteelblue;" colspan="3"&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;
&lt;td class="" style="FONT-SIZE:8.5pt;FONT-FAMILY:Tahoma;HEIGHT:20px;BACKGROUND-COLOR:steelblue;" colspan="3"&gt;&amp;nbsp;&lt;span style="COLOR:#ffffff;"&gt;Copyright © 2006 Innovation-Hut. All Rights Reserved. |&lt;/span&gt; &amp;nbsp;&lt;a id="ctl00_HyperLink7" style="FONT-SIZE:8.5pt;COLOR:white;FONT-FAMILY:Tahoma;TEXT-DECORATION:none;" href="http://www.innovation-hut.com/Terms.aspx"&gt;Terms of Use&lt;/a&gt;&amp;nbsp; &lt;span style="COLOR:#ffffff;"&gt;| &lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;a id="ctl00_HyperLink8" style="FONT-SIZE:8.5pt;COLOR:white;FONT-FAMILY:Tahoma;TEXT-DECORATION:none;" href="http://www.innovation-hut.com/privacy.aspx"&gt;Privacy Statement&lt;/a&gt; &amp;nbsp; &lt;span style="COLOR:#ffffff;"&gt;| &lt;/span&gt;&amp;nbsp; &lt;a id="ctl00_HyperLink10" style="FONT-SIZE:8.5pt;COLOR:white;FONT-FAMILY:Tahoma;TEXT-DECORATION:none;" href="http://www.innovation-hut.com/FAQ.aspx"&gt;FAQ&lt;/a&gt;&amp;nbsp;&amp;lt;Hesham Saad Aly&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

var sc_project=2000388; 
var sc_invisible=1; 
var sc_partition=18; 
var sc_security=&amp;quot;1901aa3d&amp;quot;; 




&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/sql-queries-in-compatible-info-path-forms.aspx&amp;amp;subject=SQL Queries in compatible info path forms " target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/sql-queries-in-compatible-info-path-forms.aspx&amp;amp;t=SQL+Queries+in+compatible+info+path+forms+" target="_blank" title="Submit SQL Queries in compatible info path forms  to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/sql-queries-in-compatible-info-path-forms.aspx&amp;amp;title=SQL+Queries+in+compatible+info+path+forms+" target="_blank" title="Submit SQL Queries in compatible info path forms  to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/sql-queries-in-compatible-info-path-forms.aspx&amp;amp;phase=2" target="_blank" title="Submit SQL Queries in compatible info path forms  to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/sql-queries-in-compatible-info-path-forms.aspx&amp;amp;title=SQL+Queries+in+compatible+info+path+forms+" target="_blank" title="Add SQL Queries in compatible info path forms  to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=74153" width="1" height="1"&gt;</description></item><item><title>Integration between MOSS 2007 &amp; MS Popfly via compatible info path forms and RSS feeds </title><link>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/integration-between-moss-2007-amp-ms-popfly-via-compatible-info-path-forms-and-rss-feeds.aspx</link><pubDate>Sun, 09 Nov 2008 07:02:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:74148</guid><dc:creator>Hesham</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://geeks.netindonesia.net/blogs/hesham/rsscomments.aspx?PostID=74148</wfw:commentRss><comments>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/integration-between-moss-2007-amp-ms-popfly-via-compatible-info-path-forms-and-rss-feeds.aspx#comments</comments><description>&lt;p&gt;&lt;span style="COLOR:#0066cc;FONT-FAMILY:Tahoma;"&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;Inserting a compatible Info Path form as a document into a sharepoint document library which enables RSS feeds then integrates with MS-Popfly.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="COLOR:#0066cc;"&gt;Steps&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;A) Creating a sharepoint document library:&lt;/strong&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open a sharepoint site and create a new document library called “PopFlyDocLib” as shown in these figures:&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/1.JPG" target="_blank"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image1" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/1.JPG" /&gt;&lt;/a&gt;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/2.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image69" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/2.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;B) Creating a compatible info path form:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;We’ll create a compatible info path form that connects to the sharepoint document library that we created before and check it’s RSS feeds : Open Ms Info path 2007 &amp;gt; Design a form template … &amp;gt; Blank (Enable browser –compatiable features only) , as shown in the figure: &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/3.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image2" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/3.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from Design Tasks pane , insert TableWithTitle page layout and insert inside it a rich text box control and a button , as shown in the figure:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/4.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image70" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/4.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then right click on the button &amp;gt; click on Button properties &amp;gt;then press on Rules button , as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/5.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image3" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/5.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on Add button in order to add a rule then press on Add Action button then select Submit using a data connection from the Action drop down list then click Add button , as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/6.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image4" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/6.JPG" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then select submit data from the create a new connection to , as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/7.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image5" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/7.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Then select To a document library on a sharepoint site , as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/8.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image8" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/8.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then at the document library write the URL for the new created document library then press the next button as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/9.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image9" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/9.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then enter a name for this data connection as “PopDoc” as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/10.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image10" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/10.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from the preview tab &amp;gt; select Form , or press ctrl+shift + B , directly , as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/11.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image11" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/11.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then ,fill the rich text box control with data then press the submit button then conenct to the sharepoint site , as shown in these figures:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/12.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image12" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/12.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/13.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image13" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/13.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then close the preview , as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/14.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image14" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/14.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then switch back to the created “PopFlyDocLib” document library , and press on the Refresh button , as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/15.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image15" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/15.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Arial;"&gt;Then you’ll notice the compatiable info path form that we made was inserted as a new document in the document library as shown in the figure:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/16.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image16" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/16.jpg" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then click on the Actions tab &amp;gt; View RSS Feed , in order to check that the RSS feed for this document library works well, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/17.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image17" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/17.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then the RSS Feed for this document library will be shown like this figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/18.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image18" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/18.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;C) Integration between sharepoint site document library RSS Feed and MS-Popfly:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;First, open your browser and then write this link (http://www.popfly.ms) in the URL , as shown in the figure: &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/19.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image19" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/19.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on create a mash up as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/20.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image20" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/20.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, start building the mash up by clicking or dragging a block on the left blocks box as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/21.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image21" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/21.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from News &amp;amp; RSS blocks &amp;gt; add RSS block as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/22.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image22" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/22.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then also add News Reader, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/23.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image23" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/23.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the winch icon to adjust the properties for the RSS block and then enter the URL for the RSS Feed, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/24.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image24" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/24.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then link (combine) between the two blocks, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/25.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image25" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/25.JPG" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then click on the preview, and here’s the result of the feed:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/26.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image26" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/26.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also you can explore the RSS feed itself by clicking on the Read More &amp;gt; Link. &lt;/p&gt;
&lt;p&gt;Then you can save the project from save as link, as shown in the figure: &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/27.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image27" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/27.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from My Stuff (Menu) &amp;gt; Projects, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/28.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image28" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/28.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then press on Share link at your project &amp;gt; MashOut &amp;gt; Embed it, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/29.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image29" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/29.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then copy the HTML code as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/30.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image30" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_06/30.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then now, you can paste this code in a content page web part in the sharepoint site to display it.&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/integration-between-moss-2007-amp-ms-popfly-via-compatible-info-path-forms-and-rss-feeds.aspx&amp;amp;subject=Integration between MOSS 2007 &amp;amp; MS Popfly via compatible info path forms and RSS feeds " target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/integration-between-moss-2007-amp-ms-popfly-via-compatible-info-path-forms-and-rss-feeds.aspx&amp;amp;t=Integration+between+MOSS+2007+%26amp%3b+MS+Popfly+via+compatible+info+path+forms+and+RSS+feeds+" target="_blank" title="Submit Integration between MOSS 2007 &amp;amp; MS Popfly via compatible info path forms and RSS feeds  to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/integration-between-moss-2007-amp-ms-popfly-via-compatible-info-path-forms-and-rss-feeds.aspx&amp;amp;title=Integration+between+MOSS+2007+%26amp%3b+MS+Popfly+via+compatible+info+path+forms+and+RSS+feeds+" target="_blank" title="Submit Integration between MOSS 2007 &amp;amp; MS Popfly via compatible info path forms and RSS feeds  to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/integration-between-moss-2007-amp-ms-popfly-via-compatible-info-path-forms-and-rss-feeds.aspx&amp;amp;phase=2" target="_blank" title="Submit Integration between MOSS 2007 &amp;amp; MS Popfly via compatible info path forms and RSS feeds  to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/integration-between-moss-2007-amp-ms-popfly-via-compatible-info-path-forms-and-rss-feeds.aspx&amp;amp;title=Integration+between+MOSS+2007+%26amp%3b+MS+Popfly+via+compatible+info+path+forms+and+RSS+feeds+" target="_blank" title="Add Integration between MOSS 2007 &amp;amp; MS Popfly via compatible info path forms and RSS feeds  to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=74148" width="1" height="1"&gt;</description></item><item><title>Cascading compatible Info Path form controls </title><link>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/cascading-compatible-info-path-form-controls.aspx</link><pubDate>Sun, 09 Nov 2008 06:57:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:74147</guid><dc:creator>Hesham</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://geeks.netindonesia.net/blogs/hesham/rsscomments.aspx?PostID=74147</wfw:commentRss><comments>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/cascading-compatible-info-path-form-controls.aspx#comments</comments><description>&lt;table class="" cellspacing="0" cellpadding="0"&gt;

&lt;tr&gt;
&lt;td class="" style="WIDTH:823px;" colspan="2" rowspan="13"&gt;
&lt;table class="" style="WIDTH:100%;" cellspacing="0" cellpadding="0"&gt;

&lt;tr&gt;
&lt;td class="" style="PADDING-RIGHT:10px;PADDING-LEFT:10px;FONT-SIZE:9pt;PADDING-BOTTOM:10px;WIDTH:804px;PADDING-TOP:10px;FONT-FAMILY:Arial;"&gt;&lt;span style="COLOR:#0066cc;FONT-FAMILY:Tahoma;"&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;Cascading info path list controls as drop down list and list box controls programmatically at which the value displayed of the second control depends according to the selected value in the first control.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="COLOR:#0066cc;"&gt;Steps&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;A) Creating the Database:&lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Open SQL Server Enterprise Manager through : (Start &amp;gt; All Programs &amp;gt; Microsoft SQL Server &amp;gt; Enterprise Manager), then in Console Root folder expand the Microsoft SQL Servers then expand the SQL Server Group then expand your instance then at the Databases folder right click on it and create a new database called “CascadDB” then expand the CascadDB database and right click on Tables to create a new table called “Domain” this table holds two columns: (DomainID – DomainName) and another table called “Vendor” this table holds three columns : (VendorID – DomainID - VendorName) as shown in this figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/db.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image1" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/db.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;B) Creating the Web Service:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open MS- visual studio .net 2005 then click File menu &amp;gt; New &amp;gt; Web Site &amp;gt; ASP.Net Web Service : Then in the App_Code folder open Service.cs file then add these namespaces: Using System. Data; Using System.Data.SqlClient; Then, add this web method to get all of the domain names from Domain table in the CascadDB database: &lt;/li&gt;&lt;/ul&gt;
&lt;table class="" style="FONT-SIZE:9pt;WIDTH:97%;"&gt;

&lt;tr&gt;
&lt;td class="" style="PADDING-RIGHT:10px;PADDING-LEFT:10px;PADDING-BOTTOM:10px;PADDING-TOP:10px;BACKGROUND-COLOR:whitesmoke;"&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;[&lt;span style="COLOR:teal;"&gt;WebMethod&lt;/span&gt;]&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;public&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt; GetDomainNames()&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlConnection&lt;/span&gt; con = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;SqlConnection&lt;/span&gt;(&lt;span style="COLOR:maroon;"&gt;&amp;quot;Data Source=(local);Integrated Security=SSPI;Initial Catalog=CascadDB&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlDataAdapter&lt;/span&gt; da = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;SqlDataAdapter&lt;/span&gt;(&lt;span style="COLOR:maroon;"&gt;&amp;quot;SELECT Domain.DomainName FROM Domain&amp;quot;&lt;/span&gt;, con);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt; ds = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con.Open();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;da.Fill(ds, &lt;span style="COLOR:maroon;"&gt;&amp;quot;Domain&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con.Close();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con = &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;da = &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;return&lt;/span&gt; ds&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;mso-no-proof:yes;"&gt;&lt;strong&gt;Then , add this web method to get all vendor names according to the selected domain names :&lt;/strong&gt;&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;[&lt;span style="COLOR:teal;"&gt;WebMethod&lt;/span&gt;]&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;public&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt; GetVendorsForSelectedDomains(&lt;span style="COLOR:blue;"&gt;string&lt;/span&gt; strInputDomainName)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlConnection&lt;/span&gt; con = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;SqlConnection&lt;/span&gt;(&lt;span style="COLOR:maroon;"&gt;&amp;quot;Data Source=(local);Integrated Security=SSPI;Initial Catalog=CascadDB&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlCommand&lt;/span&gt; com = con.CreateCommand();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;com.Parameters.AddWithValue(&lt;span style="COLOR:maroon;"&gt;&amp;quot;@InputDomainName&amp;quot;&lt;/span&gt;, strInputDomainName);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;com.CommandText = &lt;span style="COLOR:maroon;"&gt;&amp;quot;SELECT Vendor.VendorName FROM Vendor INNER JOIN [Domain] ON Vendor.DomainID = [Domain].DomainID Where [Domain].DomainName = @InputDomainName&amp;quot;&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;strInputDomainName = strInputDomainName.Replace(&lt;span style="COLOR:maroon;"&gt;&amp;quot;&amp;#39;&amp;quot;&lt;/span&gt;, &lt;span style="COLOR:maroon;"&gt;&amp;quot;&amp;#39;&amp;#39;&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlDataAdapter&lt;/span&gt; daa = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;SqlDataAdapter&lt;/span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;daa.SelectCommand = com;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt; Ds = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con.Open();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;daa.Fill(Ds, &lt;span style="COLOR:maroon;"&gt;&amp;quot;Vendor&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con.Close();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con = &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;daa = &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;return&lt;/span&gt; Ds;&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;nbsp; &lt;/span&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;p&gt;Which shown in this figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/ws1.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image2" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/ws1.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, run this service as shown in this figure :&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/ws2.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image3" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/ws2.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the GetDomainNames link , then invoke the webmethod as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/ws3.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image4" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/ws3.JPG" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then after invoking the webmethod , it should return All of the domain names as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/ws4.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image5" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/ws4.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the GetVendorsForSelectedDomains link , then invoke the webmethod as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/ws5.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image6" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/ws5.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then after invoking the webmethod , it should return All of the vendor names according to the selectd domain names as shown in the figure: &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/ws6.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image7" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/ws6.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;C) Creating the Compatible InfoPath form &amp;amp; Publishing:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open Microsoft Office InfoPath 2007 then design a new blank form template which explained before in the previous articles ,then add a table with title layout and add two drop down list controls to it in which the first control populated with the domain names and the other one’s populated with values according to the selection of the first control from the CascadDB database via the created web service , as shown in the figure: &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/1.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image8" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/1.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from Tools menu &amp;gt; Data Connections, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/2.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image9" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/2.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then select receive data in order to receive data via the web service as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/3.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image10" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/3.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then select the resource of your data as a web service as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/4.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image11" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/4.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then write the URL of the location of the web service you want to use as your data connection as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/5.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image12" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/5.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you’ll find the web methods which wrote in the web service which called “GetDomainNames” &amp;amp; “GetVendorsForSelectedDomains” as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/6.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image13" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/6.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then store a copy of the data in the form template as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/7.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image14" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/7.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then check on the automatically retrieve data when form is opened as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/8.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image15" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/8.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Arial;"&gt;Then you’ll get the data connection source for the form template as shown in the figure:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/9.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image16" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/9.JPG" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then repeat these steps again but this time for “GetVendorsForSelectedDomains” web method as shown in this figures:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/10.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image17" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/10.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then Click on Next, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/11.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image18" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/11.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then check on save a copy of the data in the form template, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/12.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image19" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/12.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, Click on Finish, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/13.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image20" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/13.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, Click on close button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/14.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image21" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/14.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then right click on the domain drop down list and click on drop down list box properties as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/15.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image22" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/15.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then at the list box entries select look-up values from an external data source as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/16.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image23" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/16.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the entries button as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/17.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image24" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/17.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then expand the data fields till reach to the DomainName data filed as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/18.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image25" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/18.JPG" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then you’ll find the X-path to the DomainName data field in the entries textbox as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/19.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image26" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/19.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then check on the validations and rules and press on the Rules button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/20.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image27" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/20.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then press Add button as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/21.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image28" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/21.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then press on Add Action button as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/22.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image29" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/22.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then add these rules and press ok button as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/23.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image30" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/23.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then right click on the vendor drop down list and click on drop down list box properties as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/24.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image31" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/24.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then at the list box entries select look-up values from an external data source as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/25.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image32" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/25.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the entries button as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/26.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image33" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/26.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then expand the data fields till reach to the VendorName data filed as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/27.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image34" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/27.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you’ll find the X-path to the VendorName data field in the entries textbox as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/28.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image35" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/28.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then check on the validations and rules and press on the Rules button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/29.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image36" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/29.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then press Add button as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/30.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image37" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/30.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then add this rule &amp;amp; condition and press ok button as shown in these figures:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/31.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image38" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/31.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, Add Action and click on OK button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/32.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image39" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/32.JPG" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then from the preview tab click on form item to run the form as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/33.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image40" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/33.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here’s the result after running the form: (selecting Domain1 and getting the corresponding vendors), as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/34.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image41" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/34.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then close the preview as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/35.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image42" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/35.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from Tools menu &amp;gt; Form options &amp;gt;: At the security and trust category &amp;gt; security level &amp;gt; set full trust (the form has access to files and settings on the computer, then at the form template signature &amp;gt; check on the sign this form template, as shown in the figure : &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/36.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image43" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/36.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, click on File menu &amp;gt; Publish, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/37.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image44" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/37.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then select to a network location, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/38.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image45" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/38.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then write the path and the file name for the published form template, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/39.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image46" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/39.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then remove the path from this textbox, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/40.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image47" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/40.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on Publish button, as shown in the figure:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/41.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image48" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/41.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on close button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/42.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image49" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/42.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then open the central administration which explained before in the previous articles and click on the Application Management tab &amp;gt; InfoPath forms services &amp;gt; Manage form templates, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/m1.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image50" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/m1.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on upload form templates, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/44.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image51" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/44.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the browse button to upload the published form template, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/45.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image52" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/45.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on upload button as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/46.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image53" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/46.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on Ok button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/47.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image54" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/47.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then right click on the new published form template &amp;gt; Activate to a site collection, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/48.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image55" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/48.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then at the activation location section, right click on the site collection drop-down list and select change site collection, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/47.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image56" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/47.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then right click on the web application drop-down list and select change web application, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/48.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image57" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/48.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the sharepoint-80 link, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/49.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image58" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/49.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from the URL section select your site link, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/50.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image59" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/50.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click ok button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/51.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image60" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/51.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;D) Creating the Sharepoint Site Document-Library:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use the same steps that were explained before in the previous article in order to create a sharepoint site and a document library so , here I created another document library called “CascadDocLib” in order to publish the published form template to it as a content type , as shown in the figure : &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/52.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image61" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/52.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on Settings tab &amp;gt; Document library settings, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/53.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image62" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/53.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, at the content types section click on add from existing site content type’s link, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/55.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image63" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/55.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from the available site content types, select the published content type “Newtemp3” and add it, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/56.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image64" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/56.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then go back to the CascadDocLib page and click on New tab , then click on the Newtemp3 item , as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/57.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image65" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/57.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, the result will be like this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/58.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image66" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/58.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you can save the document as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/59.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image67" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/59.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you can go back to the CascadDocLib page and see the saved document as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/60.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image68" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_03/60.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;
&lt;td class="" style="HEIGHT:5px;BACKGROUND-COLOR:lightsteelblue;" colspan="3"&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;
&lt;td class="" style="FONT-SIZE:8.5pt;FONT-FAMILY:Tahoma;HEIGHT:20px;BACKGROUND-COLOR:steelblue;" colspan="3"&gt;&amp;nbsp;&lt;span style="COLOR:#ffffff;"&gt;Copyright © 2006 Innovation-Hut. All Rights Reserved. |&lt;/span&gt; &amp;nbsp;&lt;a id="ctl00_HyperLink7" style="FONT-SIZE:8.5pt;COLOR:white;FONT-FAMILY:Tahoma;TEXT-DECORATION:none;" href="http://www.innovation-hut.com/Terms.aspx"&gt;Terms of Use&lt;/a&gt;&amp;nbsp; &lt;span style="COLOR:#ffffff;"&gt;| &lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;a id="ctl00_HyperLink8" style="FONT-SIZE:8.5pt;COLOR:white;FONT-FAMILY:Tahoma;TEXT-DECORATION:none;" href="http://www.innovation-hut.com/privacy.aspx"&gt;Privacy Statement&lt;/a&gt; &amp;nbsp; &lt;span style="COLOR:#ffffff;"&gt;| &lt;/span&gt;&amp;nbsp; &lt;a id="ctl00_HyperLink10" style="FONT-SIZE:8.5pt;COLOR:white;FONT-FAMILY:Tahoma;TEXT-DECORATION:none;" href="http://www.innovation-hut.com/FAQ.aspx"&gt;FAQ&lt;/a&gt;&amp;nbsp;&amp;lt;Hesham Saad Aly&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

var sc_project=2000388; 
var sc_invisible=1; 
var sc_partition=18; 
var sc_security=&amp;quot;1901aa3d&amp;quot;; 




&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/cascading-compatible-info-path-form-controls.aspx&amp;amp;subject=Cascading compatible Info Path form controls " target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/cascading-compatible-info-path-form-controls.aspx&amp;amp;t=Cascading+compatible+Info+Path+form+controls+" target="_blank" title="Submit Cascading compatible Info Path form controls  to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/cascading-compatible-info-path-form-controls.aspx&amp;amp;title=Cascading+compatible+Info+Path+form+controls+" target="_blank" title="Submit Cascading compatible Info Path form controls  to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/cascading-compatible-info-path-form-controls.aspx&amp;amp;phase=2" target="_blank" title="Submit Cascading compatible Info Path form controls  to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/cascading-compatible-info-path-form-controls.aspx&amp;amp;title=Cascading+compatible+Info+Path+form+controls+" target="_blank" title="Add Cascading compatible Info Path form controls  to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=74147" width="1" height="1"&gt;</description></item><item><title>Creating Custom web page in MOSS 2007 via XmlFormView ASP.Net Control</title><link>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/creating-custom-web-page-in-moss-2007-via-xmlformview-asp-net-control.aspx</link><pubDate>Sun, 09 Nov 2008 06:43:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:74146</guid><dc:creator>Hesham</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://geeks.netindonesia.net/blogs/hesham/rsscomments.aspx?PostID=74146</wfw:commentRss><comments>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/creating-custom-web-page-in-moss-2007-via-xmlformview-asp-net-control.aspx#comments</comments><description>&lt;table class="" cellspacing="0" cellpadding="0"&gt;

&lt;tr&gt;
&lt;td class="" style="WIDTH:823px;" colspan="2" rowspan="13"&gt;
&lt;table class="" style="WIDTH:100%;" cellspacing="0" cellpadding="0"&gt;

&lt;tr&gt;
&lt;td class="" style="PADDING-RIGHT:10px;PADDING-LEFT:10px;FONT-SIZE:9pt;PADDING-BOTTOM:10px;WIDTH:804px;PADDING-TOP:10px;FONT-FAMILY:Arial;"&gt;&lt;span style="COLOR:#0066cc;FONT-FAMILY:Tahoma;"&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;Creating a custom web page in MOSS 2007 to render browser –enabled, interactive info path forms via XmlFormView ASP.Net Control.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="COLOR:#0066cc;"&gt;Steps&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;A) Creating the new web page &amp;amp; Adding the XmlFormView control:&lt;/strong&gt; 
&lt;ul&gt;
&lt;li&gt;Click , Start &amp;gt; Administrative Tools &amp;gt; Internet Information Services (IIS) Manager, Then expand the Server Name (local computer) in order to have the list of IIS services that are available on the server. Then expand the Web Sites to show the list of web sites that are managed by IIS then right click sharepoint – 80 and then click properties then on the ASP.Net tab of the sharepoint-80 properties dialog box, highlight and copy the text in the File location box without copying the web.config that appears at the end of the File Location string as shown in these figures: &lt;/li&gt;&lt;/ul&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/1.JPG" target="_blank"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image1" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/1.JPG" /&gt;&lt;/a&gt;&amp;nbsp; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/2.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image69" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/2.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then start Visual Studio.Net 2005 , File &amp;gt; Open &amp;gt; Web Site &amp;gt; File System , then in the folder box paste the file location path that you copied then click open , as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/3.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image2" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/3.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then right click on the path of the web site in solution explorer and select New folder and name it “XmlFormView” then right click on the new folder and select Add new item &amp;gt; Web form and name it “MyCustomPage” and select place code in separate file then click add as shown in the figure:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/4.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image70" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/4.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then add the XmlFormView control to the “MyCustomPage.aspx” web page , then in the Document Properties for “MyCustomPage.aspx” page click True for the EnableSessionState property as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/5.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image3" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/5.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then at the source view , remove the default Doctype declaration tag which begins with &lt;span style="FONT-SIZE:11pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-no-proof:yes;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;span style="FONT-SIZE:11pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-no-proof:yes;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&amp;lt;! DOCTYPE html PUBLIC , &lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Arial;"&gt;and modify the Body tag to contain the folowwing style atrributes :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:11pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-no-proof:yes;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;span style="FONT-SIZE:11pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-no-proof:yes;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Arial;"&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;style=&amp;quot;margin: 0px;overflow:auto;padding:20px&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&amp;nbsp;then modify the Form tag to contain the following enctype attribute :&lt;/span&gt;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="FONT-SIZE:11pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-no-proof:yes;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&lt;pre&gt;enctype=&amp;quot;multipart/form-data&amp;quot;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/6.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image4" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/6.JPG" /&gt;&lt;/a&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then in the Design view, add XmlFormView control from the Toolbox then from its properties in the Data Binding section Paste the URL to browser – enabled form template in XsnLocation Property of the control But first let’s design a form template To be used: Open MS Office InfoPath 2007 &amp;gt; Design a Form Template &amp;gt; Form Template &amp;gt; Blank &amp;gt; Enable browser – compatible features only, as Shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/7.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image5" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/7.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then in the task pane &amp;gt; Controls &amp;gt; Add Date picker &amp;gt; Date Picker Properties &amp;gt; click the function button to the right of the value Box &amp;gt; then in the Insert formula box &amp;gt; Insert Function &amp;gt; Click Today function &amp;gt; Ok, as shown in the figure: &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/8.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image8" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/8.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then add an optional section to the form &amp;gt;(Section properties) then On Data tab &amp;gt; Click Include the section in the form by default &amp;gt; in Display tab &amp;gt; click conditional formatting &amp;gt; in Conditional format Box &amp;gt; Add &amp;gt; confirm that the first drop down box contains field1 Which bound to the date picker control otherwise change it to field1 &amp;gt; In third box under If this condition is true &amp;gt; click drop down List &amp;gt; select use a formula &amp;gt; Insert formula box &amp;gt; click Insert Function &amp;gt; Click today function &amp;gt; Ok &amp;gt; in Conditional format box &amp;gt; Shading drop down list and select a color &amp;gt; Ok, as shown in these Figures: &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/9.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image9" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/9.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/10.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image10" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/10.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then repeat the previous steps again but select a different color To use when the field1 is later than today date and for when field1 Is earlier than today date, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/11.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image11" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/11.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, File &amp;gt; Publish &amp;gt; to a sharepoint server with or without InfoPath forms services &amp;gt; Next, as shown in these figures: &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/12.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image12" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/12.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/13.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image13" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/13.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, select enable this form to be filled out by using a browser &amp;gt; Select Document library &amp;gt; Next, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/14.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image14" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/14.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, click creates a new document library &amp;gt; Next, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/15.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image15" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/15.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Arial;"&gt;Then, type a name for the new document library &amp;gt; Next, as shown in the figure:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/16.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image16" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/16.jpg" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then click, Next &amp;gt; Publish, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/17.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image17" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/17.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, click Open this form in the browser in the publishing wizard box, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/18.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image18" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/18.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then in the address bar in IE copy the XsnLocation portion of the URL starting after the equal sign (=) with “http” and ending with “.xsn” then close the browser , as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/19.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image19" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/19.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then close the wizard as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/20.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image20" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/20.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, go back to the XmlFormView control &amp;gt; XsnLocation property &amp;gt; Paste the URL you got, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/21.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image21" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/21.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, on the website menu &amp;gt; Start Options &amp;gt; Start actions section: click start URL to your custom page such as: http://ServerName/XmlFormView/MyCustomPage.aspx, as shown in these figures: &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/22.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image22" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/22.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/23.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image23" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/23.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click Ok, then on File menu &amp;gt; click save all and give a solution a name and location. Then click, Start &amp;gt; All programs &amp;gt; Microsoft visual studio 2005 &amp;gt; visual studio Tools &amp;gt; open visual studio 2005 command prompt window, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/24.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image24" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/24.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then type iisreset&amp;gt; Enter, then close the prompt window, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/25.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image25" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/25.JPG" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then debug the web page: Save the custom web page &amp;gt; press F5 to start debugging , if you receive a message that states the web.config file not being configured for debugging , click ok which automatically adds the debug flag to the web.config file , as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/26.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image26" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/26.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;B) Passing a value from the template form to the web page :&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;ul&gt;
&lt;li&gt;Add these namespaces:&lt;strong&gt; 
&lt;p&gt;Using System.Xml; &lt;/p&gt;&lt;/strong&gt;&lt;strong&gt;Using System.Xml.XPath; &lt;/strong&gt;&lt;/strong&gt;&lt;strong&gt;
&lt;p&gt;&lt;/strong&gt;Then add a Textbox control: as shown in the figure: &lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/27.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image27" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/27.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then in the Button click event, write this code:&lt;/p&gt;
&lt;table class="" style="FONT-SIZE:9pt;WIDTH:97%;"&gt;

&lt;tr&gt;
&lt;td class="" style="PADDING-RIGHT:10px;PADDING-LEFT:10px;PADDING-BOTTOM:10px;PADDING-TOP:10px;BACKGROUND-COLOR:whitesmoke;"&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;COLOR:blue;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;protected&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt; &lt;span style="COLOR:blue;"&gt;void&lt;/span&gt; Button1_Click(&lt;span style="COLOR:blue;"&gt;object&lt;/span&gt; sender, &lt;span style="COLOR:teal;"&gt;EventArgs&lt;/span&gt; e)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;XmlFormView1.DataBind();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;XPathNavigator&lt;/span&gt; xNavMain =&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/span&gt;XmlFormView1.XmlForm.MainDataSource.CreateNavigator();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;XmlNamespaceManager&lt;/span&gt; xNameSpace =&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;XmlNamespaceManager&lt;/span&gt;(&lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;NameTable&lt;/span&gt;());&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;xNameSpace.AddNamespace(&lt;span style="COLOR:maroon;"&gt;&amp;quot;my&amp;quot;&lt;/span&gt;, XmlFormView1.XmlForm.NamespaceManager.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/span&gt;LookupNamespace(&lt;span style="COLOR:maroon;"&gt;&amp;quot;my&amp;quot;&lt;/span&gt;).ToString());&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;TextBox1.Text = xNavMain.SelectSingleNode(&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:maroon;"&gt;&amp;quot;/my:myFields/my:field2&amp;quot;&lt;/span&gt;, xNameSpace).ToString();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;p&gt;as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/28.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image28" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/28.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;C) Passing a value from the web page to the template form:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add another Textbox control to both the web page and the info path browser – enabled form template rendered in the XmlFormView control , Then switch to the source view of your web page and locate the tag for the XmlFormView1 control as: &lt;/li&gt;&lt;/ul&gt;
&lt;table class="" style="FONT-SIZE:9pt;WIDTH:97%;"&gt;

&lt;tr&gt;
&lt;td class="" style="PADDING-RIGHT:10px;PADDING-LEFT:10px;PADDING-BOTTOM:10px;PADDING-TOP:10px;BACKGROUND-COLOR:whitesmoke;"&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&amp;lt;cc1:XmlFormView ID=&amp;quot;XmlFormView1&amp;quot; runat=&amp;quot;server&amp;quot; Height=&amp;quot;250px&amp;quot;
    Width=&amp;quot;100%&amp;quot;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;XsnLocation=&amp;quot;http://&lt;i&gt;ServerName&lt;/i&gt;/&lt;i&gt;DocumentLibrary&lt;/i&gt;/Forms/template.xsn&amp;quot;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="MARGIN:0in 0in 0pt 94.5pt;mso-add-space:auto;"&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&amp;nbsp;&lt;/span&gt; &lt;/p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&amp;nbsp;&lt;/span&gt; &lt;strong&gt;&lt;span style="FONT-SIZE:10pt;"&gt;Then declare the name of the Initialize event handler in the XmlFormView1 control tag, as:&lt;/span&gt;&lt;/strong&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&amp;lt;cc1:XmlFormView ID=&amp;quot;XmlFormView1&amp;quot; runat=&amp;quot;server&amp;quot; Height=&amp;quot;250px&amp;quot;
    Width=&amp;quot;100%&amp;quot;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;XsnLocation=&amp;quot;http://&lt;i&gt;ServerName&lt;/i&gt;/&lt;i&gt;DocumentLibrary&lt;/i&gt;/Forms/template.xsn&amp;quot;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;OnInitialize=&amp;quot;XmlFormView1_Initialize&amp;quot; /&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&amp;nbsp;&lt;/span&gt; 
&lt;p class="MsoListParagraphCxSpLast" style="MARGIN:0in 0in 10pt 94.5pt;mso-add-space:auto;"&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;Then in the Initialize event handler, write:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="COLOR:blue;"&gt;protected&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;
    void&lt;/span&gt; XmlFormView1_Initialize(object sender, &lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;InitializeEventArgs
    e)&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;XPathNavigator
    xNavMain = XmlFormView1.XmlForm.MainDataSource.CreateNavigator();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;XmlNamespaceManager
    xNameSpace = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; XmlNamespaceManager(&lt;span style="COLOR:blue;"&gt;new&lt;/span&gt;
    NameTable());&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;xNameSpace.AddNamespace(&lt;span style="COLOR:maroon;"&gt;&amp;quot;my&amp;quot;&lt;/span&gt;, &lt;span style="COLOR:maroon;"&gt;&amp;quot;http:&lt;/span&gt;&lt;span style="COLOR:green;"&gt;//schemas.microsoft.com &lt;br /&gt; /office/infopath/2003/myXSD/2006-04-20T16:26:21&amp;quot;&lt;/span&gt;&lt;span style="COLOR:maroon;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;XPathNavigator
    fTextBox1 = xNavMain.SelectSingleNode(&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;/span&gt;&lt;span style="COLOR:maroon;"&gt;&amp;quot;my:myFields/my:field2&amp;quot;&lt;/span&gt;, xNameSpace);&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;/span&gt;fTextBox1.SetValue(TextBox1.Text);&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;p&gt;As shown in the figure: &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/29.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image29" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/29.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;D) Submitting Data from the form &lt;/strong&gt;&lt;strong&gt;:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a SubmitToHostAdapter data connection in the form template that is hosted in a custom web page : Open InfoPath form template in design mode &amp;gt; Tools menu &amp;gt;Data Connections &amp;gt; Add &amp;gt; Create a new connection &amp;gt; Submit Data &amp;gt; Next &amp;gt; Select To the hosting environment, such as an ASP.Net page or a hosting application &amp;gt; Next, as shown in the figure: &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/30.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image30" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:607px;HEIGHT:429px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/30.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then type a name for the new data connection &amp;gt; Finish. Then enable the form to submit its XML data to the hosting environment: Tools menu &amp;gt; Submit Options &amp;gt; Allow Users to submit this form &amp;gt; then in the first drop down list &amp;gt; select Hosting environment &amp;gt; and in the second list &amp;gt; select the name you gave to the data connection, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/31.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image31" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:388px;HEIGHT:339px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/31.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click Ok, and Republish the form template to the same document library on the sharepoint server or create a new document library, Then go back to the VS solution, and write this code in the Submit ToHost event handler of the XmlFormView1 control:&lt;/p&gt;
&lt;p&gt;
&lt;table class="" style="FONT-SIZE:9pt;WIDTH:97%;"&gt;

&lt;tr&gt;
&lt;td class="" style="PADDING-RIGHT:10px;PADDING-LEFT:10px;PADDING-BOTTOM:10px;PADDING-TOP:10px;BACKGROUND-COLOR:whitesmoke;"&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="COLOR:blue;"&gt;protected&lt;/span&gt; &lt;span style="COLOR:blue;"&gt;
    void&lt;/span&gt; XmlFormView1_SubmitToHost(object sender, &lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;SubmitToHostEventArgs
    e)&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:green;"&gt;// Create an XPathNavigator positioned at the root of &lt;/span&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style="COLOR:green;"&gt;// the form&amp;#39;s main data source.&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;XPathNavigator
    xNavMain = &lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;
    XmlFormView1.XmlForm.MainDataSource.CreateNavigator();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:green;"&gt;// Create an XmlNamespaceManager and add the &lt;/span&gt;&lt;span style="COLOR:maroon;"&gt;
        &amp;quot;my&amp;quot;&lt;/span&gt;&lt;span style="COLOR:green;"&gt; namespace&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:green;"&gt;// alias from the form&amp;#39;s main data source.&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;XmlNamespaceManager
    xNameSpace = &lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;
    &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; XmlNamespaceManager(&lt;span style="COLOR:blue;"&gt;new&lt;/span&gt;
    NameTable());&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;xNameSpace.AddNamespace(&lt;span style="COLOR:maroon;"&gt;&amp;quot;my&amp;quot;&lt;/span&gt;, &lt;span style="COLOR:maroon;"&gt;&amp;quot;http:&lt;/span&gt;&lt;span style="COLOR:green;"&gt;//schemas.microsoft.com/ &lt;br /&gt;office/infopath/2003/myXSD/2006-04-20T16:26:21&amp;quot;&lt;/span&gt;&lt;span style="COLOR:maroon;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:green;"&gt;// Create an XPathNavigator positioned on the form&amp;#39;s field2.&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;XPathNavigator
    fTextBox1 = xNavMain.SelectSingleNode(&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;
    &lt;span style="COLOR:maroon;"&gt;&amp;quot;my:myFields/my:field2&amp;quot;&lt;/span&gt;, xNameSpace);&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:green;"&gt;// Set TextBox1 on the page to the value in the form&amp;#39;s field2.&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;TextBox1.Text
    = xNavMain.SelectSingleNode(&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;
    &lt;span style="COLOR:maroon;"&gt;&amp;quot;/my:myFields/my:field2&amp;quot;&lt;/span&gt;, xNameSpace).ToString();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:10pt;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;As shown in the figure: &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/32.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image32" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_05/32.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;
&lt;td class="" style="HEIGHT:5px;BACKGROUND-COLOR:lightsteelblue;" colspan="3"&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="FONT-SIZE:12pt;COLOR:#000000;FONT-FAMILY:Times New Roman;"&gt;
&lt;td class="" style="FONT-SIZE:8.5pt;FONT-FAMILY:Tahoma;HEIGHT:20px;BACKGROUND-COLOR:steelblue;" colspan="3"&gt;&amp;nbsp;&lt;span style="COLOR:#ffffff;"&gt;Copyright © 2006 Innovation-Hut. All Rights Reserved. |&lt;/span&gt; &amp;nbsp;&lt;a id="ctl00_HyperLink7" style="FONT-SIZE:8.5pt;COLOR:white;FONT-FAMILY:Tahoma;TEXT-DECORATION:none;" href="http://www.innovation-hut.com/Terms.aspx"&gt;Terms of Use&lt;/a&gt;&amp;nbsp; &lt;span style="COLOR:#ffffff;"&gt;| &lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;a id="ctl00_HyperLink8" style="FONT-SIZE:8.5pt;COLOR:white;FONT-FAMILY:Tahoma;TEXT-DECORATION:none;" href="http://www.innovation-hut.com/privacy.aspx"&gt;Privacy Statement&lt;/a&gt; &amp;nbsp; &lt;span style="COLOR:#ffffff;"&gt;| &lt;/span&gt;&amp;nbsp; &lt;a id="ctl00_HyperLink10" style="FONT-SIZE:8.5pt;COLOR:white;FONT-FAMILY:Tahoma;TEXT-DECORATION:none;" href="http://www.innovation-hut.com/FAQ.aspx"&gt;FAQ&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Hesham Saad Aly&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

var sc_project=2000388; 
var sc_invisible=1; 
var sc_partition=18; 
var sc_security=&amp;quot;1901aa3d&amp;quot;; 




&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/creating-custom-web-page-in-moss-2007-via-xmlformview-asp-net-control.aspx&amp;amp;subject=Creating Custom web page in MOSS 2007 via XmlFormView ASP.Net Control" target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/creating-custom-web-page-in-moss-2007-via-xmlformview-asp-net-control.aspx&amp;amp;t=Creating+Custom+web+page+in+MOSS+2007+via+XmlFormView+ASP.Net+Control" target="_blank" title="Submit Creating Custom web page in MOSS 2007 via XmlFormView ASP.Net Control to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/creating-custom-web-page-in-moss-2007-via-xmlformview-asp-net-control.aspx&amp;amp;title=Creating+Custom+web+page+in+MOSS+2007+via+XmlFormView+ASP.Net+Control" target="_blank" title="Submit Creating Custom web page in MOSS 2007 via XmlFormView ASP.Net Control to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/creating-custom-web-page-in-moss-2007-via-xmlformview-asp-net-control.aspx&amp;amp;phase=2" target="_blank" title="Submit Creating Custom web page in MOSS 2007 via XmlFormView ASP.Net Control to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/creating-custom-web-page-in-moss-2007-via-xmlformview-asp-net-control.aspx&amp;amp;title=Creating+Custom+web+page+in+MOSS+2007+via+XmlFormView+ASP.Net+Control" target="_blank" title="Add Creating Custom web page in MOSS 2007 via XmlFormView ASP.Net Control to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=74146" width="1" height="1"&gt;</description></item><item><title>MOSS 2007 &amp; MS Office InfoPath 2007 | Part 02</title><link>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/moss-2007-amp-ms-office-infopath-2007-part-02.aspx</link><pubDate>Sun, 09 Nov 2008 06:36:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:74144</guid><dc:creator>Hesham</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://geeks.netindonesia.net/blogs/hesham/rsscomments.aspx?PostID=74144</wfw:commentRss><comments>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/moss-2007-amp-ms-office-infopath-2007-part-02.aspx#comments</comments><description>&lt;p&gt;&lt;span style="COLOR:#0066cc;FONT-FAMILY:Tahoma;"&gt;&lt;strong&gt;Article Target&amp;nbsp;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;Using SQL Server DB to retrieve data from it using a web service and export this data to an InfoPath compatible form through an external data source then publish this form to a Sharepoint site using network publishing location. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="COLOR:#0066cc;"&gt;Steps&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;A) Creating the Database:&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open SQL Server Enterprise Manager through : (Start &amp;gt; All Programs &amp;gt; Microsoft SQL Server &amp;gt; Enterprise Manager), then in Console Root folder expand the Microsoft SQL Servers then expand the SQL Server Group then expand your instance then at the Databases folder right click on it and create a new database called “TestDB” then expand the TestDB database and right click on Tables to create a new table called “Employee” this table holds three columns: (EmployeeID – EmployeeName - EmployeeAddress) as shown in this figure: Then , you’ll find three tabs: (Home , Operations , Application Management) , So , Click on the Application Management tab as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/db.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image1" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/db.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;B) Creating the Web service:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open MS- visual studio .net 2005 then click File menu &amp;gt; New &amp;gt; Web Site &amp;gt; ASP.Net Web Service :&lt;br /&gt;Then in the App_Code folder open Service.cs file then add these namespaces:&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Using System. Data;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Using System.Data.SqlClient;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;Then, add this web method to get all of the employees names from Employee table in the TestDB database: &lt;/li&gt;&lt;/ul&gt;
&lt;table class="" style="FONT-SIZE:9pt;WIDTH:97%;BACKGROUND-COLOR:whitesmoke;"&gt;

&lt;tr&gt;
&lt;td class="" style="PADDING-RIGHT:10px;PADDING-LEFT:10px;PADDING-BOTTOM:10px;PADDING-TOP:10px;BACKGROUND-COLOR:whitesmoke;"&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;"&gt;[&lt;span style="COLOR:teal;"&gt;WebMethod&lt;/span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;public&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt; GetEmployeeNames()&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlConnection&lt;/span&gt; con = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;SqlConnection&lt;/span&gt;(&lt;span style="COLOR:maroon;"&gt;&amp;quot;Data Source=(local);Integrated Security=SSPI;Initial Catalog=TestDB&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;SqlDataAdapter&lt;/span&gt; da = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;SqlDataAdapter&lt;/span&gt;(&lt;span style="COLOR:maroon;"&gt;&amp;quot;SELECT Employee.EmployeeName FROM Employee&amp;quot;&lt;/span&gt;, con);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt; ds = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; &lt;span style="COLOR:teal;"&gt;DataSet&lt;/span&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con.Open();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;da.Fill(ds, &lt;span style="COLOR:maroon;"&gt;&amp;quot;Employee&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;BACKGROUND-COLOR:ghostwhite;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con.Close();&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;con = &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;da = &lt;span style="COLOR:blue;"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="FONT-SIZE:9pt;mso-spacerun:yes;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&lt;span style="FONT-SIZE:9pt;"&gt;retur&lt;/span&gt;n&lt;/span&gt; ds;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;mso-layout-grid-align:none;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;Which shown in this figure: 
&lt;p&gt;&amp;nbsp;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/0.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image2" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/0.JPG" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then , run this service as shown in this figure :&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/01.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image3" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/01.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the GetEmployeeNames link , then invoke the webmethod as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/02.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image4" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/02.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then after invoking the webmethod , it should return All of the employees names as shown in the figure: &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/03JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image5" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/03.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;C) Creating the Compatible InfoPath form &amp;amp; Publishing:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open Microsoft Office InfoPath 2007 then design a new blank form template which explained before in the previous article ,then add a table with title layout and add a List Box control to it in order to hold the Employees names from the TestDB database via the created web service , as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/1.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image6" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/1.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from Tools menu &amp;gt; Data Connections, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/2.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image7" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/2.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then select receive data in order to receive data via the web service as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/3.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image8" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/3.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then select the resource of your data as a web service as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/4.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image9" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/4.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then write the URL of the location of the web service you want to use as your data connection as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/5.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image10" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/5.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you’ll find the web method which wrote in the web service which called “GetEmployeeNames” as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/6.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image11" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/6.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then store a copy of the data in the form template as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/7.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image12" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/7.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then check on the automatically retrieve data when form is opened as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/8.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image13" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/8.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you’ll get the data connection source for the form template as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/9.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image14" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/9.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then right click on the list box and click on list box properties as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/10.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image15" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/10.JPG" alt="" /&gt;&lt;/a&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then at the list box entries select look-up values from an external data source as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/11.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image16" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/11.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the entries button as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/12.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image17" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/12.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then expand the data fields till reach to the EmployeeName data filed as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/13.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image18" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/13.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you’ll find the X-path to the EmployeeName data field in the entries textbox as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/14.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image19" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/14.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from the preview tab click on form item to run the form as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/15.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image20" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/15.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here’s the result after running the form:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/16.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image21" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/16.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then close the preview as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/17.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image22" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/17.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from Tools menu &amp;gt; Form options &amp;gt;: &lt;br /&gt;At the security and trust category &amp;gt; security level &amp;gt; set full trust (the form has access to files and settings on the computer, then at the form template signature &amp;gt; check on the sign this form template, as shown in the figure :&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/171.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image23" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/171.JPG" alt="" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then, click on File menu &amp;gt; Publish, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/172.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image24" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/172.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then select to a network location, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/173.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image25" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/173.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then write the path and the file name for the published form template, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/174.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image26" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/174.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then remove the path from this textbox, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/175.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image27" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/175.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on Publish button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/176.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image28" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/176.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on close button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/177.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image29" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/177.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then open the central administration which explained before in the previous article and click on the Application Management tab &amp;gt; InfoPath forms services &amp;gt; Manage form templates, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/178.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image30" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/178.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on upload form templates, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/179.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image31" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/179.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the browse button to upload the published form template, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/180.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image32" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/180.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on upload button as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/181.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image33" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/181.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on Ok button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/182.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image34" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/182.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then right click on the new published form template &amp;gt; Activate to a site collection, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/183.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image35" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/183.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then at the activation location section, right click on the site collection drop-down list and select change site collection, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/184.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image36" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/184.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then right click on the web application drop-down list and select change web application, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/185.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image37" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/185.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on the sharepoint-80 link, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/186.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image38" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/186.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from the URL section select your site link, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/187.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image39" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/187.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click ok button, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/188.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image40" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/188.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;D) Creating the Sharepoint Site Document-Library:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use the same steps that were explained before in the previous article in order to create a sharepoint site and a document library so , here I created another document library called “WSDocLib” in order to publish the published form template to it as a content type , as shown in the figure :&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/18.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image41" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/18.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click on Settings tab &amp;gt; Document library settings, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/19.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image42" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/19.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, at the content types section click on add from existing site content type’s link, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/20.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image43" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/20.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then from the available site content types, select the published content type “NewTemplate” and add it, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/21.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image44" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/21.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then go back to the WSDocLib page and click on New tab , then click on the NewTemplate item , as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/22.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image45" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/22.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then, the result will be like this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/23.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image46" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/23.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you can save the document as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/24.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image47" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/24.JPG" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you can go back to the WSDocLib page and see the saved document as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/25.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image48" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007_02/25.JPG" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/moss-2007-amp-ms-office-infopath-2007-part-02.aspx&amp;amp;subject=MOSS 2007 &amp;amp; MS Office InfoPath 2007 | Part 02" target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/moss-2007-amp-ms-office-infopath-2007-part-02.aspx&amp;amp;t=MOSS+2007+%26amp%3b+MS+Office+InfoPath+2007+%7c+Part+02" target="_blank" title="Submit MOSS 2007 &amp;amp; MS Office InfoPath 2007 | Part 02 to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/moss-2007-amp-ms-office-infopath-2007-part-02.aspx&amp;amp;title=MOSS+2007+%26amp%3b+MS+Office+InfoPath+2007+%7c+Part+02" target="_blank" title="Submit MOSS 2007 &amp;amp; MS Office InfoPath 2007 | Part 02 to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/moss-2007-amp-ms-office-infopath-2007-part-02.aspx&amp;amp;phase=2" target="_blank" title="Submit MOSS 2007 &amp;amp; MS Office InfoPath 2007 | Part 02 to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/moss-2007-amp-ms-office-infopath-2007-part-02.aspx&amp;amp;title=MOSS+2007+%26amp%3b+MS+Office+InfoPath+2007+%7c+Part+02" target="_blank" title="Add MOSS 2007 &amp;amp; MS Office InfoPath 2007 | Part 02 to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=74144" width="1" height="1"&gt;</description></item><item><title>MOSS 2007 &amp; MS Office InfoPath 2007 (part1)</title><link>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/moss-2007-amp-ms-office-infopath-2007-part1.aspx</link><pubDate>Sun, 09 Nov 2008 06:28:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:74142</guid><dc:creator>Hesham</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://geeks.netindonesia.net/blogs/hesham/rsscomments.aspx?PostID=74142</wfw:commentRss><comments>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/moss-2007-amp-ms-office-infopath-2007-part1.aspx#comments</comments><description>&lt;p&gt;&lt;span style="COLOR:#0066cc;FONT-FAMILY:Tahoma;"&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;MS-Office Sharepoint Server 2007 is a new server program that is part of 2007 MS office system which your organization can use it to facilitate collaboration, provide content management features, implement business processes &amp;amp; supply access to information that is essential to organizational goals &amp;amp; processes. Here, in this article we’ll show how MS office InfoPath 2007 works with office sharepoint server 2007 in designing a browser- compatible form template, publish them to an office sharepoint server 2007 site and enable them for use in a web browser.&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR:#0066cc;FONT-FAMILY:Tahoma;"&gt;&lt;strong&gt;General Objective&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&lt;br /&gt;How to use InfoPath forms services capababilities in office sharepoint server.&lt;br /&gt;&lt;span style="COLOR:#0066cc;FONT-FAMILY:Tahoma;"&gt;&lt;strong&gt;&lt;br /&gt;Article Target&amp;nbsp;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;Using MS office InfoPath 2007 to create forms and making them compatible to display on a web page &amp;amp; then publish this compatible form to a document library in a sharepoint portal site.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="COLOR:#0066cc;"&gt;Steps&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&lt;strong&gt;A) Creating a sharepoint portal site:&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open “sharepoint 3.0 central administration” from (Start &amp;gt; All Programs &amp;gt; Microsoft Office Server &amp;gt; Sharepoint 3.0 Central Administration) , as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/1.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image1" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/1.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then , you’ll find three tabs: (Home , Operations , Application Management) , So , Click on the Application Management tab as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/2.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image2" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/2.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In “Sharepoint Site Management” section , click on “Create site collection” as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/3.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image3" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/3.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In :&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;strong&gt;i) Web Application:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You can change your web application according to the port which will be used. (Here, I’ll create my sharepoint site on 80 – port). So, click on the web Application drop-down list and select “Change web Application” as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/4.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image4" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/4.JPG" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then, click on: sharepoint 80 link as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/5.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image5" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/5.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then, you see that your web application changed as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/6.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image6" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/6.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;strong&gt;ii) Title and Description:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You can type a title and description for your site where, the title will be displayed on each page in the site, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/7.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image7" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/7.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;strong&gt;iii) Web Site Address:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You can specify the URL Name &amp;amp; URL Path to create the site or choose to create a site at a specific path so , your site can be personal or public site according to your purpose (Here, I’ll choose to be a personal site) , as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/8.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image8" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/8.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;strong&gt; iv) Template Selection:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You can select a predefined template for your site or you can design your own template and add it to this list which we’ll discuss it later in other articles, So, here I’ll select a Team Site template which is specific for a site for teams to quickly organize, author &amp;amp; share information which provides a document library &amp;amp; lists for managing announcements, calendar items, tasks &amp;amp; discussions, as shown in the figure: (Collaboration tab &amp;gt; Team Site)&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/9.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image9" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/9.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;strong&gt;v) Primary site collection Administrator:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You can write an administrator user names to specify the administrators for this web site collection , So , Click on the browse icon which looks an open book shape then in the Find textbox write the user name and then click search , which shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/10.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image10" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/10.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;strong&gt;vi) Secondary site collection Administrator:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It’s optional to specify the secondary administrator for this web site collection (Here, I don’t need for it so, I’ll leave it blank).&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;strong&gt;vii) Quota template:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You can select a predefined quota template to limit resources used for this site collection (i.e.: in order to have a storage limit for this site), or we can design our own quota template which we’ll discuss it in another articles, (Here, I’ll leave it as it is “No Quota”), as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/11.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image11" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/11.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then finally click ok button, and wait while your changes are processed, then you’ll find that your top-level site successfully created and the link for your new site will be given as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/12.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image12" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/12.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then click on the link to open the new portal site, then your new site will be like this:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/13.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image13" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/13.JPG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Now , we’ll create a new document library in order to publish our InfoPath form to it as a compatible web page , So , Click on Site Actions menu &amp;gt; Create , as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/14.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image14" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/14.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then in the “Libraries “section, click on “Document Library” link, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/15.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image15" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/15.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Arial;"&gt;Then,&lt;/span&gt; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;strong&gt; i) Name and Description:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;You can type a new name as you want it to appear in headings &amp;amp; links throughout the site .Also, you can type a descriptive text in the description area that will help site visitors to use this document library.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;strong&gt; ii) Navigation:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;You can specify whether a link to this document library appears in the quick launch which found in the homepage or not.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;strong&gt; iii) Document version history:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You can specify whether a version is created each time you edit a file in this document library or not.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;strong&gt;iv) Document Templates:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You can select a document template to determine the default for all new files created in this document library. (Here, I’ll select: Microsoft office word 97-2003 document, template) &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; All shown in this figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/16.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image16" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/16.JPG" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then click create button ,then in your new document library which is called“DocLib1” here , you’ll find four tabs (New , Upload , Actions , Settings), So , when you click on New tab there is two sub-items in it which are : New Document (Empty Document) &amp;amp; New Folder(Empty Folder to hold Documents) which shown in this figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/17.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image17" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/17.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also , we want to publish the compatible InfoPath form as a web page to this document library So , there are some settings for this document library needed to be done. So that, click on Settings tab &amp;gt; Document Library settings &amp;gt; General settings &amp;gt; Click on, Advanced Settings. Then:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;i) Content types:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select , Yes, in order to allow the management of content types on this document library where, each content type will appear on the new button and can have a unique set of columns, workflows and other behaviors.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;ii) Browser-enabled documents:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select, Display as a webpage , in order to display documents that are enabled for opening in a browser.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Then you can leave others as they are, as shown in the figure:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/18.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image18" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/18.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then click Ok button.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;B) Creating compatible InfoPath form:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Start &amp;gt; All Programs &amp;gt; Microsoft office &amp;gt; Microsoft office InfoPath 2007 , as shown in the figure :&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/19.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image19" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/19.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click on , “Design a form template ”, as shown in the figure :&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/20.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image20" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/20.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select , Form Template &amp;gt; Blank , as shown in the figure , and click OK:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/21.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image21" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/21.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Design Tasks&amp;gt; Tasks &amp;gt; Click on Layout &amp;gt; Table with Title , then add some controls via (Tasks&amp;gt;Controls) , as shown in the figure :&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/22.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image22" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/22.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then to make sure that this form is compatible to web page , Tools menu &amp;gt; Forms options &amp;gt; Compatibility &amp;gt; Check Design a form template that can be opened in a browser or infopath, as shown in the figures: &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/23.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image23" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/23.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then at the Category section &amp;gt; Select Compatibility, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/24.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image24" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/24.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then , it’s time now to publish this compatible InfoPath form to the document library of our sharepoint portal site : File menu &amp;gt; Publish &amp;gt; Save (template1.xsn) &amp;gt; To a Sharepoint server with or without infopath forms services &amp;gt; Next &amp;gt; (Enter Location of your sharepoint site link) &amp;gt; Next &amp;gt; Enable this form to be displayed out by using a browser, Site content type (Advanced), which allows this form template to be used in multiple libraries and sites &amp;gt; Next &amp;gt; Create a new content type &amp;gt; Next &amp;gt; Type name and description for this content type &amp;gt; Browser button, to select the created document library which called “DocLib1” , then write file name: with extension ‘.xsn’ &amp;gt; Next &amp;gt; Next (Leave it as it is) &amp;gt; publish, as shown in these figures:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/25.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image25" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/25.JPG" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then choose a location at your file system in order to save the template, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/26.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image26" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/26.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then select, to a sharepoint server with or without InfoPath forms services, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/27.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image27" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/27.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then enter the location of your sharepoint site, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/28.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image28" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/28.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then, Enable the form to be filled out by using a browser and select site content type (advanced), as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/29.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image29" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/29.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then create a new content type, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/30.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image30" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/30.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then, Type a name and description for the content type, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/31.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image31" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/31.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then, select the document library location that created before, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/32.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image32" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/32.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then, write a name for the content type, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/33.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image33" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/33.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then, click on publish button, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/34.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image34" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/34.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then, Click on close button, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/35.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image35" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/35.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then, go back to the created sharepoint site and click refresh button at the DocLib1 page and you’ll find the published form there as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/36.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image36" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/36.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then, we want to add our created content type in order to appear a as a sub-item in New tab items, So that: Settings tab &amp;gt; Document Library settings &amp;gt; Content types &amp;gt; Add from existing site content types &amp;gt; Select (CT1) content type &amp;gt; Add &amp;gt; ok, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/37.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image37" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/37.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then, Select the content type that we named before and Click on Add, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/38.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image38" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/38.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then we want remove also other sub-items (Document – New Folder), so that to achieve this: Click on Settings tab &amp;gt; Select (Document Library Settings), as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/39.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image39" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/39.JPG" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then , in “Content Types” section , click on “Change new button order” and default content type , then uncheck visible check box , as shown in this figure , then click ok:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/40.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image40" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/40.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Now, when click, new tab its items will be as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/41.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image41" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/41.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Also, to remove New Folder sub- item, so that, Settings &amp;gt; Document library settings &amp;gt; General settings &amp;gt; Advanced settings &amp;gt; Folders&amp;gt; No &amp;gt; Ok, as shown in the figure: &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/42.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image42" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/42.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then, go back to the DocLib1 page then, click New &amp;gt; click CT1, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/43.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image43" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/43.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;And then , you’ll find your InfoPath compatible form in a web page where you can save , save as , close ,and print view the current page , as shown in these figures:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/44.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image44" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/44.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then, save your file and write a name for it, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/45.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image45" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/45.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Finally, you’ll get your published compatible info path form in the document library, as shown in the figure:&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/46.JPG" target="_blank"&gt;&lt;img id="ctl00_ContentPlaceHolder1_Image46" style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;WIDTH:780px;HEIGHT:400px;BORDER-RIGHT-WIDTH:0px;" alt="Click to enlarge" src="http://www.innovation-hut.com/Articles/MOSS2007/Pics/MOSS_Infopath2007/46.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/moss-2007-amp-ms-office-infopath-2007-part1.aspx&amp;amp;subject=MOSS 2007 &amp;amp; MS Office InfoPath 2007 (part1)" target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/moss-2007-amp-ms-office-infopath-2007-part1.aspx&amp;amp;t=MOSS+2007+%26amp%3b+MS+Office+InfoPath+2007+(part1)" target="_blank" title="Submit MOSS 2007 &amp;amp; MS Office InfoPath 2007 (part1) to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/moss-2007-amp-ms-office-infopath-2007-part1.aspx&amp;amp;title=MOSS+2007+%26amp%3b+MS+Office+InfoPath+2007+(part1)" target="_blank" title="Submit MOSS 2007 &amp;amp; MS Office InfoPath 2007 (part1) to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/moss-2007-amp-ms-office-infopath-2007-part1.aspx&amp;amp;phase=2" target="_blank" title="Submit MOSS 2007 &amp;amp; MS Office InfoPath 2007 (part1) to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/09/moss-2007-amp-ms-office-infopath-2007-part1.aspx&amp;amp;title=MOSS+2007+%26amp%3b+MS+Office+InfoPath+2007+(part1)" target="_blank" title="Add MOSS 2007 &amp;amp; MS Office InfoPath 2007 (part1) to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=74142" width="1" height="1"&gt;</description></item><item><title>Creating New Page Issue and workaround in MOSS 2007</title><link>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/08/creating-new-page-issue-and-workaround-in-moss-2007.aspx</link><pubDate>Sat, 08 Nov 2008 08:11:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:73802</guid><dc:creator>Hesham</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://geeks.netindonesia.net/blogs/hesham/rsscomments.aspx?PostID=73802</wfw:commentRss><comments>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/08/creating-new-page-issue-and-workaround-in-moss-2007.aspx#comments</comments><description>&lt;h4 id="subjcns!F34E06949EB7FAC2!212" style="MARGIN-BOTTOM:0px;"&gt;&lt;a href="http://heroking2005.spaces.live.com/blog/cns!F34E06949EB7FAC2!212.entry"&gt;&lt;font color="#370b89"&gt;Creating New Page Issue and workaround in MOSS 2007&lt;/font&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;div class="bvMsg" id="msgcns!F34E06949EB7FAC2!212"&gt;
&lt;div&gt;
&lt;div&gt;- &lt;font color="#0000ff"&gt;&lt;u&gt;&lt;strong&gt;Problem&lt;/strong&gt; &lt;/u&gt;&lt;/font&gt;:&lt;/div&gt;
&lt;div&gt;You have a Top-Level-Site say &amp;quot;TestSite&amp;quot; which encapsulated a Sub-Site called &amp;quot;TestSubSite&amp;quot; and a Group&amp;nbsp;&amp;quot;TestGroup&amp;quot; which have a user&amp;nbsp; &amp;quot;TestUser&amp;quot; who has a read access permission at the whole Top-Level -Site . Then , we break the permission at the &amp;quot;TestSubSite&amp;quot; by giving the &amp;quot;TestUser&amp;quot; a contribute access permission . So , when we logged with &amp;quot;TestUser&amp;quot; and navigate to the &amp;quot;TestSubSite&amp;quot; we&amp;#39;ll see the Site Actions menu appears and when expanding the menu and click on the Create page item we&amp;#39;ll redirect to the &lt;font color="#ff0000"&gt;Access Denied page (Here is the Problem) &lt;/font&gt;although that the user &amp;quot;TestUser&amp;quot; has a contribute access permission on the &amp;quot;TestSubSite&amp;quot;. Even also&amp;nbsp;if the &amp;quot;TestUser&amp;quot; has a Full control access permission.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;-&lt;u&gt;&lt;strong&gt;&lt;font color="#0000ff"&gt;N.B:&lt;/font&gt;&lt;/strong&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div&gt;There is no problem at all if the &amp;quot;TestUser&amp;quot; was&amp;nbsp;added as a &lt;font color="#ff0000"&gt;site collection administrators&lt;/font&gt;. (But here the problem is when the user is &lt;font color="#ff0000"&gt;just &lt;/font&gt;a registered user or any user except the site&amp;#39;s admin ones).&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;- &lt;u&gt;&lt;strong&gt;&lt;font color="#0000ff"&gt;Workaround&lt;/font&gt;&lt;/strong&gt;&lt;/u&gt;:&lt;/div&gt;
&lt;div&gt;Any user creating&amp;nbsp; a new page needs to have a &amp;quot;&lt;font color="#ff0000"&gt;Restricted Read Access&lt;/font&gt;&amp;quot; to the style library (Sometimes) &amp;amp; Master Page Gallery (&lt;font color="#ff0000"&gt;Always&lt;/font&gt;) which is already&amp;nbsp;automatically done for the site collection administrators&amp;nbsp;so to do this we have to give a restricted read access to be granted to the Master page gallery&amp;nbsp; as follows:&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff"&gt;&lt;font color="#800000"&gt;( Site Actions &amp;gt; Manage Content Structure &amp;gt; Master Page gallery {Right Click} &amp;gt; Edit Properties &amp;gt; Permissions for this Document Library &amp;gt; Add User/Group {Add &amp;#39;TestGroup&amp;#39;} , {Grant &amp;#39;Restricted Read&amp;#39; permission} )&lt;/font&gt; &lt;/font&gt;.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/08/creating-new-page-issue-and-workaround-in-moss-2007.aspx&amp;amp;subject=Creating New Page Issue and workaround in MOSS 2007" target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/08/creating-new-page-issue-and-workaround-in-moss-2007.aspx&amp;amp;t=Creating+New+Page+Issue+and+workaround+in+MOSS+2007" target="_blank" title="Submit Creating New Page Issue and workaround in MOSS 2007 to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/08/creating-new-page-issue-and-workaround-in-moss-2007.aspx&amp;amp;title=Creating+New+Page+Issue+and+workaround+in+MOSS+2007" target="_blank" title="Submit Creating New Page Issue and workaround in MOSS 2007 to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/08/creating-new-page-issue-and-workaround-in-moss-2007.aspx&amp;amp;phase=2" target="_blank" title="Submit Creating New Page Issue and workaround in MOSS 2007 to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/08/creating-new-page-issue-and-workaround-in-moss-2007.aspx&amp;amp;title=Creating+New+Page+Issue+and+workaround+in+MOSS+2007" target="_blank" title="Add Creating New Page Issue and workaround in MOSS 2007 to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=73802" width="1" height="1"&gt;</description></item><item><title>MOSS 2007 , MS Infopath 2007 , Groove 2007 , MS CS 2007 (Support &amp; TroubleShoots &amp; Work arrounds)</title><link>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/08/moss-2007-ms-infopath-2007-groove-2007-ms-cs-2007-support-amp-troubleshoots-amp-work-arrounds.aspx</link><pubDate>Sat, 08 Nov 2008 08:05:00 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:73800</guid><dc:creator>Hesham</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://geeks.netindonesia.net/blogs/hesham/rsscomments.aspx?PostID=73800</wfw:commentRss><comments>http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/08/moss-2007-ms-infopath-2007-groove-2007-ms-cs-2007-support-amp-troubleshoots-amp-work-arrounds.aspx#comments</comments><description>&lt;p&gt;Today&amp;nbsp; , i&amp;#39;ll start my rock for any subject concern my title .&lt;/p&gt;
&lt;p&gt;=&amp;gt; I&amp;#39;ll post my special&amp;nbsp;articles.&lt;/p&gt;
&lt;p&gt;=&amp;gt; I&amp;#39;ll reply any question.&lt;/p&gt;
&lt;p&gt;=&amp;gt; i&amp;#39;ll be for your satisfaction.&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post: &lt;/strong&gt;&lt;a href="mailto:?body=Thought you might like this: http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/08/moss-2007-ms-infopath-2007-groove-2007-ms-cs-2007-support-amp-troubleshoots-amp-work-arrounds.aspx&amp;amp;subject=MOSS 2007 , MS Infopath 2007 , Groove 2007 , MS CS 2007 (Support &amp;amp; TroubleShoots &amp;amp; Work arrounds)" target="_blank" title="Send via email"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Mail.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.facebook.com/sharer.php?u=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/08/moss-2007-ms-infopath-2007-groove-2007-ms-cs-2007-support-amp-troubleshoots-amp-work-arrounds.aspx&amp;amp;t=MOSS+2007+%2c+MS+Infopath+2007+%2c+Groove+2007+%2c+MS+CS+2007+(Support+%26amp%3b+TroubleShoots+%26amp%3b+Work+arrounds)" target="_blank" title="Submit MOSS 2007 , MS Infopath 2007 , Groove 2007 , MS CS 2007 (Support &amp;amp; TroubleShoots &amp;amp; Work arrounds) to DotNetKicks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Facebook.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://del.icio.us/post?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/08/moss-2007-ms-infopath-2007-groove-2007-ms-cs-2007-support-amp-troubleshoots-amp-work-arrounds.aspx&amp;amp;title=MOSS+2007+%2c+MS+Infopath+2007+%2c+Groove+2007+%2c+MS+CS+2007+(Support+%26amp%3b+TroubleShoots+%26amp%3b+Work+arrounds)" target="_blank" title="Submit MOSS 2007 , MS Infopath 2007 , Groove 2007 , MS CS 2007 (Support &amp;amp; TroubleShoots &amp;amp; Work arrounds) to del.icio.us"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Delicious.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="http://www.digg.com/submit?url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/08/moss-2007-ms-infopath-2007-groove-2007-ms-cs-2007-support-amp-troubleshoots-amp-work-arrounds.aspx&amp;amp;phase=2" target="_blank" title="Submit MOSS 2007 , MS Infopath 2007 , Groove 2007 , MS CS 2007 (Support &amp;amp; TroubleShoots &amp;amp; Work arrounds) to digg.com"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Digg.16.gif" border="0"&gt;&lt;/a&gt; | &lt;a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;mkt=en-us&amp;amp;url=http://geeks.netindonesia.net/blogs/hesham/archive/2008/11/08/moss-2007-ms-infopath-2007-groove-2007-ms-cs-2007-support-amp-troubleshoots-amp-work-arrounds.aspx&amp;amp;title=MOSS+2007+%2c+MS+Infopath+2007+%2c+Groove+2007+%2c+MS+CS+2007+(Support+%26amp%3b+TroubleShoots+%26amp%3b+Work+arrounds)" target="_blank" title="Add MOSS 2007 , MS Infopath 2007 , Groove 2007 , MS CS 2007 (Support &amp;amp; TroubleShoots &amp;amp; Work arrounds) to Live Bookmarks"&gt;&lt;img src="http://geeks.netindonesia.net/Images/Share.Live.16.gif" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=73800" width="1" height="1"&gt;</description></item></channel></rss>
