What do “Key Name for Code” and “Key Name for Value” mean in the “Save LOV Object as Output” option in a dropdown?
These options ensure that the code and value parameters are saved in the selected object. For example, if your entity contains an object like:
{
“ritik”: {
“code”: “”,
“value”: “”
}
}
But if you set “id” as the Key Name for Code and “description” as the Key Name for Value
, then when you select an option from the dropdown, it won’t store the values in “code” and “value”. Instead, it will save the code as 1 in “id” and the value in “description”.
2 Likes