<?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>rss.livelink.thread@place:occasion</title>
    <link>https://community.sap.com/t5/sap-community/back-to-basics-with-sap-cloud-application-programming-model-cap-part-17/ec-p/13765230#M604</link>
    <description>&lt;P&gt;Hello DJ,&lt;/P&gt;&lt;P&gt;Thank you for introducing the CDS REPL in this episode. I spent some time playing with it and wanted to share my experience (rather silly mistake &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; ). I am using the 'Reflected Definitions' pattern i.e. to use entity definitions reflected from a service model to construct queries.&lt;/P&gt;&lt;P&gt;Assuming it as just a normal constant, I was using "&lt;FONT face="courier new,courier"&gt;const { lvBooks } = cds.entities('bookshop')&lt;/FONT&gt;", and then my SELECT was always failing.&lt;/P&gt;&lt;P&gt;It took me quite some time to realize that the "variable" name defined using the '&lt;FONT face="courier new,courier"&gt;const&lt;/FONT&gt;' keyword is not just any name, instead it should be the actual name of an "entity" that is exposed in the service; i.e. entity &lt;FONT face="courier new,courier"&gt;Books&lt;/FONT&gt; of the &lt;FONT face="courier new,courier"&gt;bookshop&lt;/FONT&gt; service. Maybe I missed this point during the session, but as you say "errors are our friends" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sudarshan_b_0-1721336349162.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/138599iB502C6129FCEC365/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sudarshan_b_0-1721336349162.png" alt="sudarshan_b_0-1721336349162.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks again for this wonderful series.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2024 21:00:52 GMT</pubDate>
    <dc:creator>sudarshan_b</dc:creator>
    <dc:date>2024-07-18T21:00:52Z</dc:date>
    <item>
      <title>Back to basics with SAP Cloud Application Programming Model (CAP) - part 17</title>
      <link>https://community.sap.com/t5/sap-community/back-to-basics-with-sap-cloud-application-programming-model-cap-part-17/ec-p/13741241#M581</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In this episode we work on the implementation of the handler for our 'on' event, and dig in to some CQL. Everyone welcome, especially beginners, come and join us for friendly chat and curiosity-driven learning-by-doing! &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 16:05:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/sap-community/back-to-basics-with-sap-cloud-application-programming-model-cap-part-17/ec-p/13741241#M581</guid>
      <dc:creator>qmacro</dc:creator>
      <dc:date>2024-06-24T16:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Back to basics with SAP Cloud Application Programming Model (CAP) - part 17</title>
      <link>https://community.sap.com/t5/sap-community/back-to-basics-with-sap-cloud-application-programming-model-cap-part-17/ec-p/13745423#M585</link>
      <description>&lt;UL&gt;&lt;LI&gt;This week's SAP Developer News&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=M2apymZS-Ks" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=M2apymZS-Ks&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;SAP's Open Source Manifesto&amp;nbsp;&lt;A href="https://github.com/SAP/open-source-manifesto" target="_blank" rel="noopener"&gt;https://github.com/SAP/open-source-manifesto&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;(Capire) CQL&amp;nbsp;&lt;A href="https://cap.cloud.sap/docs/cds/cql" target="_blank" rel="noopener"&gt;https://cap.cloud.sap/docs/cds/cql&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Tutorial Navigator&amp;nbsp;&lt;A href="https://developers.sap.com/tutorial-navigator.html" target="_blank" rel="noopener"&gt;https://developers.sap.com/tutorial-navigator.html&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;SAP Developers YouTube channel&amp;nbsp;&lt;A href="https://www.youtube.com/@sapdevs" target="_blank" rel="noopener"&gt;https://www.youtube.com/@sapdevs&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;(Capire) main page&amp;nbsp;&lt;A href="https://cap.cloud.sap/" target="_blank" rel="noopener"&gt;https://cap.cloud.sap/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 28 Jun 2024 08:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/sap-community/back-to-basics-with-sap-cloud-application-programming-model-cap-part-17/ec-p/13745423#M585</guid>
      <dc:creator>qmacro</dc:creator>
      <dc:date>2024-06-28T08:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Back to basics with SAP Cloud Application Programming Model (CAP) - part 17</title>
      <link>https://community.sap.com/t5/sap-community/back-to-basics-with-sap-cloud-application-programming-model-cap-part-17/ec-p/13765230#M604</link>
      <description>&lt;P&gt;Hello DJ,&lt;/P&gt;&lt;P&gt;Thank you for introducing the CDS REPL in this episode. I spent some time playing with it and wanted to share my experience (rather silly mistake &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; ). I am using the 'Reflected Definitions' pattern i.e. to use entity definitions reflected from a service model to construct queries.&lt;/P&gt;&lt;P&gt;Assuming it as just a normal constant, I was using "&lt;FONT face="courier new,courier"&gt;const { lvBooks } = cds.entities('bookshop')&lt;/FONT&gt;", and then my SELECT was always failing.&lt;/P&gt;&lt;P&gt;It took me quite some time to realize that the "variable" name defined using the '&lt;FONT face="courier new,courier"&gt;const&lt;/FONT&gt;' keyword is not just any name, instead it should be the actual name of an "entity" that is exposed in the service; i.e. entity &lt;FONT face="courier new,courier"&gt;Books&lt;/FONT&gt; of the &lt;FONT face="courier new,courier"&gt;bookshop&lt;/FONT&gt; service. Maybe I missed this point during the session, but as you say "errors are our friends" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sudarshan_b_0-1721336349162.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/138599iB502C6129FCEC365/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sudarshan_b_0-1721336349162.png" alt="sudarshan_b_0-1721336349162.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks again for this wonderful series.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 21:00:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/sap-community/back-to-basics-with-sap-cloud-application-programming-model-cap-part-17/ec-p/13765230#M604</guid>
      <dc:creator>sudarshan_b</dc:creator>
      <dc:date>2024-07-18T21:00:52Z</dc:date>
    </item>
  </channel>
</rss>

