Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3022

Re: [WebIDE] SAPUI5 Application with Mock Data

$
0
0

Hi Hendrik,

 

there are a few issues in your flow:

 

1.  you should update line 18 in your metadata.xml. the namespace of the entiryType is missing the "de" in the beginning.

<EntitySet Name="privmailinfoset" EntityType="de.mindsquare.privmailinfo"></EntitySet>

   

you can easily find semantic issues in your metadata by using the OData Model Editor

 

2. The "Local URI" of the Data sources should be:  localService/metadata.xml

 

 

3.  you are missing the model declaration in the manifest.json file. please add the following under "sap.ui5" -> "models"

"": {       "dataSource": "mainService",       "settings": {       "defaultBindingMode": "TwoWay",       "defaultCountMode": "Inline",       "refreshAfterChange": false  }

 

Best regards,

Elina


Viewing all articles
Browse latest Browse all 3022

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>