<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>How Change Saving Form name via Event Handlers Sharepoint Form Library</title><link>https://www.infopathdev.com:443/forums/thread/29337.aspx</link><pubDate>Wed, 11 Jun 2008 19:30:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29337</guid><dc:creator>Yeudy Segura</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29337.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=29337</wfw:commentRss><description>&lt;p&gt;Can someone help!&lt;/p&gt;
&lt;p&gt;We have an event handler on a Sharepoint Form Library that triggers itself once a new item is about to be saved on the sharepoint list.&lt;/p&gt;
&lt;p&gt;The Event Handlers is executed before the form is actually saved into the sharepoint list. The reason why is this way, is because we need to obtain a unique number (order request number) to be assigned to a custom column in this list.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;We can not find a way to get this number inside of the XML file content.&amp;nbsp; Therefore, we could settle for just finding a way to change the name of the Form about to be saved into the sharepoint list, to something like &amp;quot; Req####&amp;quot;, where #### is the next Order Number in the sequence.&lt;/p&gt;
&lt;p&gt;Does anyone knows how to intercept the XML Document name, change it, and let it save into the library? &lt;/p&gt;</description></item></channel></rss>