<?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>Question Re: Create button not visible in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/create-button-not-visible/qaa-p/12538089#M4700422</link>
    <description>&lt;P&gt;please format the annotation so it's better readable.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Feb 2022 19:42:20 GMT</pubDate>
    <dc:creator>gregorw</dc:creator>
    <dc:date>2022-02-21T19:42:20Z</dc:date>
    <item>
      <title>Create button not visible</title>
      <link>https://community.sap.com/t5/technology-q-a/create-button-not-visible/qaq-p/12538088</link>
      <description>&lt;P&gt;I'm trying to add fiori annotations so I can add new countries codes to Countries entity ( from'@sap/cds/common) . &lt;/P&gt;
  &lt;P&gt;Problem is that in Fiori preview I cannot see create button :&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2023815-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;using CatalogService from './cat-service.cds';&lt;/P&gt;annotate CatalogService.Countries with @( Capabilities.InsertRestrictions.Insertable : true, // Object Page Section UI.LineItem : [ { $Type : 'UI.DataField', Label : '{bi18n&amp;gt;objectType}', Value : code, ![@UI.Importance] : #High }, { $Type : 'UI.DataField', Label : '{bi18n&amp;gt;accessoryId}', Value : name, ![@UI.Importance] : #High }
  &lt;BR /&gt; ]);What can I do to enable create button?</description>
      <pubDate>Mon, 21 Feb 2022 16:11:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-button-not-visible/qaq-p/12538088</guid>
      <dc:creator>martag1</dc:creator>
      <dc:date>2022-02-21T16:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create button not visible</title>
      <link>https://community.sap.com/t5/technology-q-a/create-button-not-visible/qaa-p/12538089#M4700422</link>
      <description>&lt;P&gt;please format the annotation so it's better readable.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 19:42:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-button-not-visible/qaa-p/12538089#M4700422</guid>
      <dc:creator>gregorw</dc:creator>
      <dc:date>2022-02-21T19:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create button not visible</title>
      <link>https://community.sap.com/t5/technology-q-a/create-button-not-visible/qaa-p/12538090#M4700423</link>
      <description>&lt;P&gt;using CatalogService from './cat-service.cds';&lt;/P&gt;&lt;P&gt;annotate CatalogService.Countries with @(&lt;/P&gt;&lt;P&gt;  Capabilities.InsertRestrictions.Insertable : true,&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  // Object Page Section&lt;/P&gt;&lt;P&gt;    UI.LineItem : [&lt;/P&gt;&lt;P&gt;      {&lt;/P&gt;&lt;P&gt;        $Type            : 'UI.DataField',&lt;/P&gt;&lt;P&gt;        Label            : '{bi18n&amp;gt;objectType}',&lt;/P&gt;&lt;P&gt;        Value            :  code,&lt;/P&gt;&lt;P&gt;        ![@UI.Importance] : #High&lt;/P&gt;&lt;P&gt;      },&lt;/P&gt;&lt;P&gt;      {&lt;/P&gt;&lt;P&gt;        $Type            : 'UI.DataField',&lt;/P&gt;&lt;P&gt;        Label            : '{bi18n&amp;gt;accessoryId}',&lt;/P&gt;&lt;P&gt;        Value            : name,&lt;/P&gt;&lt;P&gt;        ![@UI.Importance] : #High }&lt;/P&gt;&lt;P&gt;    ]&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 19:47:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-button-not-visible/qaa-p/12538090#M4700423</guid>
      <dc:creator>martag1</dc:creator>
      <dc:date>2022-02-21T19:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create button not visible</title>
      <link>https://community.sap.com/t5/technology-q-a/create-button-not-visible/qaa-p/12538091#M4700424</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;martag1&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;The following thread may help. With OData V4, create button becomes visible only if you enable draft.&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/questions/13503510/cap-nodejs-create-button-missing-in-odata-preview.html"&gt;https://answers.sap.com/questions/13503510/cap-nodejs-create-button-missing-in-odata-preview.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 12:13:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-button-not-visible/qaa-p/12538091#M4700424</guid>
      <dc:creator>MioYasutake</dc:creator>
      <dc:date>2022-02-22T12:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create button not visible</title>
      <link>https://community.sap.com/t5/technology-q-a/create-button-not-visible/qaa-p/12538092#M4700425</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;mioyasutake&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What should I do if I don't need draft functionality ?&lt;/P&gt;&lt;P&gt;Is single key in my entity  required when I enable draft? &lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 13:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-button-not-visible/qaa-p/12538092#M4700425</guid>
      <dc:creator>martag1</dc:creator>
      <dc:date>2022-02-22T13:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create button not visible</title>
      <link>https://community.sap.com/t5/technology-q-a/create-button-not-visible/qaa-p/14051199#M4907554</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Insert the following code in your schema.cds file&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1599241"&gt;@odata&lt;/a&gt;.draft.enabled&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1599241"&gt;@odata&lt;/a&gt;.draft.bypass&lt;BR /&gt;entity entityname {&lt;BR /&gt;fields...&lt;BR /&gt;...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Deploy your code...&lt;BR /&gt;Run...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Mar 2025 08:15:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/create-button-not-visible/qaa-p/14051199#M4907554</guid>
      <dc:creator>msiblyb</dc:creator>
      <dc:date>2025-03-20T08:15:29Z</dc:date>
    </item>
  </channel>
</rss>

