Skip to Content
0
Former Member
Jan 31, 2017 at 10:10 AM

How to pass value dynamically ?

88 Views

Hi All,

I am developing a custom fiori app using standard coding format.

I have a doubt how to pass dynamic values in Odata.

Here's my code:

<List id="Aproval"

items="{path: '/COS_APP_MATSet',

filters : [

{path : 'PfNum',operator : 'EQ',value1:'4045'},

{path : 'Process',operator : 'EQ',value1:'SEP'}

] }">

<items>

<ObjectListItem type="Active">

<firstStatus>

<ObjectStatus text="{Designation}"/>

</firstStatus> <attributes>

<ObjectAttribute text="{Name}" /></attributes>

</ObjectListItem> </items> </List>

Instead of '4045' and 'SEP', I have to pass a variable that changes dynamically.