Forums
Hoe can I retrieve an Opportunity using a UDF?
5 months ago by Jeff Brown
I am trying to retrieve an Opportunity using a UDF but I am getting this error:
{
"Code": -1,
"Msg": [
{
"Message": "Query: /Opportunity doesn't support property \"Udf/$NAME(EST-WO #)\" OpportunityObject",
"ErrorCode": 0
}
]
}
My query is:
{
"Opportunity": {
"Scope": {
"Fields": {
"Key": 1
}
},
"Criteria": {
"SearchQuery": {
"Udf/$NAME(EST-WO #)": {
"$LIKE": @{variables('Number')}
}
}
}
},
"Compatibility": {
"AbEntryKey": "2.0"
}
}
