<?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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Web service generated GUID</title><link>https://www.infopathdev.com:443/forums/thread/56593.aspx</link><pubDate>Wed, 07 Jul 2010 09:42:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56593</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56593.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=56593</wfw:commentRss><description>&lt;p&gt;Thanks Jimmy, that&amp;#39;s just what I needed.&lt;/p&gt;
&lt;p&gt;Didn&amp;#39;t realise you could control rules on form open events so that was much appreciated.&lt;/p&gt;</description></item><item><title>Re: Web service generated GUID</title><link>https://www.infopathdev.com:443/forums/thread/56550.aspx</link><pubDate>Tue, 06 Jul 2010 12:28:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56550</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56550.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=56550</wfw:commentRss><description>&lt;p&gt;Where did you place the rule?&amp;nbsp; It should be in the Form Open rules, and you should most likely be checking &lt;strong&gt;If GUIDcopy is not blank&lt;/strong&gt;&amp;nbsp;you should similarly use rules to stop it from querying a new quid when there already is one.&lt;/p&gt;</description></item><item><title>Web service generated GUID</title><link>https://www.infopathdev.com:443/forums/thread/56543.aspx</link><pubDate>Tue, 06 Jul 2010 11:26:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56543</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56543.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=56543</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a GUID field (GUIDfield) on my form that, when the form is first opened, will head to the web service and generate a GUID.&lt;/p&gt;
&lt;p&gt;I have got another field on the form that&amp;nbsp;has a rule set up to copy GUIDfield and holds the original GUID (GUIDcopy).&lt;/p&gt;
&lt;p&gt;When the form is saved, for example, in a Sharepoint library, and then reopened, the GUID in the field GUIDfield changes as it goes off to the webservice and fetches a new GUID, meanwhile GUIDcopy keeps that first GUID that was fetched.&lt;/p&gt;
&lt;p&gt;I need to figure out some sort of way to stop GUIDfield going off and getting a new GUID everytime the form is opened, either by holding it&amp;#39;s original value or by creating some sort of action that makes it look for a field in GUIDcopy first. If there is a value in GUIDcopy, it populates itself with the value held in GUIDcopy, if GUIDcopy is empty it goes off and fetches it&amp;#39;s GUID from the web service as normal.&lt;/p&gt;
&lt;p&gt;This is being done on a browser enabled form.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I initially thought, some sort of Rule with the condition &amp;quot;If GUIDcopy is present&amp;quot;, then the rule obviously being&amp;nbsp;Set a Fields value, Field&amp;nbsp;= GUIDfield, Value&amp;nbsp;= GUIDcopy, but this doesn&amp;#39;t seem to work.&amp;nbsp;Not sure whether the rule&amp;#39;s don&amp;#39;t kick in till after the web service has kicked in the new GUID or whether I was using the wrong condition.&lt;/p&gt;
&lt;p&gt;Basically the aim is that once GUIDfield has a value, whenever that form is opened in the future, it retains that value and never changes it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any help on this is much appreciated, if indeed, any of the above makes sense.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>