Skip to Content
avatar image
Former Member

How to access request object in Model Provider Class

Dear specialists,

I want to define the data model of my OData service dynamically depending on an URI paramter of my HTTP request. But so far I did not find any possibility to access the request object in the model provider class.

Does anybody has a hint for me?

Many thanks in advance.

Best regards,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 24, 2015 at 11:35 AM

    Hello Zeifang,

    Please check Krishna Kishor Kammaje reply here -> talks about creation of the model dynamically

    Dynamic entitys | SCN



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Ashwin,

      thanks for your reply.

      In the linked discussion it is explained how to dynamically create a data model. But what still is missing for me is the possibility to access the http request, especially the URI parameters.



      And depending on the value of the parameter I want to define the model.