cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
willick
Level: Powered On

Expected 'indent' or 'colon' in Collect statement

 

I am trying to add to a collection 'cltHousholds' using the code below but keep receiving either 'expected indent' or 'expected colon' error.  What is the editor complaining about?

Collect( cltHousholds, 
{ 
"id": "D131A", "address": "16 HH Dr", "status": 0
} )

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
willick
Level: Powered On

Re: Expected 'indent' or 'colon' in Collect statement

Well the problem was not what I expected but when I removed the quotes from the 'name' elements like so it worked.

 

Collect( cltHousholds, 
{ 
id: "D131A",
address: "16 HH Dr",
status: 0 
}
)

View solution in original post

1 REPLY 1
Highlighted
willick
Level: Powered On

Re: Expected 'indent' or 'colon' in Collect statement

Well the problem was not what I expected but when I removed the quotes from the 'name' elements like so it worked.

 

Collect( cltHousholds, 
{ 
id: "D131A",
address: "16 HH Dr",
status: 0 
}
)

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 87 members 5,058 guests
Please welcome our newest community members: