Search for product in a popup page

Hi, I really want to be able to search for product inside my popup page and then select it, transfer that data to a data view so I can fill in the rest. I tried nesting a data grid into a data view, this works for searching, however I can’t select the product(‘s) to put them in a reference selector. (sort of autofill) I’m getting really frustrated, since I can’t figure it out. I would really appreciate if someone could help me. This is what I currently have, which obviously isn’t working.
1 answers


If I understand what you want to do, I think the nested Datagrid should be contain Artikel objects instead of BestelopdrachtRegel objects.  Once you’ve made that change, you can create a small microflow with two parameters:  Artikel and BestelopdrachtRegel.  In this microflow, you’ll need a change Activity that changes BestelopdrachtRegel and sets the association with the passed in Artikel object.  Finally, place an Action button in the control bar of the datagrid that points to this microflow.

After doing that, when you select a row in the datagrid and click the button, the association will be set.

You could also check out this widget, which provides the ability to set the value of a reference with built in searching:

Hope that helps,