Skip to Content
0
May 16, 2018 at 06:44 AM

Binding table without collection based on id

70 Views

Hello,

I have a servlet from which I get an array of ids in Json model.

[{ID:'1234'},{ID:'5678'}....]

I need to get data from odata service based on these Ids and display in table

The url format is /processes.svc/ProcessInstance(InstanceId= '1234')

There are no collection and other methods implemented for this service. we cannot use filters as well. The only way to access data is using this single link with dynamic InstanceId.

My problem is how do I bind /ProcessInstance(InstanceId= '1234') with instanceid dynamic from the previous json data model.

This below does not work.

{code}

<Table id="idTable" mode="SingleSelectMaster" selectionChange="rowSelect" items="{/ProcessInstance}"> <columns> <Column> <Label text="ID" />

{/code}