However, I must move the logic from extension to a C# backend. I found very little documentation, but assume the following code should work.
var app = await location.AppAsync("55d31b81-55c5-4620-95f5-7d4b95faced9"); var date = await app.EvaluateAsync("=GetFieldSelections([Datum performance])"); _output.WriteLine($"GetFieldSelections([Datum performance]) = {date}");
However, this snippet outputs:
GetFieldSelections([Datum performance]) = -
Which means no fields are selected.
Removing the = sign before the expression did not help.