I am using QGIS actions (type: "open") to link ECM searches to objects on the map.
The basic syntax is very simple:
However, some fields used for the search contain spaces and the system can't handle them. For example, "York" works. "South Hampshire" however doesn't.
Can I somehow mimic the open action with python, and use it to manipulate the value from the field? Like picking the first word before a space and using only that for the search?