<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Attachment contol and Document Library SharePoint 2007</title><link>https://www.infopathdev.com:443/forums/thread/23810.aspx</link><pubDate>Thu, 18 Oct 2007 15:02:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23810</guid><dc:creator>hmendezm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23810.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23810</wfw:commentRss><description>&lt;p&gt;Well, I have&amp;nbsp; workflows that have a document library where the user can look all document of specific process without see the form, so my idea was to use InfoPath and use the attachment control and in the way the user will attach and fill out the firm of the process in the same place without got to the document library and after to the form. &lt;/p&gt;
&lt;p&gt;Note: Clay sorry this is other question but nobody answers in other forums, Do you have an idea how to get the data of the Repeating section in the workflow when you get the AssociationData?&lt;/p&gt;&amp;nbsp;When I run the code &lt;em&gt;&lt;font size="2"&gt;assocForm = (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Main&lt;/font&gt;&lt;/em&gt;&lt;font size="2"&gt;&lt;em&gt;)serializer.Deserialize(reader);&lt;/em&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&amp;nbsp;I get the erro &lt;br /&gt;Additional information: There is an error in XML document (1, 2).&lt;/p&gt;
&lt;p&gt;This is the schema that I get in AssociationData&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;lt;my:myFields xml:lang=&amp;quot;en-US&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:d=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/ado/dataFields&amp;quot; xmlns:dfs=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/dataFormSolution&amp;quot; xmlns:my=&amp;quot;http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-10-17T13:20:34&amp;quot; xmlns:xd=&amp;quot;http://schemas.microsoft.com/office/infopath/2003&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;my:gpDesignatingInfo&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;my:txtOffice&amp;gt;ITS&amp;lt;/my:txtOffice&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;my:txtDesignatingPerson&amp;gt;Administrator&amp;lt;/my:txtDesignatingPerson&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;my:txtActingFor&amp;gt;&amp;lt;/my:txtActingFor&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;my:dtLeaveBegin xsi:nil=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/my:dtLeaveBegin&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;my:dtLeaveEnd xsi:nil=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/my:dtLeaveEnd&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;my:txtTypeOfLeave&amp;gt;Type1&amp;lt;/my:txtTypeOfLeave&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;my:ContactInfo&amp;gt;&amp;lt;/my:ContactInfo&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;/my:gpDesignatingInfo&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;my:gpDesignatedInfo&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;my:gpDesignatedPersons&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;my:txtDesignatedOffice&amp;gt;ITS&amp;lt;/my:txtDesignatedOffice&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;my:txtDesignatedPerson&amp;gt;User01&amp;lt;/my:txtDesignatedPerson&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;my:dtDesignatedBegin xsi:nil=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/my:dtDesignatedBegin&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;my:dtDesignatedEnd xsi:nil=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/my:dtDesignatedEnd&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/my:gpDesignatedPersons&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;/my:gpDesignatedInfo&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/my:myFields&amp;gt;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Attachment contol and Document Library SharePoint 2007</title><link>https://www.infopathdev.com:443/forums/thread/23733.aspx</link><pubDate>Mon, 15 Oct 2007 21:19:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23733</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23733.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23733</wfw:commentRss><description>&lt;p&gt;Once the file as in the form it can be accessed by anyone via the form.&lt;/p&gt;
&lt;p&gt;If you also want the file in Sharepoint then that would be a seperate process of uploading the file. But then there is no linkage between the version in the document library and the version attached to the form.&lt;/p&gt;
&lt;p&gt;Another option is to have them upload the file to Sharepoint and then enter a hyperlink in the form instead of attaching.&lt;/p&gt;
&lt;p&gt;It is possible to make your own attachment control that could possibly do both but it would require a full trust form and quite a bit of development.&lt;/p&gt;
&lt;p&gt;It really comes down to your process and whether you want it easiest to attach or easiest to access later.&amp;nbsp; Do you need it in a SharePoint Library on its own when it is already available within the form?&lt;/p&gt;</description></item><item><title>Re: Attachment contol and Document Library SharePoint 2007</title><link>https://www.infopathdev.com:443/forums/thread/23732.aspx</link><pubDate>Mon, 15 Oct 2007 20:59:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23732</guid><dc:creator>hmendezm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23732.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23732</wfw:commentRss><description>&lt;p&gt;thank Clay, but my situation is the following: The user has a file in his/her PC and he/she Attached the file to the form. Is there some way to also take the attached file and add to&amp;nbsp;any document library.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Attachment contol and Document Library SharePoint 2007</title><link>https://www.infopathdev.com:443/forums/thread/23719.aspx</link><pubDate>Mon, 15 Oct 2007 16:27:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23719</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23719.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23719</wfw:commentRss><description>&lt;p&gt;Are you asking how you can attach a file to a Infopath form and also have the attached file saved into SharePoint?&lt;/p&gt;
&lt;p&gt;When you attach a file in InfoPath it is embedded in the form and that is where it stays.&amp;nbsp; If you&amp;nbsp;have a file in SharePoint and want to reference it from InfoPath a hyperlink would probably be better.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Attachment contol and Document Library SharePoint 2007</title><link>https://www.infopathdev.com:443/forums/thread/23712.aspx</link><pubDate>Mon, 15 Oct 2007 13:26:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23712</guid><dc:creator>hmendezm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23712.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23712</wfw:commentRss><description>&lt;p&gt;Hi Guys&lt;/p&gt;
&lt;p&gt;How&amp;nbsp;can I use attachment control in my form and save the files in a specific document library?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;HANK&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>