SAP-samples / btp-side-by-side-extension-learning-journey

Starter Template for the learning journey "Building side-by-side extensions on SAP BTP".
https://learning.sap.com/learning-journey/building-side-by-side-extensions-on-sap-btp
Apache License 2.0
55 stars 53 forks source link

Fiori Elements exercise error with SAPUI5 Flexibility Service / Layered Repository #51

Closed torresbj closed 1 year ago

torresbj commented 1 year ago

Describe the bug The fiori elements page after generation did not load successfully as it's missing a component in the new version of fiori elements generator

To Reproduce Steps to reproduce the behavior:

  1. Go to Open Application Generator and Generate a Fiori Elements List Report page (User Interface and Business Logic -> Generating User Interface -> Step 1
  2. Run cds watch
  3. Click on Web Applications -> /risks/webapp/index.html

Expected behavior Page will load successfully

Actual behavior Page did not load as two services failed

/sap/bc/lrep/flex/settings Cannot GET /sap/bc/lrep/flex/settings

sap/bc/lrep/flex/data/risks?sap-language=EN Cannot GET /sap/bc/lrep/flex/data/risks

Screenshots

image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

torresbj commented 1 year ago

I was able to resolve it by adding data-sap-ui-flexibilityServices='[{"connector": "LocalStorageConnector"}]' in the index.html

image

markushaug commented 1 year ago

Hi,

kindly add your inquiry to our dedicated Learning Community Group. We do not provide support for the exercises on GitHub.

Best Regards, Markus