Famous first words: I dont know if this is the correct forum. But it's a tough question.
How does the Patch expression look like in this scenario? I even tried to do this with a nested gallery, but it didnt work out
I'm really happy for every help and information :)
I only get an the specified column doesnt exist error.
My goal is here to patch into the correct passage of the JSON which is in a SP-List Column
This is the patch expression, i'm trying to use for my TextInputCanvas1:
Patch(
varPredictResultsCol,
LookUp(varPredictResultsCol, invisible_key_text.Text = ThisItem.key),
{
prediction: [{
result: TexInputCanvas1.Text,
}]
}
)
This is my variable:
Set(
varPredictResultsCol,
Table(
ParseJSON(
Text(
LookUp(
DocExtract_Answers,
documentID = varDocID // this works
).result_prediction_JSON
)
)
)
)
Then i iterate through the Table
ForAll(
varPredictResultsCol,
{
key: Text(Value.key),
prediction: ForAll(
Table(Value.prediction),
{
result: Text(Value.result),
confidence: Value(Value.confidence)
}
)
}
)