<?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: HTML and variable assigning in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/HTML-and-variable-assigning/m-p/2146314#M93269</link>
    <description>&lt;P&gt;Yes, this is the action for the whole object, so the same action wherever you click in its boundaries.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Dec 2023 14:21:51 GMT</pubDate>
    <dc:creator>vincent_ardiet_</dc:creator>
    <dc:date>2023-12-11T14:21:51Z</dc:date>
    <item>
      <title>HTML and variable assigning</title>
      <link>https://community.qlik.com/t5/App-Development/HTML-and-variable-assigning/m-p/2146303#M93266</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have Vizlib advanced text object:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MPkg_1-1702302856574.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121387i3E8D759C3AD71EA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MPkg_1-1702302856574.png" alt="MPkg_1-1702302856574.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;='&amp;lt;html&amp;gt;'
&amp;amp;'&amp;lt;svg viewbox="0 0 880 181" width="100%" height="100%"&amp;gt;'
//T1
&amp;amp;'&amp;lt;text text-anchor=middle font-size=24 font-weight=bold x="40" y="20"&amp;gt;T1&amp;lt;/text&amp;gt;'
&amp;amp;'&amp;lt;rect x="15" y="30" width="50" height="26" fill="RGB(0,255,0)"/&amp;gt;'
&amp;amp;'&amp;lt;text text-anchor=middle x="40" y="50"&amp;gt;first&amp;lt;/text&amp;gt;'
&amp;amp;'&amp;lt;rect x="15" y="55" width="50" height="26" fill="RGB(0,255,0)"/&amp;gt;'
&amp;amp;'&amp;lt;text text-anchor=middle x="40" y="75"&amp;gt;sec&amp;lt;/text&amp;gt;'
//T2
&amp;amp;'&amp;lt;text text-anchor=middle font-size=24 font-weight=bold x="100" y="20"&amp;gt;T2&amp;lt;/text&amp;gt;'
&amp;amp;'&amp;lt;rect x="75" y="30" width="50" height="26" fill="RGB(0,255,0)"/&amp;gt;'
&amp;amp;'&amp;lt;text text-anchor=middle x="100" y="50"&amp;gt;first&amp;lt;/text&amp;gt;'
&amp;amp;'&amp;lt;rect x="75" y="55" width="50" height="26" fill="RGB(0,255,0)"/&amp;gt;'
&amp;amp;'&amp;lt;text text-anchor=middle x="100" y="75"&amp;gt;sec&amp;lt;/text&amp;gt;'

&amp;amp;'&amp;lt;/svg&amp;gt;'
&amp;amp;'&amp;lt;/html&amp;gt;'
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know that I can add&amp;nbsp;&lt;SPAN&gt;&amp;lt;a href='&lt;A href="https://url" target="_blank" rel="noopener"&gt;https://url&lt;/A&gt;&amp;gt;some text&amp;lt;/a&amp;gt; to open a link when I click on T1 or T2.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What I actually need is when I click on T1 I make a selection on the Field Test: T1 (Field Test has two values T1 and T2).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I created a Vizlib action on&amp;nbsp;Vizlib advanced text object:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MPkg_3-1702303130310.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121390i88F2AABA52D81447/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MPkg_3-1702303130310.png" alt="MPkg_3-1702303130310.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And I thought if I can assign a value to vTest based on if I click on T1 or T2 in text box.&lt;/P&gt;
&lt;P&gt;Is it possible to assign a value to a variable with some HTML at all, or do I need to change item, and try different approach?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 14:08:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/HTML-and-variable-assigning/m-p/2146303#M93266</guid>
      <dc:creator>MPkg</dc:creator>
      <dc:date>2023-12-11T14:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: HTML and variable assigning</title>
      <link>https://community.qlik.com/t5/App-Development/HTML-and-variable-assigning/m-p/2146308#M93267</link>
      <description>&lt;P&gt;Have a look to the action "Set Variable" instead.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 14:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/HTML-and-variable-assigning/m-p/2146308#M93267</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-12-11T14:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: HTML and variable assigning</title>
      <link>https://community.qlik.com/t5/App-Development/HTML-and-variable-assigning/m-p/2146312#M93268</link>
      <description>&lt;P&gt;Thank you very much Mr. Vincent.&lt;BR /&gt;Correct me if I am wrong, but this action will trigger regardless of me clicking to T1 or T2 in the box? Am I right?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 14:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/HTML-and-variable-assigning/m-p/2146312#M93268</guid>
      <dc:creator>MPkg</dc:creator>
      <dc:date>2023-12-11T14:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: HTML and variable assigning</title>
      <link>https://community.qlik.com/t5/App-Development/HTML-and-variable-assigning/m-p/2146314#M93269</link>
      <description>&lt;P&gt;Yes, this is the action for the whole object, so the same action wherever you click in its boundaries.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 14:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/HTML-and-variable-assigning/m-p/2146314#M93269</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-12-11T14:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: HTML and variable assigning</title>
      <link>https://community.qlik.com/t5/App-Development/HTML-and-variable-assigning/m-p/2146317#M93270</link>
      <description>&lt;P&gt;Great, thanks.&lt;/P&gt;
&lt;P&gt;What I need now is to somehow assign different value based on if I click on T1 or T2 on the box. I know that I can open a link based on this click, but what about assigning? I am not sure if this is possible at all, so maybe I should change the item and approach and not waste time on this solution.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 14:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/HTML-and-variable-assigning/m-p/2146317#M93270</guid>
      <dc:creator>MPkg</dc:creator>
      <dc:date>2023-12-11T14:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: HTML and variable assigning</title>
      <link>https://community.qlik.com/t5/App-Development/HTML-and-variable-assigning/m-p/2146324#M93272</link>
      <description>&lt;P&gt;In this case maybe you should put 2 different advance text objects instead.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 14:38:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/HTML-and-variable-assigning/m-p/2146324#M93272</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-12-11T14:38:01Z</dc:date>
    </item>
  </channel>
</rss>

