Xrm.Page.getAttribute(“").getValue()未获取实际值 [英] Xrm.Page.getAttribute("").getValue() don't get actual value

查看:257
本文介绍了Xrm.Page.getAttribute(“").getValue()未获取实际值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在CRM 2011中有一个自定义实体,其中有一个关闭代码"(下拉列表)和解决方案"(多行文本)字段.

I have a custom entity in CRM 2011 with a Closure Code(drop down list) and Solution(multiple lines text) fields.

奇怪的是,正在发生的事情是,下一个句子没有获得实际的字段值:

Is weird what is happening, and this is that the next sentence, is not getting the actual field value:

var detailsSet = Xrm.Page.getAttribute("aux_solution").getValue();

为什么会发生这种情况?

Why this could happen?

推荐答案

如评论中所述,我的问题是该字段未获取实际值,因为重点在于该字段.在解决这些问题之前,请先移至另一个字段,这是我解决的方法.我希望可以帮助某人.

As explained in the comments, my problem was that the field wasn't taking the actual value because the focus was on it. Moving to another field before checking the values is how I solve this. I hope could help someone.

这篇关于Xrm.Page.getAttribute(“").getValue()未获取实际值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆