Hi,
I am using a Common Data Service Current Environment Connector. I have a trigger for each time a new lead is created. For the filter on the trigger, I want to get records created by a certain owner. So Filter expression I have:
ownerid eq "guid" where guid is the userid for the user I want to filter for.
The error I get back is:
I figured it out. Don't wrap it in anything.
_ownerid_value eq ec12345-abc134-e1234-789e-e01234b6aa0c1
or whatever your guid is.
I switched to single quotes and got the error:
I still get the same error:
Hi @SeanHenderson ,
I think you may need field name '_ownerid_value' instead as https://docs.microsoft.com/en-us/dynamics365/customer-engagement/web-api/lead?view=dynamics-ce-odata-9.
CDS filter is same as CRM API filter.So you may try using CRM link to test filter first as https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/query-data-web-api#filter-results.
Thanks
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional