<?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: @sap-ux/ui5-middleware-fe-mockserver - getInitialDataSet in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-ux-ui5-middleware-fe-mockserver-getinitialdataset/qaa-p/12790587#M4802203</link>
    <description>&lt;P&gt;I suppose you want to know how to set the parameter contextId.&lt;/P&gt;&lt;P&gt;It is tenantId, set in the url as described &lt;A href="https://github.com/SAP/open-ux-odata/tree/main/packages/ui5-middleware-fe-mockserver#service-configuration"&gt;here&lt;/A&gt;. You have to set the configuration parameter contextBasedIsolation and request data with a path prefix tenant-ddd.&lt;/P&gt;&lt;P&gt;If you can use that to setup different scenarios as you envisage, I don't know. I would be very interested to hear about your experience when you are done.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Aug 2023 09:39:52 GMT</pubDate>
    <dc:creator>Dinu</dc:creator>
    <dc:date>2023-08-08T09:39:52Z</dc:date>
    <item>
      <title>@sap-ux/ui5-middleware-fe-mockserver - getInitialDataSet</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-ux-ui5-middleware-fe-mockserver-getinitialdataset/qaq-p/12790586</link>
      <description>&lt;P&gt;we do our first steps with &lt;STRONG&gt;@sap-ux/ui5-middleware-fe-mockserver&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;we want to use &lt;A rel="nofollow noreferrer" href="https://github.com/SAP/open-ux-odata/blob/main/docs/MockserverAPI.md#getinitialdataset"&gt;getInitialDataSet&lt;/A&gt; method of Mockserver contributor API to distinguish between several scenarios.&lt;BR /&gt;e.g.: Loading data as expected, returning no data, getting an error during initial load&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Three questions:&lt;/STRONG&gt;&lt;BR /&gt;1. How can we debug the method &lt;A rel="nofollow noreferrer" href="https://github.com/SAP/open-ux-odata/blob/main/docs/MockserverAPI.md#getinitialdataset"&gt;getInitialDataSet&lt;/A&gt;?&lt;BR /&gt;2. How can we influence the parameter contextId for the method &lt;A rel="nofollow noreferrer" href="https://github.com/SAP/open-ux-odata/blob/main/docs/MockserverAPI.md#getinitialdataset"&gt;getInitialDataSet&lt;/A&gt; to distinguish between the scenarios&lt;BR /&gt;3. Can we throw an error during the initialDataSet to simulate that the initial loading has an error?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 06:25:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-ux-ui5-middleware-fe-mockserver-getinitialdataset/qaq-p/12790586</guid>
      <dc:creator>Frank-Kohler</dc:creator>
      <dc:date>2023-08-08T06:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: @sap-ux/ui5-middleware-fe-mockserver - getInitialDataSet</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-ux-ui5-middleware-fe-mockserver-getinitialdataset/qaa-p/12790587#M4802203</link>
      <description>&lt;P&gt;I suppose you want to know how to set the parameter contextId.&lt;/P&gt;&lt;P&gt;It is tenantId, set in the url as described &lt;A href="https://github.com/SAP/open-ux-odata/tree/main/packages/ui5-middleware-fe-mockserver#service-configuration"&gt;here&lt;/A&gt;. You have to set the configuration parameter contextBasedIsolation and request data with a path prefix tenant-ddd.&lt;/P&gt;&lt;P&gt;If you can use that to setup different scenarios as you envisage, I don't know. I would be very interested to hear about your experience when you are done.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 09:39:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-ux-ui5-middleware-fe-mockserver-getinitialdataset/qaa-p/12790587#M4802203</guid>
      <dc:creator>Dinu</dc:creator>
      <dc:date>2023-08-08T09:39:52Z</dc:date>
    </item>
  </channel>
</rss>

