<?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: Clear/UnClear any field from within an object extension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Clear-UnClear-any-field-from-within-an-object-extension/m-p/462471#M1235578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;theoretically you should be able to apply function ClearSelections(), Lock(), Unlock() to specific list boxes as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ClearSelections() it works fine for me, but not for Lock() and Unlock().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var doc = Qv.GetCurrentDocument();&lt;/P&gt;&lt;P&gt;var lb1 = doc.GetObject("LB06");&lt;/P&gt;&lt;P&gt;button.click(function() { lb1.Data.ClearSelections(); });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the syntax I used to deleselecting a specific element that was not in the extension objects data table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jun 2013 09:51:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-27T09:51:14Z</dc:date>
    <item>
      <title>Clear/UnClear any field from within an object extension</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-UnClear-any-field-from-within-an-object-extension/m-p/462470#M1235575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did anybody manage to clear, unclear, lock, unlock any field (by the given field name) from within an object extension?&lt;/P&gt;&lt;P&gt;There are some related methods in the JS API but not what I am exactly searching for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;this.&lt;STRONG&gt;Document.Clear()&lt;/STRONG&gt; =&amp;gt; Clears all Selections&lt;/LI&gt;&lt;LI&gt;this.&lt;STRONG&gt;DocumentMgr.LockSelections()&lt;/STRONG&gt; =&amp;gt; Locks all fields, but not only a single one&lt;/LI&gt;&lt;LI&gt;this.&lt;STRONG&gt;DocumentMgr.UnlockSelections()&lt;/STRONG&gt; =&amp;gt; Unlocks all fields, but not only a single one&lt;/LI&gt;&lt;LI&gt;this.&lt;STRONG&gt;Data.ClearSelections()&lt;/STRONG&gt; =&amp;gt; Clears selections within the underlaying data-table of an extension (based on defined dimensions and measures).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your advices and ideas!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-UnClear-any-field-from-within-an-object-extension/m-p/462470#M1235575</guid>
      <dc:creator>Stefan_Walther</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Clear/UnClear any field from within an object extension</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-UnClear-any-field-from-within-an-object-extension/m-p/462471#M1235578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;theoretically you should be able to apply function ClearSelections(), Lock(), Unlock() to specific list boxes as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ClearSelections() it works fine for me, but not for Lock() and Unlock().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var doc = Qv.GetCurrentDocument();&lt;/P&gt;&lt;P&gt;var lb1 = doc.GetObject("LB06");&lt;/P&gt;&lt;P&gt;button.click(function() { lb1.Data.ClearSelections(); });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the syntax I used to deleselecting a specific element that was not in the extension objects data table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 09:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-UnClear-any-field-from-within-an-object-extension/m-p/462471#M1235578</guid>
      <dc:creator />
      <dc:date>2013-06-27T09:51:14Z</dc:date>
    </item>
  </channel>
</rss>

