function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
OTOT 

Accessing Custom Fields via the API

I'm unable to access the data in one of our custom fields in the opportunity table. I submitted a support call over a week ago and I have yet to receive an answer.

I'm using the Query filter VB.NET example, and I've included in the selectlist the name of my custom field.

(SelectList.Add("00N20000000gyne")

Each time I run execute the app, I receive a "bad field name" error. Could this be permission related?

Thanks,

OT

DevAngelDevAngel

Hi OT,

You need to use the custom field name given by the describe call which begins with cf_. 

OTOT

Finally..it works!

Thanks!

OT