<?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: How to hide measure expression input in property panel in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2457315#M20692</link>
    <description>&lt;P&gt;One thing that you can do, is to hide the entire measure using the &lt;A href="https://help.qlik.com/en-US/sense-developer/May2024/Subsystems/APIs/Content/Sense_ClientAPIs/ExtensionAPI/property-definition-string.htm" target="_blank"&gt;show &lt;/A&gt;property.&lt;BR /&gt;To my knowledge, there is no other way of doing what you are trying to do.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2024 07:51:22 GMT</pubDate>
    <dc:creator>alex_colombo</dc:creator>
    <dc:date>2024-05-29T07:51:22Z</dc:date>
    <item>
      <title>How to hide measure expression input in property panel</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2455337#M20635</link>
      <description>&lt;P&gt;Hi, so I have a definition for measures:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;measures: {
    uses: "measures",
    min: 0,
    max: measureCount,
    items: {
        numberFormatting: {
            show: false,
        },
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It hides their default numberFormatting property. How can I hide the expression property? I did not find it after searching an hour &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I tried&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;expr: {
    show: false,
},
expression: {
    show: false,
},
Expression: {
    show: false,
},&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;nothing works. What does?&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 16:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2455337#M20635</guid>
      <dc:creator>ohenrichs</dc:creator>
      <dc:date>2024-05-22T16:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide measure expression input in property panel</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2455388#M20639</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/173259"&gt;@ohenrichs&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I'm not quite sure what are you trying to do but see if this helps somehow. It removes the Dimensions and Measures boxes from an Extension.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;definition : properties,
initialProperties : {
	version: 1.0,
	qHyperCubeDef : {
		qDimensions : [],
		qMeasures : [],
		qInitialDataFetch : [{
			qWidth : 0,
			qHeight : 0
		}]
	},
	fontSize : {
		min : 8,
		max : 24
	}
},&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 22 May 2024 20:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2455388#M20639</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-05-22T20:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide measure expression input in property panel</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2455572#M20644</link>
      <description>&lt;P&gt;Hi Mark,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for the quick answer, I need to clarify. We auto-generate some measures for our extension, e.g.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Measure showing only Expression and Label" style="width: 268px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166670i4F0AA33AE1925F38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="remove_expression_show.png" alt="Measure showing only Expression and Label" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Measure showing only Expression and Label&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The code I posted above already removes the number-formatting. Now i want the Expression input to disappear, s.t. only the Label input is visible.&lt;/P&gt;
&lt;P&gt;Best regards!&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 08:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2455572#M20644</guid>
      <dc:creator>ohenrichs</dc:creator>
      <dc:date>2024-05-23T08:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide measure expression input in property panel</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2456157#M20661</link>
      <description>&lt;P&gt;Hey &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/173259"&gt;@ohenrichs&lt;/a&gt;&lt;/SPAN&gt; , so you are creating measure and you want to hide the Expression input box? Why do you need this? I don't think this is possible. If you do not have the expression, there will not be any measure.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 14:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2456157#M20661</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2024-05-24T14:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide measure expression input in property panel</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2456884#M20681</link>
      <description>&lt;P&gt;Hi Alex,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we have an extension that, based on other options in the property panel, creates and manages some measures. Our extension's logic requires their expressions to not be edited. So we want to forbid the user doing that for these specific measures.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 09:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2456884#M20681</guid>
      <dc:creator>ohenrichs</dc:creator>
      <dc:date>2024-05-28T09:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide measure expression input in property panel</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2456986#M20687</link>
      <description>&lt;P&gt;I don't know a way for disabling the expression editor in a measure in chart properties panel. that part is designed for enable developers to insert expressions.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 13:36:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2456986#M20687</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2024-05-28T13:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide measure expression input in property panel</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2457297#M20691</link>
      <description>&lt;P&gt;Does that mean that someone else might know or that disabling is impossible? In the latter case I guess I have a feature request&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks anyway for replying!&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 07:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2457297#M20691</guid>
      <dc:creator>ohenrichs</dc:creator>
      <dc:date>2024-05-29T07:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide measure expression input in property panel</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2457315#M20692</link>
      <description>&lt;P&gt;One thing that you can do, is to hide the entire measure using the &lt;A href="https://help.qlik.com/en-US/sense-developer/May2024/Subsystems/APIs/Content/Sense_ClientAPIs/ExtensionAPI/property-definition-string.htm" target="_blank"&gt;show &lt;/A&gt;property.&lt;BR /&gt;To my knowledge, there is no other way of doing what you are trying to do.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 07:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2457315#M20692</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2024-05-29T07:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide measure expression input in property panel</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2457451#M20693</link>
      <description>&lt;P&gt;Thanks for the answer.&lt;/P&gt;
&lt;P&gt;I actually also asked in Qlik's dev slack, someone had an idea that worked.&lt;/P&gt;
&lt;P&gt;The item is called &lt;EM&gt;inlineMeasure&lt;/EM&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;inlineMeasure: {
	show: false
},&lt;/LI-CODE&gt;
&lt;P&gt;This can also be expanded to only work for specific measures:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;inlineMeasure: {
	show: (measure) =&amp;gt; {
		// any rule you come up with
		return measure.props.YOURFIELD === "myDiscriminatingValue";
	}
},&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 12:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-hide-measure-expression-input-in-property-panel/m-p/2457451#M20693</guid>
      <dc:creator>ohenrichs</dc:creator>
      <dc:date>2024-05-29T12:10:45Z</dc:date>
    </item>
  </channel>
</rss>

