Private
Update primary display field if casing doesn't match. Update primary display field to the first non OID or GlobalId if the field isn't in the layer.
layer or table from the service
string list of fields names
Update primary display field if casing doesn't match. Update primary display field to the first non OID or GlobalId if the field isn't in the layer.