How to handle the readonly:true field property?

Forum for users and developers of Bullhorn's API service.

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
ganeshprabhu
User
Posts: 12
Joined: Thu Sep 28, 2017 7:34 am

How to handle the readonly:true field property?

Post by ganeshprabhu » Fri Aug 30, 2019 1:05 pm

The field readOnly: true property behave like hide the value in bullhorn CRM UI.
How to handle this API response value for readonly: true property? Either we show the field and not editable (or) We hide from UI?
{
"name": "phone2",
"type": "SCALAR",
"dataType": "String",
"maxLength": 50,
"confidential": false,
"optional": true,
"label": "z- Hidden Field",
"required": false,
"readOnly": true,
"multiValue": false,
"hideFromSearch": false,
"sortOrder": 8050,
"hint": "",
"description": "",
"systemRequired": false
}

danmorris
User
Posts: 3
Joined: Fri Aug 30, 2019 9:58 am

Re: How to handle the readonly:true field property?

Post by danmorris » Tue Sep 03, 2019 7:21 am

Hi ganeshprabhu,

Thanks for posting your query here.

By the looks of things, you're talking about a response given from querying the configuration of a particular Field.

Bar the label of the field, all of these fields are hidden (and therefore not editable) from the front-end UI or accessible only in the Field Mappings menu if the user is an Admin on the CRM.

The readOnly field is referring to whether the particular parent Field you are calling here is editable or not.

I hope this helps - let me know if you need anything else.

Post Reply