on 2019 Apr 10 9:04 AM
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
Request clarification before answering.
you should make your import parameter name same as the field name in the entity type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
30 | |
10 | |
8 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.