<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Removing HTML markup code in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466073#M174137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I spoke too soon.&amp;nbsp; it seemed to have worked before but now the field_cleansed column is empty. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2014 20:12:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-16T20:12:53Z</dc:date>
    <item>
      <title>Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466050#M174114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got a webquery that generates an XML document in the browser. I'm using this as a web file data source in QlikView, and it works as expected, pulling in the XML schema and data. However, one of the fields is full of HTML markup, and I'm not sure the best way to get it all out. Since the XML is generated dynamically on an internet site, it never hits the server file system and so I can't do anything on that end. Also, the HTML is pretty extensive, with lots of things like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;TD STYLE="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: black 0.5pt solid; BACKGROUND-COLOR: white; WIDTH: 208pt; HEIGHT: 12.75pt;"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it's not as simple as a few replace statements to strip &amp;lt;p&amp;gt; and &amp;lt;/p&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 16:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466050#M174114</guid>
      <dc:creator>mhassinger</dc:creator>
      <dc:date>2013-01-28T16:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466051#M174115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeap, it is not that simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There also a function subfield(FIELD,'&amp;gt;',2)&lt;/P&gt;&lt;P&gt;Then apply subfield(subfield(FIELD,'&amp;gt;',2),'&amp;lt;',1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this last thing, you have something.&lt;/P&gt;&lt;P&gt;For this case, the result would be&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;So it's not as simple as a few replace statements to strip&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somehow you're gonna have to do many tries and maybe several steps in your load.&lt;/P&gt;&lt;P&gt;You could start by spliting your code in lines...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 17:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466051#M174115</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2013-01-28T17:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466052#M174116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On way could be to pull out all texts between &amp;lt; &amp;gt; into a mapping table and then use mapsubstring to remove all occurances..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could work out an example if you would upload a doc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 17:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466052#M174116</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-01-28T17:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466053#M174117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using a small vbscript function found &lt;A href="http://www.4guysfromrolla.com/webtech/042501-1.shtml"&gt;here&lt;/A&gt;. See attached qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 18:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466053#M174117</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-01-28T18:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466054#M174118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on Gysbert's example, I did it with pure script code using a Mapping Table and MapSubstring() to show the power of QlikView script language and to omit the Macro which should speedup the load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13605799581611616" jivemacro_uid="_13605799581611616"&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD RecNo() as RecNo, Field&lt;/P&gt;&lt;P&gt;FROM comm71215.xls (biff, embedded labels, table is [Sheet1$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HtmlTag_Map:&lt;/P&gt;&lt;P&gt;MAPPING LOAD DISTINCT '&amp;lt;' &amp;amp; TextBetween('&amp;lt;' &amp;amp; SubField(Field, '&amp;lt;'),'&amp;lt;','&amp;gt;') &amp;amp; '&amp;gt;' as HtmlTag, '' as Substitute&lt;/P&gt;&lt;P&gt;Resident Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN(Data) LOAD RecNo, MapSubstring('HtmlTag_Map', Field) as Field_Cleansed&lt;/P&gt;&lt;P&gt;Resident Data;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 10:53:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466054#M174118</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-02-11T10:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466055#M174119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ralf! works great.&amp;nbsp; I wrote it using an inline - in case anyone is interested:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13771235804812612" jivemacro_uid="_13771235804812612"&gt;
&lt;P&gt;Test:&lt;/P&gt;
&lt;P&gt;LOAD RecNo() as RecNo, html_field inline [&lt;/P&gt;
&lt;P&gt;html_field&lt;/P&gt;
&lt;P&gt;'&amp;lt;body&amp;gt;&amp;lt;p&amp;gt;Hello!&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;DATA TEST DATA TEST &amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;TESTING THIS OTHER SEGMENT.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt; also this one in lower case&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;lots of different types of html tags &amp;lt;span test="test" __test_macro="testmac" class="test_macro" src="test.gif"&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;'&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;HtmlTag_Map:&lt;/P&gt;
&lt;P&gt;MAPPING LOAD DISTINCT '&amp;lt;' &amp;amp; TextBetween('&amp;lt;' &amp;amp; SubField(html_field, '&amp;lt;'),'&amp;lt;','&amp;gt;') &amp;amp; '&amp;gt;' as HtmlTag, '' as Substitute&lt;/P&gt;
&lt;P&gt;Resident Test;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;JOIN(Test) LOAD RecNo, MapSubstring('HtmlTag_Map', html_field) as Field_Cleansed&lt;/P&gt;
&lt;P&gt;Resident Test;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 22:20:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466055#M174119</guid>
      <dc:creator />
      <dc:date>2013-08-21T22:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466056#M174120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ralf this is fantastic, thank you.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my xml datafile has multiple html fields (and I need to do this to all of them), how would you recommend I deal with that in my script in the most efficient way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 04:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466056#M174120</guid>
      <dc:creator />
      <dc:date>2014-04-17T04:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466057#M174121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you upload a sample file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 07:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466057#M174121</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-04-17T07:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466058#M174122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some background for you, I am currently connecting my QV to a SharePoint site where I have an input form.&amp;nbsp; The form includes checkboxes,&amp;nbsp; single line text fields etc including multiline rich text fields (which generates HTML in the XML feed).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script looks something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Decisions:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ows_ID as ID,&lt;/P&gt;&lt;P&gt;…..&lt;/P&gt;&lt;P&gt;ows_Decision_x0020_Comments as [Decision Comments],&lt;/P&gt;&lt;P&gt;ows_Appeal as Appeal,&lt;/P&gt;&lt;P&gt;ows_Appeal_x0020_Comments as [Appeal Comments],&lt;/P&gt;&lt;P&gt;ows_ReReview as Re-Review,&lt;/P&gt;&lt;P&gt;ows_ReReview_x0020_Comments as [Re-Review Comments],&lt;/P&gt;&lt;P&gt;…..&lt;/P&gt;&lt;P&gt;From &amp;lt;link to sharepoint&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i display these fields in QV, the comments fields above output all the HTML tags which is not what I want.&amp;nbsp; Your code is brilliant to remove the html tags from 1 field (e.g. [Decision Comments] but when I have multiple html fields (e.g. Decision Comments, Appeal Comments, Re-Review Comments etc) I would love advice on how best (most efficiently) to deal with that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at the moment, I have your code following my initial Load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTMLTag_Map:&lt;/P&gt;&lt;P&gt;MAPPING LOAD Distinct '&amp;lt;' &amp;amp; TextBetween('&amp;lt;' &amp;amp; SubField([Decision Comments], '&amp;lt;', IterNo()), '&amp;lt;','&amp;gt;') &amp;amp; '&amp;gt;' as HTMLTag, '' as Substitute&lt;/P&gt;&lt;P&gt;Resident Decisions;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join (Decisions) LOAD ID, MapSubString('HTMLTag_Map', [Decision Comments]) as [Decision Comments Cleansed]&lt;/P&gt;&lt;P&gt;Resident Decisions;&lt;/P&gt;&lt;P&gt;while not ISNULL (SubField([Decision Comments], '&amp;lt;', IterNo()));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how do i then do the same for the next Comments field e.g. [Appeal Comments] and then [Re-Review Comments}?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I do a separate Mapping and join after each field or can I do everything at once?&amp;nbsp; Apologies if I'm missing the obvious, quite new to QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Huge Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 18:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466058#M174122</guid>
      <dc:creator />
      <dc:date>2014-04-17T18:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466059#M174123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest to do the procedure for every field the same way, so 3 times in a row:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load the Field&lt;/P&gt;&lt;P&gt;Load the Map&lt;/P&gt;&lt;P&gt;Join &amp;amp; Strip the HTML Tags&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 19:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466059#M174123</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-04-17T19:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466060#M174124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, thanks so much Ralf.&amp;nbsp; I was planning on doing that but wanted to check whether I was missing a trick or building something very inefficient!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 19:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466060#M174124</guid>
      <dc:creator />
      <dc:date>2014-04-17T19:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466061#M174125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It could work in another way, too:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load the Fields&lt;/P&gt;&lt;P&gt;Load the Map for Field1 into Map1&lt;/P&gt;&lt;P&gt;Load the Map for Field2 into Map2&lt;/P&gt;&lt;P&gt;Load the Map for Field3 into Map3&lt;/P&gt;&lt;P&gt;Join/Strip with 3x different MapSubstr()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 19:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466061#M174125</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-04-17T19:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466062#M174126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I'm getting an error when i try this: MapSubString function takes a constant map as first parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I'm loading a table from a stored procedure like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CRMActivity:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;REPLACE SQL EXEC sp_getdata '$(vEmail)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;HtmlTag_Map:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MAPPING LOAD DISTINCT '&amp;lt;' &amp;amp; TextBetween('&amp;lt;' &amp;amp; SubField(description, '&amp;lt;', IterNo()),'&amp;lt;','&amp;gt;') &amp;amp; '&amp;gt;' as HtmlTag, '' as Substitute&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident CRMActivity&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;While NOT IsNull(SubField(description, '&amp;lt;', IterNo()));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;JOIN(CRMActivity) LOAD activityid, description, objectname, ownername, subject, MapSubstring('HtmlTag_Map', description) as Field_Cleansed&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident CRMActivity;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The fields returned from the stored procedure are activityid, description, objectname, ownername, subject.&amp;nbsp; I'm trying to clean the description field of html.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Can anyone see what I'm doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 16:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466062#M174126</guid>
      <dc:creator />
      <dc:date>2014-07-16T16:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466063#M174127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strange error, never got that. Can you load the mapping table into a normal table to see what's in it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;HtmlTag_Map:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD DISTINCT '&amp;lt;' &amp;amp; TextBetween('&amp;lt;' &amp;amp; SubField(description, '&amp;lt;', IterNo()),'&amp;lt;','&amp;gt;') &amp;amp; '&amp;gt;' as HtmlTag, '' as Substitute&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident CRMActivity&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;While NOT IsNull(SubField(description, '&amp;lt;', IterNo()));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 17:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466063#M174127</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-07-16T17:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466064#M174128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this and it appears the mapping table is blank.&amp;nbsp; Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 18:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466064#M174128</guid>
      <dc:creator />
      <dc:date>2014-07-16T18:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466065#M174129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give an example what's in table CRMActivity?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 19:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466065#M174129</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-07-16T19:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466066#M174130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's one of the records:&lt;/P&gt;&lt;P&gt;[1000145,&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"&amp;gt;&amp;lt;HTML&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;META NAME="Generator" CONTENT="MS Exchange Server version 14"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;TITLE&amp;gt;&amp;lt;/TITLE&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/HEAD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;BODY&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Converted from text/plain format --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;BR&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;P&amp;gt;&amp;lt;FONT SIZE=2&amp;gt;Hello Jackson,&amp;lt;BR&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;BR&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;BR&amp;gt;&lt;/P&gt;&lt;P&gt;Any idea what the following error means:&amp;lt;BR&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;BR&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;BR&amp;gt;&lt;/P&gt;&lt;P&gt;Error: Disconnected: No supported methods available&amp;lt;BR&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;BR&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/BODY&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/HTML&amp;gt;&lt;/P&gt;&lt;P&gt;, Email, User1, RE: Support Case-30084]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 19:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466066#M174130</guid>
      <dc:creator />
      <dc:date>2014-07-16T19:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466067#M174131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe we have to purge the line breaks before:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;HtmlTag_Map:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MAPPING LOAD DISTINCT '&amp;lt;' &amp;amp; TextBetween('&amp;lt;' &amp;amp; SubField(PurgeChar(description, chr(13)&amp;amp;chr(10)), '&amp;lt;', IterNo()),'&amp;lt;','&amp;gt;') &amp;amp; '&amp;gt;' as HtmlTag, '' as Substitute&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident CRMActivity&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;While NOT IsNull(SubField(description, '&amp;lt;', IterNo()));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;JOIN(CRMActivity) LOAD activityid, description, objectname, ownername, subject, MapSubstring('HtmlTag_Map', PurgeChar(description, chr(13)&amp;amp;chr(10))) as Field_Cleansed&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident CRMActivity;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 19:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466067#M174131</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-07-16T19:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466068#M174132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same error:&lt;/P&gt;&lt;P&gt;Error in expression:&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;MapSubString function takes a constant map as first parameter&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;JOIN(CRMActivity) LOAD activityid, description, objectname, ownername, subject, MapSubstring('HtmlTag_Map', PurgeChar(description, chr(13)&amp;amp;chr(10))) as Field_Cleansed&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident CRMActivity&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks for trying.&amp;nbsp; I'm pulling my hair out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 19:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466068#M174132</guid>
      <dc:creator />
      <dc:date>2014-07-16T19:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Removing HTML markup code</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466069#M174133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to clear this up.&amp;nbsp; The mapping works.&amp;nbsp; Even through it throws that error in the script, the field_cleansed column contains the text without the html.&amp;nbsp; Its just that it throws that error every time a partial refresh is done.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 19:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-HTML-markup-code/m-p/466069#M174133</guid>
      <dc:creator />
      <dc:date>2014-07-16T19:55:56Z</dc:date>
    </item>
  </channel>
</rss>

