
Announcements
I am working with JSON data from a Power Automate Flow that converts XML to JSON. The JSON structure contains an owner field, which sometimes appears as:
This inconsistency causes errors when using ForAll() in Power Apps because Power Apps treats a single object as a record and multiple as a table.
When we try to loop over ParsedData.fieldAudit.employer.ownershipVerification.owner using ForAll(), we get an error if the owner is a single object. PowerApps treats it as a record instead of a table. Set(ParsedData,ParseJSON(JsonString))
Requirement is I wanted to reconstruct the Json for download the json after modification.
Substitute(Substitute("""owner:"" {", """owner:"" {"), "}}}}}}", "}}]}}}}")