Skip to Content
avatar image
Former Member

How to pass value dynamically ?

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 31, 2017 at 11:48 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 31, 2017 at 12:29 PM

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

    Add comment
    10|10000 characters needed characters exceeded