cancel
Showing results for 
Search instead for 
Did you mean: 

Binding with Odata Navigation

eyal_alsheikh
Active Participant
0 Kudos

Dear experts,

I have an application with Master/Detail views ( JS views ).

The List in the Master view is bind to an Odata collection named VacReqSet ( vacation request collection):

The ObjectListItem of this list needs to display in its title attribute the employee name

that invoked the vacation request. However, VacReq entity type in the Odata has only

the employee number (pernr) and in order to get the employee name I need to use

the navigation from the VaqRec entity to the Employee entity of the Odata model.

I tried to write the following in order to bind the title using the navigation but it did not work:

When I am using the navigation directly in the web browser address bar it works:

<odata service url>/VacReqSet('1234')/Employee/Ename

I will appreciate your ideas,

Thank you,

Eyal

View Entire Topic
former_member91307
Contributor
0 Kudos

Hi Eyal,

Try

title='Employee/Ename'

Thanks and Regards, Venkatesh

eyal_alsheikh
Active Participant
0 Kudos

Hi Venkatesh,

Unfortunately, when I changed to title='Employee/Ename'

it just display it as a constant text string.


Thanks,

Eyal