<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/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>Views</title><link>https://www.infopathdev.com:443/forums/42.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Read Only View for Approved form in Sharepoint Form Library</title><link>https://www.infopathdev.com:443/forums/thread/32722.aspx</link><pubDate>Thu, 02 Oct 2008 09:04:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32722</guid><dc:creator>santhoshp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32722.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=32722</wfw:commentRss><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By following these steps you can get the Work flow status ID&amp;#39;s&amp;nbsp;into form.&lt;/p&gt;
&lt;p&gt;1. Add a field to have unique ID for every form and promote this field to sharepoint.&lt;br /&gt;2. Take the secondary data connectiuon as Receive data connection to SharePoint list (Make sure that unique ID column and Work flow Status column check box in data connection wizard is checked)&lt;br /&gt;3. Add a status field in form and bind that field to Work flow Status column from sharepoint by filtering the value using unique ID column.&lt;/p&gt;</description></item><item><title>Re: Read Only View for Approved form in Sharepoint Form Library</title><link>https://www.infopathdev.com:443/forums/thread/32694.aspx</link><pubDate>Wed, 01 Oct 2008 13:33:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32694</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32694.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=32694</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Use the following link to add a data connection.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/agni/archive/2006/05/15/Query-for-Items-in-SharePoint-Form-Library-Using-GetListItems-Web-Method.aspx"&gt;http://www.infopathdev.com/blogs/agni/archive/2006/05/15/Query-for-Items-in-SharePoint-Form-Library-Using-GetListItems-Web-Method.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Read Only View for Approved form in Sharepoint Form Library</title><link>https://www.infopathdev.com:443/forums/thread/32682.aspx</link><pubDate>Wed, 01 Oct 2008 09:52:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32682</guid><dc:creator>pankaj1985</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32682.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=32682</wfw:commentRss><description>&lt;p&gt;Hi Swathip&lt;br /&gt;I am just unable set the parameters value wile accessing the GetListItems(). Cal u just help me how to do that. It is showing me the error like:&lt;br /&gt;&lt;br /&gt;&amp;quot;&lt;em&gt;The SOAP response indicates that an error occurred on the server:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Exception of type &amp;#39;Microsoft.SharePoint.SoapServer.SoapServerException&amp;#39; was thrown.&lt;br /&gt;&amp;lt;detail&amp;gt;&amp;lt;errorstring xmlns=&amp;quot;&lt;/em&gt;&lt;a href="http://schemas.microsoft.com/sharepoint/soap/%22%3EElement"&gt;&lt;em&gt;http://schemas.microsoft.com/sharepoint/soap/&amp;quot;&amp;gt;Element&lt;/em&gt;&lt;/a&gt;&lt;em&gt; &amp;amp;lt;Query&amp;amp;gt; of parameter query is missing or invalid.&amp;lt;/errorstring&amp;gt;&amp;lt;errorcode xmlns=&amp;quot;&lt;/em&gt;&lt;a href="http://schemas.microsoft.com/sharepoint/soap/%22%3E0x82000000%3C/errorcode%3E%3C/detail"&gt;&lt;em&gt;http://schemas.microsoft.com/sharepoint/soap/&amp;quot;&amp;gt;0x82000000&amp;lt;/errorcode&amp;gt;&amp;lt;/detail&lt;/em&gt;&lt;/a&gt;&lt;em&gt;&amp;gt;&lt;br /&gt;&lt;/em&gt;&amp;quot;&lt;br /&gt;&lt;br /&gt;I would like to say that i hav correctly set List, WebID, ViewName as their Guid...Please let me know what I am missing in &amp;lt;Query&amp;gt; element&lt;/p&gt;</description></item><item><title>Re: Read Only View for Approved form in Sharepoint Form Library</title><link>https://www.infopathdev.com:443/forums/thread/32652.aspx</link><pubDate>Tue, 30 Sep 2008 14:14:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32652</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32652.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=32652</wfw:commentRss><description>&lt;p&gt;Hi Pankaj, &lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Get the status of the form (SharePoint column value) by using ‘GetListItems’ data connection (receive data from webservice and give the sharepoint url like http://servername/libraryname/_vti_bin/lists.asmx) and set that value to a hidden field in the form.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;By using that value put the conditional formatting for the fields. &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Read Only View for Approved form in Sharepoint Form Library</title><link>https://www.infopathdev.com:443/forums/thread/32650.aspx</link><pubDate>Tue, 30 Sep 2008 13:54:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32650</guid><dc:creator>pankaj1985</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32650.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=32650</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;Anuma&lt;br /&gt;Actually I am wondering that according to you i should have &amp;quot;status&amp;quot; field in my form template, but i need to keep track of the workflow field(column) of form library, i.e., when that column get updated to &amp;quot;Approved&amp;quot; status, my submitted form template should open in Read-Only view. Do my requirement will suffice your code snippet? Any comments...&lt;br /&gt;Thanks &amp;amp; Regards&lt;br /&gt;Pankaj&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Read Only View for Approved form in Sharepoint Form Library</title><link>https://www.infopathdev.com:443/forums/thread/32646.aspx</link><pubDate>Tue, 30 Sep 2008 13:18:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32646</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32646.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=32646</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;Hi,&lt;/p&gt;&amp;nbsp; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;Can you please follow the below steps:&lt;/p&gt;&amp;nbsp; 
&lt;ol style="MARGIN-TOP:0in;"&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;Add one view for read only.&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;And copy past the editable view to read only view. &lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;Double click on the &amp;quot;Read only&amp;quot; view in the taskpane and check the read only check box.&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;Add one field as “Status” in the schema and set status value in that field.&lt;/li&gt;&lt;/ol&gt;&amp;nbsp; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;Write following code in the Unload.&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;mso-bidi-font-family:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;Status = &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;"&gt;XDocument.DOM.selectSingleNode(&amp;quot;Status field Xpath&amp;quot;);&lt;/span&gt;&lt;span style="FONT-FAMILY:Verdana;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:blue;FONT-FAMILY:Verdana;mso-bidi-font-family:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;if&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;mso-bidi-font-family:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt; (Status = Approved)&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;mso-bidi-font-family:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;{&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;mso-bidi-font-family:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;thisXDocument.ViewInfos[&lt;font face="Arial"&gt;Read only&lt;/font&gt;].IsDefault = &lt;span style="COLOR:blue;"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;mso-bidi-font-family:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;}&lt;/span&gt;&lt;span style="FONT-FAMILY:Verdana;"&gt;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Read Only View for Approved form in Sharepoint Form Library</title><link>https://www.infopathdev.com:443/forums/thread/32644.aspx</link><pubDate>Tue, 30 Sep 2008 12:42:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32644</guid><dc:creator>pankaj1985</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32644.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=32644</wfw:commentRss><description>&lt;blockquote&gt;
&lt;p&gt;Hi&lt;br /&gt;I am working on a form template on which there are many editable control for information gathering. The template is browser based and has to be published in Sharepoint Form Library. The from library will be having a Out Of The Box Approval Workflow for approvar to approve the form submitted to library.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; What actually i want is:-&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;em&gt; I need to make the uploaded form as read-only(i.e, all its editable control become &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; disable for editing)&amp;nbsp;as soon as the approver complete the workflow task&amp;nbsp;by approving &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the form submitted to library. That is, the user can open the form&amp;nbsp;&amp;nbsp;to see information &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it contains but cannot edit it further after it is approved.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/em&gt;&lt;/p&gt;</description></item></channel></rss>