Answer the question
In order to leave comments, you need to log in
How to block a field using the REST API?
BX24.callMethod(
"crm.contact.fields",
{},
function(result)
{
if(result.error())
console.error(result.error());
else
console.dir(result.data());
}
);
Answer the question
In order to leave comments, you need to log in
You need to use the crm.lead.userfield.update method to set the EDIT_IN_LIST property to N (disabled) or Y (active). Example (js):
BX24.callMethod(
`crm.${fieldsSet}.userfield.update`,
{
id: id,
fields:
{
'EDIT_IN_LIST': makeEditable
}
},
function(result)
{
if(result.error()){
console.error("ERROR: " + result.error());
}
else
{
console.dir(result.data());
}
}
);
In any way) this is the meaning of the field, that you cannot change it in any way. Most likely, the field has a complex recording logic, and if you just change only it, then everything can break down, so they don’t let you change it directly, and in order to change it, you need to understand how it is formed / recorded and at this stage something to do with it. What field do you want to change?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question