我是 JavaScript 和 Dynamics CRM 的新手。我有以下代码:
var analysisCode = Xrm.Page.getAttribute("rf_analysiscode").getValue()[0].entityValues;
作为 的值analysisCode
,我得到以下输出:
{
"rf_name":{"name":"rf_name","value":"ABC"},
"rf_code":{"name":"rf_code","value":"ABC"},
"createdon":{"name":"createdon","value":"24.1.2022 10.39"}
}
但我只想得到 rf_code。我该如何找回它?