Skip to Content

Data binding issue: in bindaggregation method "nested expand"

Hi All,

I am facing issues in binding data to the UI.

In my code snippet above, I have :

oPhysicianUserListTemplate: template for table,

Path : has the entity Physicians path.

Physicians is associated to PersonDetails and PersonDetailsDetaiils is the navigation property.

PersonDetailsDetaiils has a property "FamilyName" which i want to use in my template.

Also the expand query gives me the below given structure:

{

d:

{

results: [

PatientDetails:{

PersonDetailsDetails: {


"FamilyName": "SomeValue"

}

}

]

}

}

Any help will be highly appreciated.

code.PNG (44.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 07, 2015 at 08:16 PM

    I believe the expanded binding path would be, 'PatientDetails/PersonDetailsDetails/FamilyName'.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 08, 2015 at 03:19 AM

    Hi Priya,

    According to the structure, your expand parameter should be 'PatientDetails/PersonDetailsDetails' but in your code it is 'PersonDetails/PersonDetailsDetails'. ?

    Same binding applies to text control binding as well.


    Regards,

    Sai Vellanki.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.