bind element with Input Field
For a change Request an input field must be added to search view.
I have created this InputField.
And now this Input Field must binded with a Model Nodes Element.
This element(attribute) is neither in the Custom Controllers Context nor in the
View Controllers Context visible.
Can you pls advice how process step by step to create (
insert or add) this element(attribute) into both context (View and Custom Controller)
in order to bind it with above spoken InputField.
Assuming you model node is something like this
request model node
input parameter for the input field
Now, create a value attribute in your Custom Controller named input
map this to the view by providing a link between your view and controller.
Bind this input attribute to your input field.
Now, when you are executing your RFC just before that set this input parmeter
<model name> model = new <model name>();
<request model node> request = new <request model node>(model);
wdContext.node<request model node>().bind(request);
Now execute your RFC.