cancel
Showing results for 
Search instead for 
Did you mean: 

【Fiori element template】How to bind parameter to importFunction(Odata) with UI.DataFieldForAction

683

Hi Everyone,

I used DataFieldForAction to send action to the imported Function in Odata side. However, I cannot send the parameter which I wanted automatically. After clicking the button, the parameter popup appeared that I have to input it manually. What I want is to send the id(such as order ID number) of selected line to the backend side.

Pic①:The function I created in the Odata side.

Pic②:The annotation related to button which is DataFieldForAction.

Pic③:The result is that I have to input the parameter manually but not bind some field automaticlly.

There must be some other annotation configuration should be set but unfortunately I could not find any hint.

Could some one

help me.

Thanks a lot in advance.

Best regards,

Xin

View Entire Topic
zoro823
Member
0 Kudos

you should make your import parameter name same as the field name in the entity type.