<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Check who has opened the form</title><link>https://www.infopathdev.com:443/forums/thread/21955.aspx</link><pubDate>Tue, 24 Jul 2007 22:51:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21955</guid><dc:creator>erugalatha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21955.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21955</wfw:commentRss><description>&lt;p&gt;Patrick, I am submitting directly from InfoPath to a Sharepoint Form Library.&lt;/p&gt;&lt;p&gt;Clay, I now know where I was going wrong - I had sum(version I 1) but your way works.&lt;/p&gt;&lt;p&gt;Thanks a lot.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Check who has opened the form</title><link>https://www.infopathdev.com:443/forums/thread/21953.aspx</link><pubDate>Tue, 24 Jul 2007 22:36:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21953</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21953.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21953</wfw:commentRss><description>&lt;p&gt;Are you submitting through our DBXL Web service or directly from InfoPath?&lt;/p&gt;</description></item><item><title>Re: Check who has opened the form</title><link>https://www.infopathdev.com:443/forums/thread/21952.aspx</link><pubDate>Tue, 24 Jul 2007 22:35:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21952</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21952.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21952</wfw:commentRss><description>&lt;p&gt;Typically I just have an integer field called Version and Set&amp;nbsp;the field&amp;#39;s value. my:Version | my:Version + 1&lt;/p&gt;&lt;p&gt;You have to use rules on submit. the default does not allow you this flexibility or option. At the end just use the submit action.&lt;/p&gt;</description></item><item><title>Re: Check who has opened the form</title><link>https://www.infopathdev.com:443/forums/thread/21950.aspx</link><pubDate>Tue, 24 Jul 2007 22:27:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21950</guid><dc:creator>erugalatha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21950.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21950</wfw:commentRss><description>&lt;p&gt;Thanks for your help.&amp;nbsp; AD is very clean so I can use the Reports property on each user.&lt;/p&gt;&lt;p&gt;How did you increment your version on each submit?&amp;nbsp; I have tried the functions in &amp;quot;Set a fields value&amp;quot; on a submit buttons actions but I&amp;#39;m having trouble adding 1 to the version (type=integer).&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Check who has opened the form</title><link>https://www.infopathdev.com:443/forums/thread/21837.aspx</link><pubDate>Fri, 20 Jul 2007 12:38:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21837</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21837.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21837</wfw:commentRss><description>&lt;p&gt;I have done this exact thing before for HR forms.&lt;/p&gt;&lt;p&gt;You need an originating user field.&amp;nbsp; if it is blank then set it with the current user. (new form Scenario)&lt;/p&gt;&lt;p&gt;I usually put a version field in somewhere so I know how many times a form has been modified too. (have it incremented each submit)&lt;/p&gt;&lt;p&gt;Put in a rule on open that checks the originating user field, if not blank, does current AD user name = originating user name if not true does AD username = manager user name? if yes switch views to approver if not exit form (security).&lt;/p&gt;&lt;p&gt;I had a table of manager/department relationships but if you have AD implemented well and the reports to complete you can use that.&lt;/p&gt;&lt;p&gt;This security is not perfect hawever since someone could hack the form and bypass your open rules check.&amp;nbsp; &lt;/p&gt;&lt;p&gt;You may want to look at the Database Accelerator Web Services Suite, it includes a full Active Directory web service too and Database enumeration to query any table.&amp;nbsp; It then allows your forms to be stored and secured with SQL server to provide much better security and control. This is critical for most enterprise solutions that deal with employee data.&amp;nbsp; We also have mechanisms for approvals, work flows, text search, etc.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infopathdev.com/files/folders/dbxldownload/entry19957.aspx" target="_blank"&gt;Qdabra Database Accelerator Suite Version 2.0 - Developer&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Contact me and I could show you a demo if you would like.&lt;/p&gt;</description></item><item><title>Check who has opened the form</title><link>https://www.infopathdev.com:443/forums/thread/21830.aspx</link><pubDate>Fri, 20 Jul 2007 10:20:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21830</guid><dc:creator>erugalatha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21830.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21830</wfw:commentRss><description>&lt;p&gt;I have written a web service that gets a users credentials from Active Directory and puts them into fields on the form.&lt;/p&gt;&lt;p&gt;That works fine but I want to check when the form is opened again if that user who originally submitted the form is the current opener of the form.&lt;/p&gt;&lt;p&gt;I also then want to check who is that users manager in AD.&amp;nbsp; If the manager is the current opener of the form (in sharepoint 2007) then I want to display an approval view for the manager.&lt;/p&gt;&lt;p&gt;How to do this?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>