<?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: Set GUID of Site Column</title><link>https://www.infopathdev.com:443/forums/thread/104918.aspx</link><pubDate>Mon, 14 Dec 2015 15:50:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104918</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104918.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104918</wfw:commentRss><description>Wonderful suggestion! Thanks! In the past, I have modified the GUIDs in the form instead - save the form as source files, and in manifest.xsf you&amp;#39;ll find the GUIDs for the promoted properties. I usually just replace the values when moving from DEV to PROD - but it is great to hear about other approaches.</description></item><item><title>Set GUID of Site Column</title><link>https://www.infopathdev.com:443/forums/thread/104915.aspx</link><pubDate>Sun, 13 Dec 2015 15:36:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104915</guid><dc:creator>Paradiddle</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104915.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104915</wfw:commentRss><description>&lt;p&gt;I have had issues with&amp;nbsp;promoted InfoPath fields having different GUIDs&amp;nbsp;in my development and production environments.&amp;nbsp; This will break rules that use the site column&amp;#39;s GUID to get&amp;nbsp;a fields value (lookups to Secondary Datasources).&amp;nbsp; I could copy the Content DB from&amp;nbsp;my production environment to my dev environment and the GUIDs would be in sync but I have found something that is easier.&lt;/p&gt;&lt;p&gt;I use SharePoint Manager&amp;nbsp;2013 and get the&amp;nbsp;XMLSchema&amp;nbsp;property from the site column (field) from the production site.&amp;nbsp; After launching SharePoint Manager 2013, a free tool, navigate to the site collection, then Forms, then Fields and select the field and then its&amp;nbsp;XMLSchema.&amp;nbsp; The&amp;nbsp;value will&amp;nbsp;look like:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;Field ID=&amp;quot;{6a6d9e61-2a1e-4bcb-bbe9-f9ffd4beef85}&amp;quot; Type=&amp;quot;Text&amp;quot; Name=&amp;quot;_6a6d9e61_2a1e_4bcb_bbe9_f9ffd4beef85&amp;quot; DisplayName=&amp;quot;UserNumber&amp;quot; Required=&amp;quot;FALSE&amp;quot; SourceID=&amp;quot;{bb635ba5-1633-44e6-85a8-ee4b11ee9889}&amp;quot; StaticName=&amp;quot;_6a6d9e61_2a1e_4bcb_bbe9_f9ffd4beef85&amp;quot; ReadOnly=&amp;quot;FALSE&amp;quot; Group=&amp;quot;Microsoft InfoPath&amp;quot; Node=&amp;quot;/my:myFields/my:SEIuserNumber&amp;quot; MaxLength=&amp;quot;255&amp;quot; Version=&amp;quot;3&amp;quot; ColName=&amp;quot;nvarchar122&amp;quot; RowOrdinal=&amp;quot;0&amp;quot; /&amp;gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In my dev environment the GUID in the XMLSchema will be different, so I launch SharePoint Manager 2013 from my dev server and navigate to the&amp;nbsp;same field.&amp;nbsp; Then copy and paste, the above value into the&amp;nbsp;XMLSchema.&amp;nbsp; You will need to remove the column from the library where&amp;nbsp;you are using it and re-add it from the updated site column.&amp;nbsp;&lt;/p&gt;&lt;p&gt;You could use C# to do the&amp;nbsp;same thing but SharePoint Manager 2013 is a good tool that has helped me many times...&lt;/p&gt;&lt;p&gt;&lt;a href="https://spm.codeplex.com/"&gt;https://spm.codeplex.com/&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>