on 09-24-2015 11:56 AM
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,
Juergen
Hello Zeifang,
Please check Krishna Kishor Kammaje reply here -> talks about creation of the model dynamically
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Example:
http://[server]/[service]?[parameter=value]
And depending on the value of the parameter I want to define the model.
Thanks.
Regards,
Juergen
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.