<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Example "Hide If" Expressions</title><link>https://communities.bentley.com/products/geotechnical1/w/openground-wiki/53835/example-hide-if-expressions</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Example "Hide If" Expressions</title><link>https://communities.bentley.com/products/geotechnical1/w/openground-wiki/53835/example-hide-if-expressions</link><pubDate>Fri, 16 Jul 2021 22:33:04 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a4d5ca01-5e92-4b8f-a620-d3d42d67b8f3</guid><dc:creator>Jesse Greenwald</dc:creator><comments>https://communities.bentley.com/products/geotechnical1/w/openground-wiki/53835/example-hide-if-expressions#comments</comments><description>Current Revision posted to OpenGround Wiki by Jesse Greenwald on 7/16/2021 10:33:04 PM&lt;br /&gt;
&lt;p&gt;The following table contains some example Hide If statements that can be used for Headers in OpenGround Data Collector&lt;/p&gt;
&lt;table style="width:100%;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Header&lt;/td&gt;
&lt;td&gt;Expression&lt;/td&gt;
&lt;td&gt;Result&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sample Diameter&lt;/td&gt;
&lt;td&gt;[Type] &amp;lt;&amp;gt;&amp;#39;U&amp;#39;&lt;/td&gt;
&lt;td&gt;Only show diameter if the type is U&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sample Base&lt;/td&gt;
&lt;td&gt;in ([Type] ,&amp;#39;U&amp;#39;, &amp;#39;P&amp;#39;)&lt;/td&gt;
&lt;td&gt;Hide the base depth if the sample type is U or P&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sample Diameter&lt;/td&gt;
&lt;td&gt;isnull([Type])&lt;/td&gt;
&lt;td&gt;Hide sample diameter if there is no Type defined&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sample Diameter&lt;/td&gt;
&lt;td&gt;not in([Type], &amp;#39;U&amp;#39;, &amp;#39;UF&amp;#39;, &amp;#39;TW&amp;#39;,&amp;#39;TWF&amp;#39;,&amp;#39;P&amp;#39;,&amp;#39;PF&amp;#39;,&amp;#39;U/38&amp;#39;)&lt;/td&gt;
&lt;td&gt;Show the diameter if the Type is U, UF, TW, TWF, P PF or U/38.&amp;nbsp; Note the use of NOT turns the expression from a &amp;ldquo;hide if&amp;rdquo; into a &amp;ldquo;show if&amp;rdquo;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sample Diameter&lt;/td&gt;
&lt;td&gt;&amp;nbsp; isnull([Type]) or not in([Type], &amp;#39;U&amp;#39;, &amp;#39;UF&amp;#39;, &amp;#39;TW&amp;#39;,&amp;#39;TWF&amp;#39;,&amp;#39;P&amp;#39;,&amp;#39;PF&amp;#39;,&amp;#39;U/38&amp;#39;)&lt;/td&gt;
&lt;td&gt;Combine the last two &amp;ndash; Show if the Type is U, UF, TW, TWF, P PF or U/38 and don&amp;rsquo;t show if there is nothing defined. Note: Make sure the isnull() condition is the first condition (known issue).&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Example "Hide If" Expressions</title><link>https://communities.bentley.com/products/geotechnical1/w/openground-wiki/53835/example-hide-if-expressions/revision/1</link><pubDate>Mon, 22 Mar 2021 14:46:34 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a4d5ca01-5e92-4b8f-a620-d3d42d67b8f3</guid><dc:creator>Stephen Evason</dc:creator><comments>https://communities.bentley.com/products/geotechnical1/w/openground-wiki/53835/example-hide-if-expressions#comments</comments><description>Revision 1 posted to OpenGround Wiki by Stephen Evason on 3/22/2021 2:46:34 PM&lt;br /&gt;
&lt;p&gt;The following table contains some example Hide If statements that can be used for Headers in OpenGround Data Collector&lt;/p&gt;
&lt;table style="width:100%;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Header&lt;/td&gt;
&lt;td&gt;Expression&lt;/td&gt;
&lt;td&gt;Result&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sample Diameter&lt;/td&gt;
&lt;td&gt;[Type] &amp;lt;&amp;gt;&amp;#39;U&amp;#39;&lt;/td&gt;
&lt;td&gt;Only show diameter if the type is U&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sample Base&lt;/td&gt;
&lt;td&gt;in ([Type] ,&amp;#39;U&amp;#39;, &amp;#39;P&amp;#39;)&lt;/td&gt;
&lt;td&gt;Hide the base depth if the sample type is U or P&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sample Diameter&lt;/td&gt;
&lt;td&gt;isnull([Type])&lt;/td&gt;
&lt;td&gt;Hide sample diameter if there is no Type defined&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sample Diameter&lt;/td&gt;
&lt;td&gt;not in([Type], &amp;#39;U&amp;#39;, &amp;#39;UF&amp;#39;, &amp;#39;TW&amp;#39;,&amp;#39;TWF&amp;#39;,&amp;#39;P&amp;#39;,&amp;#39;PF&amp;#39;,&amp;#39;U/38&amp;#39;)&lt;/td&gt;
&lt;td&gt;Show the diameter if the Type is U, UF, TW, TWF, P PF or U/38.&amp;nbsp; Note the use of NOT turns the expression from a &amp;ldquo;hide if&amp;rdquo; into a &amp;ldquo;show if&amp;rdquo;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sample Diameter&lt;/td&gt;
&lt;td&gt;&amp;nbsp; isnull([Type]) or not in([Type], &amp;#39;U&amp;#39;, &amp;#39;UF&amp;#39;, &amp;#39;TW&amp;#39;,&amp;#39;TWF&amp;#39;,&amp;#39;P&amp;#39;,&amp;#39;PF&amp;#39;,&amp;#39;U/38&amp;#39;)&lt;/td&gt;
&lt;td&gt;Combine the last two &amp;ndash; Show if the Type is U, UF, TW, TWF, P PF or U/38 and don&amp;rsquo;t show if there is nothing defined.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>