<?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 Dynamically Hide a UI element In CDS View based Object Page in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-hide-a-ui-element-in-cds-view-based-object-page/m-p/11573532#M1938248</link>
    <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
  &lt;P&gt; I have an requirement to hide a certain field in the Object Pages app based on CDS views. Although UI annotations like "@UI.hidden" and "@Consumption.hidden:true"are available, These annotations cannot be toggled dynamically based on any conditions. My requirement is to hide the fields in the view if the respective value is blank. Is it possible to dynamically control the field visibility in the front end application level by editing the "annotations.xml" file within the project!! Or an &lt;/P&gt;
  &lt;P&gt;Thanks in Advance,&lt;/P&gt;
  &lt;P&gt;Bince&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2016 15:09:03 GMT</pubDate>
    <dc:creator>former_member182329</dc:creator>
    <dc:date>2016-02-24T15:09:03Z</dc:date>
    <item>
      <title>Dynamically Hide a UI element In CDS View based Object Page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-hide-a-ui-element-in-cds-view-based-object-page/m-p/11573532#M1938248</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
  &lt;P&gt; I have an requirement to hide a certain field in the Object Pages app based on CDS views. Although UI annotations like "@UI.hidden" and "@Consumption.hidden:true"are available, These annotations cannot be toggled dynamically based on any conditions. My requirement is to hide the fields in the view if the respective value is blank. Is it possible to dynamically control the field visibility in the front end application level by editing the "annotations.xml" file within the project!! Or an &lt;/P&gt;
  &lt;P&gt;Thanks in Advance,&lt;/P&gt;
  &lt;P&gt;Bince&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 15:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-hide-a-ui-element-in-cds-view-based-object-page/m-p/11573532#M1938248</guid>
      <dc:creator>former_member182329</dc:creator>
      <dc:date>2016-02-24T15:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Hide a UI element In CDS View based Object Page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-hide-a-ui-element-in-cds-view-based-object-page/m-p/11573533#M1938249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bince,&lt;/P&gt;&lt;P&gt;i dont think that can be accomplished from your CDS view. if you wish to set the visibility on the UI, then i suggest you use the model to show/hide that column on the UI app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 16:40:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-hide-a-ui-element-in-cds-view-based-object-page/m-p/11573533#M1938249</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2016-02-24T16:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Hide a UI element In CDS View based Object Page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-hide-a-ui-element-in-cds-view-based-object-page/m-p/11573534#M1938250</link>
      <description>&lt;P&gt;It is possible : &lt;A href="https://blogs.sap.com/2018/04/22/field-control-feature-in-sap-odata-project/"&gt;https://blogs.sap.com/2018/04/22/field-control-feature-in-sap-odata-project/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 21:54:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-hide-a-ui-element-in-cds-view-based-object-page/m-p/11573534#M1938250</guid>
      <dc:creator>Joseph_BERTHE1</dc:creator>
      <dc:date>2020-02-12T21:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Hide a UI element In CDS View based Object Page</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-hide-a-ui-element-in-cds-view-based-object-page/m-p/11573535#M1938251</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;A lot have changed since the publishing of this thread, but &lt;A href="https://blogs.sap.com/2020/07/23/dynamic-annotation-values-in-abap-cds-view/comment-page-1/#"&gt;this post&lt;/A&gt; may help anyone interested!&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 09:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-hide-a-ui-element-in-cds-view-based-object-page/m-p/11573535#M1938251</guid>
      <dc:creator>GManousaridis</dc:creator>
      <dc:date>2020-07-24T09:43:41Z</dc:date>
    </item>
  </channel>
</rss>

