<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: SubmitToSharePointList - line breaks?</title><link>https://www.infopathdev.com:443/forums/thread/83902.aspx</link><pubDate>Thu, 25 Oct 2012 21:08:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83902</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83902.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83902</wfw:commentRss><description>Oh, that is wonderful that it worked for you!!! And thanks so much for posting your resolution - never know, someone else may need it!</description></item><item><title>Re: SubmitToSharePointList - line breaks?</title><link>https://www.infopathdev.com:443/forums/thread/83900.aspx</link><pubDate>Thu, 25 Oct 2012 20:58:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83900</guid><dc:creator>cmille34</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83900.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83900</wfw:commentRss><description>&lt;p&gt;Thank you for the help.&amp;nbsp; I finally got it figured out.&amp;nbsp; I converted the Infopath form field to plain text.&amp;nbsp; Then I simply used &amp;lt;BR&amp;gt; tags in the text areas of the concat function and then the RichText column in SharePoint&amp;nbsp;converted them to linebreaks and formatted it correctly for me. I had to manually edit the Xpath in the function for some reason but its working now.&amp;nbsp; Not that&amp;nbsp;I can imagine anyone would ever needing to do this but here is my function in the default value in the text field of the form in case someone else ever needs to do something similiar:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;concat(&amp;quot;Please process the following employee termination.&amp;lt;BR&amp;gt;&lt;br /&gt;Employee Name: &amp;quot;,../../my:Approvers/my:EmployeeName/pc:Person/pc:DisplayName , &amp;quot;&amp;lt;BR&amp;gt;&lt;br /&gt;Last day worked will be: &amp;quot;, substring(../../my:TerminationOfEmployment/my:LastDayWorked, 6, 2), &amp;quot;/&amp;quot;, substring(../../my:TerminationOfEmployment/my:LastDayWorked, 9, 2), &amp;quot;/&amp;quot;, substring(../../my:TerminationOfEmployment/my:LastDayWorked, 1, 4), &amp;quot;&amp;lt;BR&amp;gt;&lt;br /&gt;Form was originally submitted by:&amp;quot;,../../my:Approvers/my:Submitter/pc:Person/pc:DisplayName,&amp;nbsp; &amp;quot;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;/p&gt;&lt;p&gt;Please update the asset inventory system and whatever else we do for terminations&amp;quot;)&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;That produced the desired result of below in the RichText column of the SharePoint list:&lt;/p&gt;&lt;blockquote&gt;&lt;div&gt;Please process the following employee termination.&lt;br /&gt;Employee Name: Test 
User&lt;br /&gt;Last day worked will be: 10/26/2012&lt;br /&gt;Form was originally submitted 
by:Chris Miller&lt;br /&gt;&lt;br /&gt;Please update the asset inventory system and whatever 
else we do for terminations&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;Thanks again for the quick responses and helping me along.&lt;/div&gt;</description></item><item><title>Re: SubmitToSharePointList - line breaks?</title><link>https://www.infopathdev.com:443/forums/thread/83888.aspx</link><pubDate>Thu, 25 Oct 2012 18:14:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83888</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83888.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83888</wfw:commentRss><description>The thing is - I think even if you set your &amp;quot;break&amp;quot; characters to &amp;lt;br/&amp;gt; or add divs or&amp;nbsp;whatever, when you went to insert these into the field using a formula, InfoPath is going to escape them for you.</description></item><item><title>Re: SubmitToSharePointList - line breaks?</title><link>https://www.infopathdev.com:443/forums/thread/83886.aspx</link><pubDate>Thu, 25 Oct 2012 18:01:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83886</guid><dc:creator>cmille34</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83886.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83886</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;Well, again, in a rich text field, you&amp;#39;d have the XHTML that defines the line breaks. Add a rich text field to a form and take a look at the XML after you type in some text and you&amp;#39;ll see the difference.&lt;/p&gt;&lt;p&gt;I&amp;#39;m not sure that there is a work around for the approach you are using - you have some XML file with special characters that you are using to add the line breaks, correct?&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;Correct, I see the differences you are referring to now. A bunch of div tags that seem to correspond a line break.&amp;nbsp; Yes, I have a XML file with the following special characters defined:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;characters &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cr=&amp;quot;&amp;amp;#xD;&amp;quot; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lf=&amp;quot;&amp;amp;#xA;&amp;quot; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; crlf=&amp;quot;&amp;amp;#xD;&amp;amp;#xA;&amp;quot; &lt;br /&gt;/&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Back to google to see if I can populate the default value with some other characters to represent a line break I guess. :(&lt;/p&gt;</description></item><item><title>Re: SubmitToSharePointList - line breaks?</title><link>https://www.infopathdev.com:443/forums/thread/83881.aspx</link><pubDate>Thu, 25 Oct 2012 17:09:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83881</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83881.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83881</wfw:commentRss><description>&lt;p&gt;Well, again, in a rich text field, you&amp;#39;d have the XHTML that defines the line breaks. Add a rich text field to a form and take a look at the XML after you type in some text and you&amp;#39;ll see the difference.&lt;/p&gt;&lt;p&gt;I&amp;#39;m not sure that there is a work around for the approach you are using - you have some XML file with special characters that you are using to add the line breaks, correct?&lt;/p&gt;</description></item><item><title>Re: SubmitToSharePointList - line breaks?</title><link>https://www.infopathdev.com:443/forums/thread/83880.aspx</link><pubDate>Thu, 25 Oct 2012 17:00:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83880</guid><dc:creator>cmille34</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83880.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83880</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;I think you should give that a try - see what happens.&lt;/p&gt;&lt;p&gt;I do know if I map a rich text InfoPath field to a multiple line column in SharePoint, my line breaks are present. &lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I was so optimistic that this would fix it.&amp;nbsp; I changed the mapping file to treat the &amp;#39;Details&amp;#39; field as RichText=true and re-added it to the template and it is still not working correctly.&amp;nbsp; In the XML file, the line breaks are displayed correctly.&amp;nbsp; Just to troubleshoot, I added the &amp;#39;Details&amp;#39; field to the form so I can see how the text is displayed on the form in the RichText field and it isn&amp;#39;t honoring the line breaks that I&amp;#39;ve inserted in the default value concat function either.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m guessing that if I added a RichText field on the form and added line breaks with the enter key that they would transfer over.&amp;nbsp; I am hoping to auto-populate this field by joining together text and other field values automatically though.&amp;nbsp; Do you think this is possible?&lt;/p&gt;</description></item><item><title>Re: SubmitToSharePointList - line breaks?</title><link>https://www.infopathdev.com:443/forums/thread/83845.aspx</link><pubDate>Wed, 24 Oct 2012 19:04:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83845</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83845.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83845</wfw:commentRss><description>&lt;p&gt;I think you should give that a try - see what happens.&lt;/p&gt;&lt;p&gt;I do know if I map a rich text InfoPath field to a multiple line column in SharePoint, my line breaks are present. &lt;/p&gt;</description></item><item><title>Re: SubmitToSharePointList - line breaks?</title><link>https://www.infopathdev.com:443/forums/thread/83844.aspx</link><pubDate>Wed, 24 Oct 2012 19:02:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83844</guid><dc:creator>cmille34</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83844.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83844</wfw:commentRss><description>&lt;p&gt;I bet thats it!&amp;nbsp; Below is an exerpt from my mappings file:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Mapping&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;FormField IsRichText=&amp;quot;false&amp;quot; IsId=&amp;quot;false&amp;quot; IsAttachment=&amp;quot;false&amp;quot;&amp;gt;my:myFields/my:IT_ServiceRequest/my:Details&amp;lt;/FormField&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;SharePointColumn&amp;gt;SRDetail&amp;lt;/SharePointColumn&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Mapping&amp;gt;&lt;/p&gt;&lt;p&gt;Should I change that to RichText=&amp;quot;true&amp;quot; and see if that helps?&lt;/p&gt;</description></item><item><title>Re: SubmitToSharePointList - line breaks?</title><link>https://www.infopathdev.com:443/forums/thread/83843.aspx</link><pubDate>Wed, 24 Oct 2012 18:56:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83843</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83843.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83843</wfw:commentRss><description>I think this is because SharePoint rich text (like IP rich text) will have HTML &amp;lt;br/&amp;gt; for the line breaks - and that the white space characters you are using are getting stripped out... What does your mapping.xml file look like? Have you indicated that the Details field is rich text? I mean, I&amp;#39;m guessing it isn&amp;#39;t in the form data source, but I&amp;#39;m wondering if treating it like it is will affect the end result.</description></item><item><title>Re: SubmitToSharePointList - line breaks?</title><link>https://www.infopathdev.com:443/forums/thread/83842.aspx</link><pubDate>Wed, 24 Oct 2012 18:51:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83842</guid><dc:creator>cmille34</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83842.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83842</wfw:commentRss><description>&lt;p&gt;Not sure if this will come through correctly.&amp;nbsp; I sent you an abbreviated version of the default value before, here is the exact default value from the form:&lt;/p&gt;&lt;p&gt;&amp;nbsp;concat(&amp;quot;Please process the following employee termination.&amp;quot;, @crlf, &amp;quot;Employee Name: &amp;quot;, DisplayName, @crlf, &amp;quot;Last day worked will be:&amp;nbsp; &amp;quot;, LastDayWorked, @crlf, &amp;quot;Form was originally submitted by: &amp;quot;, DisplayName, @crlf, @crlf, &amp;quot;Please update the asset inventory system and whatever else we do for terminations.&amp;quot;)&lt;/p&gt;&lt;p&gt;Below is the XML you asked for from the subsequent form (line breaks appear in the XML -- unfortunately, in the SharePoint list that it is going to there are no line breaks):&lt;/p&gt;&lt;p&gt;&amp;lt;my:Details&amp;gt;Please process the following employee termination.&lt;br /&gt;Employee Name: Test User&lt;br /&gt;Last day worked will be:&amp;nbsp; 2012-10-25&lt;br /&gt;Form was originally submitted by: Chris Miller&lt;/p&gt;&lt;p&gt;Please update the asset inventory system and whatever else we do for terminations.&amp;lt;/my:Details&amp;gt;&lt;/p&gt;&lt;p&gt;This is what gets added to the &amp;#39;Details&amp;#39; column in the list site (all one long string of text):&lt;/p&gt;&lt;div&gt;Please process the following employee termination. Employee Name: Test User 
Last day worked will be: 2012-10-25 Form was originally submitted by: Chris 
Miller Please update the asset inventory system and whatever else we do for 
terminations.&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;I did confirm that the column in the custom list is set to Multi line (5 lines) of Rich Text.&amp;nbsp; &lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;</description></item><item><title>Re: SubmitToSharePointList - line breaks?</title><link>https://www.infopathdev.com:443/forums/thread/83841.aspx</link><pubDate>Wed, 24 Oct 2012 18:35:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83841</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83841.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83841</wfw:commentRss><description>Can you save the XML created by your form (or, if it has been submitted to a form library) and attach it to a reply here? Under the Options tab? Then I can open in a text editor and see what the XML value is.</description></item><item><title>Re: SubmitToSharePointList - line breaks?</title><link>https://www.infopathdev.com:443/forums/thread/83840.aspx</link><pubDate>Wed, 24 Oct 2012 18:32:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83840</guid><dc:creator>cmille34</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83840.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83840</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Hi - What is the actual value in the XML that you are submitting? You say you are populating the form field by setting the default value with the concat function?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Im not sure what the actual value in the XML is.&amp;nbsp; The field is called &amp;quot;Details&amp;quot; on the form.&amp;nbsp; It is set to Data type Rich Text.&amp;nbsp; The default value is set to the following:&amp;nbsp; concat(&amp;quot;Please process the following form.&amp;quot;, @crlf, &amp;quot;Employee Name: &amp;quot;, DisplayName).&amp;nbsp; Naturally @crlf and DisplayName are field names in the form.&amp;nbsp; So technically the field isn&amp;#39;t on the form but its listed in the field tree, I need its contents submitted to the SharePoint list.&amp;nbsp; That is all working with the mapping and qRule but I can&amp;#39;t seem to get line breaks to show up.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Hopefully that makes sense.&lt;/p&gt;</description></item><item><title>Re: SubmitToSharePointList - line breaks?</title><link>https://www.infopathdev.com:443/forums/thread/83838.aspx</link><pubDate>Wed, 24 Oct 2012 18:16:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83838</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83838.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83838</wfw:commentRss><description>Hi - What is the actual value in the XML that you are submitting? You say you are populating the form field by setting the default value with the concat function?</description></item><item><title>SubmitToSharePointList - line breaks?</title><link>https://www.infopathdev.com:443/forums/thread/83837.aspx</link><pubDate>Wed, 24 Oct 2012 18:12:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83837</guid><dc:creator>cmille34</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83837.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=83837</wfw:commentRss><description>&lt;p&gt;I am very new to qRules and pretty new to Infopath so please forgive my ignorance here.&amp;nbsp; I just bought qRules after I was able to submit things to a custom list with the trial and decided that would be a huge help for me in the future.&lt;/p&gt;&lt;p&gt;What I am specifically struggling with right now is populating a RichText&amp;nbsp;column in a SharePoint custom list with a mix of text and field values from my Infopath form.&amp;nbsp; I can get everyting into the RichText column in the list but I would like to have line breaks included. I tried following the instructions here: &lt;a href="http://johnliu.net/blog/2011/4/22/line-break-in-infopath-web-browser-forms.html"&gt;http://johnliu.net/blog/2011/4/22/line-break-in-infopath-web-browser-forms.html&lt;/a&gt;&amp;nbsp;but that didn&amp;#39;t seem to help in my case.&amp;nbsp; The line breaks didn&amp;#39;t make it over to the RichText column in the list. I tried setting the field on the Infopath to plain Text or RichText and neither one seems to populate the list column correctly.&amp;nbsp; I am populating the form field by setting the default value with the concat function, nut by actually typing in the field.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m happy to provide any more detail that would&amp;nbsp;be helpful.&amp;nbsp;Is this even possible?&amp;nbsp; Thanks in advance for your time.&lt;/p&gt;</description></item></channel></rss>