<?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: GetUserProfile Data Connection &amp;nbsp in returned text</title><link>https://www.infopathdev.com:443/forums/thread/79676.aspx</link><pubDate>Wed, 20 Jun 2012 11:57:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79676</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79676.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=79676</wfw:commentRss><description>&lt;p&gt;Apologies one and all. &lt;/p&gt;&lt;p&gt;The translate function appears to translate on a letter by letter basis, not on a word basis. Oh well. I couldn&amp;#39;t find a find and replace either.&lt;/p&gt;&lt;p&gt;My &amp;amp;nbsp s were appearing in the InfoPath &amp;quot;Preview in Browser&amp;quot; option only, then on a hunch I put the form into a SP WebPart page, the &amp;amp;nbsp s disappeared. I guess I&amp;#39;ll have to &amp;#39;publish&amp;#39; my forms much earlier.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;A&lt;/p&gt;</description></item><item><title>Re: GetUserProfile Data Connection &amp;nbsp in returned text</title><link>https://www.infopathdev.com:443/forums/thread/79659.aspx</link><pubDate>Tue, 19 Jun 2012 18:32:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79659</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79659.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=79659</wfw:commentRss><description>&lt;p&gt;In this case, the translate() function would replace all of the &amp;amp;s with spaces and remove all of the &lt;strong&gt;n&lt;/strong&gt;s &lt;strong&gt;b&lt;/strong&gt;s &lt;strong&gt;p&lt;/strong&gt;s&amp;nbsp;&lt;strong&gt;s&lt;/strong&gt;s and ;s.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; An&amp;amp;nbsp;example&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;&amp;nbsp; A examle&lt;/p&gt;&lt;p&gt;InfoPath doesn&amp;#39;t provide a good way to do&amp;nbsp;multicharacter string replacements, unfortunately.&amp;nbsp; Another forum user asked about this last week, and I gave him my suggestions in that thread:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/p/22974/79487.aspx#79487"&gt;http://www.infopathdev.com/forums/p/22974/79487.aspx#79487&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: GetUserProfile Data Connection &amp;nbsp in returned text</title><link>https://www.infopathdev.com:443/forums/thread/79658.aspx</link><pubDate>Tue, 19 Jun 2012 18:21:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79658</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79658.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=79658</wfw:commentRss><description>The translate function should work for your case.&amp;nbsp; Are you saying it removes all the &amp;amp;nbsps but doesn&amp;#39;t add a space?</description></item><item><title>GetUserProfile Data Connection &amp;nbsp in returned text</title><link>https://www.infopathdev.com:443/forums/thread/79649.aspx</link><pubDate>Tue, 19 Jun 2012 15:18:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79649</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79649.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=79649</wfw:commentRss><description>&lt;p&gt;All,&lt;/p&gt;&lt;p&gt;I&amp;#39;m using the GetUserProfile service to return various user attributes. I&amp;#39;m specifically using it to pull into an InfoPath 2010 form the MySite About Me. I&amp;#39;ve got this to work, yet the returned viewable text includes &amp;amp;nbsp i.e. System,&amp;amp;nbsp;XYZ&amp;amp;nbsp; It doesn&amp;#39;t seem to matter if the field is a text or a rich text box.&amp;nbsp; I&amp;#39;ve tried the following formula value: translate(Value[Name = &amp;quot;AboutMe&amp;quot;], &amp;quot;&amp;amp;nbsp;&amp;quot;, &amp;quot; &amp;quot;) . This however removes all &amp;amp;nbsp (s)&lt;/p&gt;&lt;p&gt;How can I remove the &amp;quot;&amp;amp;nbsp;&amp;quot; and be presented with a space in the resulting field?&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>