0
/services/data/v45.0/tooling/query?q=select+id,FullName+from+globalvalueset+limit+1

I'm able to fetch the one of the records.

/services/data/v45.0/tooling/query?q=select+id,FullName+from+globalvalueset+Where+FullName='Structure'+limit+1

Error message:

FullName from globalvalueset Where FullName='Structure' limit 1 ^ ERROR at Row:1:Column:46 field 'FullName' can not be filtered in a query call

I only have name to fetch the ID. How do I resolve this error?

1

Looking at the documentation for GlobalValueSet, it seems the field you were actually looking for may be MasterLabel.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.