Hi Dojo,
I'm working on a GQI custom operator. But I want to use in the operator a custom text field from the app.
For example "Text input 1" should be passed to the GQI script. But I don't know how I can retrieve it in the script.
How can I achieve it?
Hi Stefan,
As far as I know GQI custom operators only support operations on columns. As a workaround, you could use the concatenate operation to add a column with a custom text:
You can pass the custom text to your custom operator.
In case this workaround does not fit your use case, then you will need to use an ad-hoc data source:
Hope it helps.
Hi Stefan,
Just as an Ad Hoc Data source, a Custom operator can implement the IGQIInputArguments interface in the script. This interface can define which arguments the operator needs to perform its operation. Unfortunately these arguments cannot yet be linked to other data/components in the app when coming from a custom operator. A workaround would be to add the custom operator to an ad hoc data source (as Miguel suggested), which can already have inputs linked to other data.
We have a task on our backlog to implement this feature. We will let you know here when it is ready.

Thanks, looking forward to it!