This is a migrated thread and some comments may be shown as answers.

Live Tile OData Stored Procedure

1 Answer 31 Views
TileList
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 21 Aug 2015, 11:04 PM

I am having a problem getting a Live Tile to access a OData Web Service that return the following when called from a web browser when called with the following URL http://XXX.com/TService1/TileService.svc/GetLiveTileListData?tnMasterID=32

<?xml version="1.0" encoding="UTF-8"?>
-<GetLiveTileListData xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices">
    -<element m:type="OrderPageModel.GetLiveTileListData_Result1">
         <nOrder m:type="Edm.Int32">3</nOrder>
        <nUniverse m:type="Edm.Int32">666</nUniverse>
    </element>
</GetLiveTileListData> 

GetLiveTileListData is a imported stored procedure.

When I use the RadODataSource Configuration wizard nothing appears in the select Model list. If I change the service URL to http://XXX.com/tService1/TileService.svc/ only the Entity's appear, not the stored procedures. 

I have been searching the internet for a way to map the stored procedure to an entity, but have had no success as I am new to the entity Framework and OData.

If you can help or point me in the right direction it would be greatly appreciated.

 

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 28 Aug 2015, 01:40 PM
Hello Steven,

The OData DataService Wizard cannot show the methods that return the result from a stored procedure. Actually, only the Fields for the possible Model to configure can be shown.

To show available data/fields from a specific method, the URL should be updated according to the services' configuration.

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
TileList
Asked by
Steven
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or