How to define Actions in LightSwitch ODATA and use them from LightSwitch HTML client -
My first question is on the stack overflow, so apologies if not right from the beginning ...
< P> My question is actually two times:-
Do I define the ODATA functions on the LightSwitch application data service (or any other internal defined data source) service level or entity set / entity level Can i do If so, how do I do this? (I can not find the route information in the application where I can override.)
-
How do I redeem these tasks from the customer's behalf (built-in MS JS object Models in MSL or through Screen / Entity)? Even if LightSwitch could not work / can not work, I would like to know how to consume them on behalf of the client, because we are exposing the external Odata data sources to the customer through LightSwitch (And there are verbs defined in these ODATA sources). I know that I can use Jadata in favor of the customer and can use it to perform actions on the Odita source, but I would like to know whether LightSwitch has built-in support for it.
More information: We are using VS / LS 2013. And Silverlight is not an option, we only use HTML client.
Thank you very much for your support and hints! Regards, Ronald
There is nothing implicit in the light switch that lets you define custom odata actions on the service You have to use standard web functioning like ASP.NET's WebAPI and your favorite javascript audacity library such as Zetaata.
Comments
Post a Comment