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

Re: WebIDE / HAT: Deployment fails when using an OData Service

$
0
0

Hi,

 

I also faced the same issue. I think the manifest.json file is fine, the problem is in .project.json.


This error likely to occur if you are not using Master-Details templates. While updating the Device Configuration on Project Settings file the odata service didn't got set automatically in .project.json for simple templates.


The solution is - Add Odataonfigmanually as follows -


"hybrid": {

    "oDataConfigs": [

      {

        "hybridOdata": {

          "name": "<Data Source as in manifest.jon>",

          "serviceUrl": "https://hcpms-<id>trial.hanatrial.ondemand.com:443/<App ID>/"

        },

        "originOdata": {

          "name": "<Data Source as in manifest.jon>",

          "serviceUrl": "<Service Url>"

        },

        "oDataType": "smpodata",

        "hcpODataUrl": "loggedusershybrid-<id>trial.dispatcher.hanatrial.ondemand.com/<serviceUrl>/"

      }

    ],

    "hatVersion": "1.13.3",

    "appNamespace": "",

    "appname": "",

     .

     .   

}

But you should not get this error with new SAP Web IDE as they have added Odata End Point in Device Configuration.


Thanks and Regards,

Chandan



Viewing all articles
Browse latest Browse all 2756

Trending Articles



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