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

Using the oData $expand parameter

2 Answers 135 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 03 Apr 2012, 12:37 PM
I am having a great time exploring the Keno UI Controls and framework. I am particularly interested in developing business apps. We have an existing oData Service which I would like to leverage. Can anyone tell me how I can use the $expand parameter to force oData to include a sub-entities in the result from a dataSource.

Thanks

2 Answers, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 04 Apr 2012, 12:58 AM
I've done the following and it works 
                            transport: {
                                read: {
                                    url: "http://localhost:17760/SwitchDataService.svc/UserInstallations",
                                    data: {
                                        expand: "Installation"
                                    }
                                }
beautiful.
0
David Pusch
Top achievements
Rank 1
answered on 27 Jun 2012, 11:02 AM
What does your schema look like?
Tags
Data Source
Asked by
John
Top achievements
Rank 1
Answers by
John
Top achievements
Rank 1
David Pusch
Top achievements
Rank 1
Share this question
or