I am trying to create a Modul that helps finding Prices from Vendors over a Api key.
Now i am Stuck because i do not understand how can i set a Text into a Field?
i tried :
prieceField.setText()
or
prieceField = “string”
but with no luck.
In future i would like to convert the json File i get from a Vendor after a request into a Table. But for now i would be happy if i could set a Text in a field.
I played around with that solution, but i has one catch. With this idea i can edit a existing record. But i can not set A Text into Field during the action.
You should not use a form to make search, this is not an intended usage of the form.
Instead you should use a view with a context model like done for Sales → Products (which probably already does what you want).