如何默认 project_id 字段?例如,程序对象有一个字段来获取合作伙伴数据。需要默认为 IBM。
要求:我们有一个项目 id 字段类型,并且需要为其默认一个值。项目 id 指向合作对象,IBM 是有效的合作伙伴数据之一。需要默认 IBM 相同。字段定义如下。当前使用 String 类型,并默认使用 IBM 作为解决方法。
{
"altId": "udf_cdm_provider_name_lov",
"name": "Provider",
"type": "project_id",
"public": true,
"editable": true,
"manage": true,
"archived": true,
"searchable": true,
"filterable": false,
"required": false,
"repeated": false,
"defaultValue": "",
"currencyEditable": false,
"timezoneEditable": false,
"category": "ws-partner",
"displayConfig": {
"overriddenType": "selection_list",
"componentType": "chips",
"position": 1.02,
"namespacesType": "project",
"namespaces": [
{
"label": "/ws/project/ws-partner",
"max_suggestions": 10
}
],
"placeholder": null,
"hint": null,
"help": null
},
"calculationConfig": {
"recalculate": true
},
"ownerCompanyId": "WS-Company_ag5zfndzLWNpc2NvLWRldnIQCxIHQ29tcGFueRih3tgvDA",
"sectionType": "udf_section"
},