Skip to content
Discussion options

You must be logged in to vote

I've tried Concat with ForAll I can't tell you how many iterations and it always comes back to either the field (key) is unknown or Value is seen as a Table and it doesn't like that. After trying everything I could find, I finally got it to work using the following: But there has got to be a better way of simply accessing fields in a table/record object as strings than this...
With(
{
keys: ForAll(
Global.ConversationResult.prediction.entities As en,
Concat(
ForAll(
en.extraInformation As ex,
If(
ex.extraInformationKind = "ListKey",
ex.key,
Blank()
)
),
Value,
", "
)
)
},
Concat(
Split(keys, ", "),
Result,
", "
)
)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@rbeste
Comment options

Answer selected by rbeste
@MariaGabrielaMello
Comment options

@rbeste
Comment options

@MariaGabrielaMello
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants