Skip to main content


Topic Creation & Management

Reformat json append attribute in object

Posted on by 2

Hi all,


Has anyone to reformated json from

"optvalue": "BO",
"opttext": "Belleza Office"
"optvalue": "SO",
"opttext": "Simprug Office"



"0": "Belleza",
"1": "Simprug Office"



in copilot studio formula, without using power automate ?



I have try to use FORALL, but the result is not what i need.

{"0": "Belleza"},


Here the code using FORALL

ForAll(Topic.Var1.DATA, { optvalue :optvalue})


Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…


WarrenBelz Profile Picture

WarrenBelz 137,998

RandyHayes Profile Picture

RandyHayes 76,308

Pstork1 Profile Picture

Pstork1 63,059


Featured topics