<?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>How do you get an Infopath Workflow TaskForm to auto populate with values from a Sharepoint List?</title><link>https://www.infopathdev.com:443/forums/thread/31346.aspx</link><pubDate>Mon, 11 Aug 2008 18:31:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31346</guid><dc:creator>j0hnglist</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31346.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=31346</wfw:commentRss><description>&lt;p&gt;I am using Infopath Task Forms with Workflows and MOSS.&amp;nbsp; &lt;/p&gt;&lt;p&gt;In my workflow code, I routinely set values of an InfoPath TaskForm with values passed from another Infopath Task Form using TaskProperies.ExtendedProperties.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;My problem though is that somehow this method doesn&amp;#39;t work when trying to retrieve values from a Sharepoint document library or list:&lt;/p&gt;&lt;p&gt; I can get the value from any colum in the List by calling: this.workflowProperties.Item[&amp;quot;ListColumnName&amp;quot;].&amp;nbsp; I have Debugged and tested and I do in fact ge this value correctly. So my code looks like this:&lt;/p&gt;&lt;p&gt;createTask1.TaskProperties.ExtendedProperties[&amp;quot;ColumnName&amp;quot;] = this.workflowProperties.Item[&amp;quot;ColumnName&amp;quot;].ToString();&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;But when I set the TaskForm&amp;#39;s field to that value, the field isn&amp;#39;t actually being populated. Any ideas why I cant do this? Or how to set an Infopath Field with the value I want? &lt;/i&gt;&lt;/p&gt;&lt;p&gt;This method DOES work when I want to set a second Task Form&amp;#39;s values with values in my workflow. It seems the very first Infopath Form in the chain won&amp;#39;t let me set its values through code. Any ideas? Thanks in advance. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>