Skip to Content
0

xsodata services and Fiori CRUD Template

Mar 08, 2017 at 08:04 PM

55

avatar image

Hi,

When trying to run an application build from the Fiori CRUD template that consumes data from HCP based xsodata services, the app fails to load data - ending with 403 errors. If I disable the $batch oData option , the data is retrieved.

Is there any way to resolve this from the xsodata side as the applications work perfectly when for instance accessing data on the odata.org web site. (Northwind Catalog)

Thanks

Andre

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Andre Van Staden Mar 17, 2017 at 12:51 PM
0

Ok solved it in the end .

In the .xsaccess file of your solution, change

"cors" : { "enabled" : false }, to "cors" : { "enabled" : true },

Hope this helps other people that runs into the same error

Share
10 |10000 characters needed characters left characters exceeded