Autocomplete: Search over multiple attributes in the same entity

0
Hi, How can I let the autocomplete widget search over more than one attribute within the same entity? At the moment I configured the widget search settings Search – XPath. I can fill in only one attribute to search over.  The intention in my case is, to search over both entity name and entity employeenumber.
asked
2 answers
1

You can use the microflow option for that. In the microflow you can define your own retrieve action. The only thing is that you have to add a searchfield to your entity in order to get the searchvalue into the microflow. (Or you can use a non-persistent object wrapped around it of course).

answered
1

You could create an attribute wich is made from the 2 attributes you need the search on. Like:

Attribute1-attribute2

You can fill that New attribute in a before commit and then set that attribute to search on

answered