Skip to Content

Exposing a View in HCP as an oData service

I'm using a trial account on HANA Cloud Platform, and have created a view that refers to data in an existing table. What am i supposed to enter in my .xsodata file on the HCP Workbench? This is the screen currently:


If i want to expose VIEW1, what should i be doing differently?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 16, 2015 at 08:44 AM

    Hi,

    I can't see your image...

    In your .xsodata file you can put something like this

    service { 

        "schema"."table" as "alias"

            update forbidden 

            delete forbidden;

           

    Kind regards,

    Wouter

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 21, 2015 at 07:13 AM

    Hi,

    You can use something like below to expose your view in .xsodata file:

    service{

    <xxxtrial.file path>::<Calculation View> as "CV" keys ("TEST");

    }

    Thanks

    Arun

    Add comment
    10|10000 characters needed characters exceeded