Skip to Content
0

How to pass value dynamically ?

Jan 31, 2017 at 10:10 AM

44

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

VIPLOVE KHUSHALANI Jan 31, 2017 at 11:48 AM
0

Hi Lalitha

Checkout this , you need to create a binding change event and on the event handler in controller you need to get bindings and apply filter to them

thanks

Viplove

Share
10 |10000 characters needed characters left characters exceeded
Jun Wu Jan 31, 2017 at 12:29 PM
0

so far seems not possible. you have to do some coding for that

Share
10 |10000 characters needed characters left characters exceeded