简体   繁体   English

在新表单完成加载之前输入查找字段无法按预期方式进行-CRM 2011在线

[英]Typing into lookup field before new form finishes loading doesn't work as expected - crm 2011 online

We have a custom entity. 我们有一个自定义实体。 When you create a new instance of this entity, it is defined such that the field that receives the initial focus is a lookup field of type customer. 当您创建此实体的新实例时,将对其进行定义,以使接收初始焦点的字段成为类型为customer的查找字段。

When using outlook client, create a new email, set regarding, custom entity, new and while the new form is loading, if you start typing, various bad things happen including in some instances outlook crashing. 使用Outlook Client时, 创建新的电子邮件,关于自定义实体,新邮件以及在加载新表单时设置的内容,如果您开始键入,则会发生各种不良情况,包括某些情况下Outlook崩溃。

Looking into this, I noticed that if I use the web client and again, custom entity, new and start typing before the new form loads, while I can't crash IE, it doesn't work as expected. 考虑到这一点,我注意到,如果我再次使用Web客户端, 自定义实体,new并在加载新表单之前开始键入内容,尽管我无法使IE崩溃,但它无法按预期工作。 Sometimes it will lose some of typing and other times IE will get confused, spin it's wheels for a bit and eventually come back with some generic error message. 有时它会丢失一些键入内容,而有时IE会感到困惑,将其旋转一下,最终会返回一些通用错误消息。

The problem seems to be when typing into a lookup field before the form has finished loading. 问题似乎出在表单加载完成之前在查找字段中键入内容时。 The incident entity also loads with a lookup field having the focus with the same result. 事件实体还加载了具有相同结果焦点的查找字段。 I've updated outlook and IE with latest patches etc. 我已经用最新的补丁程序等更新了Outlook和IE。

While one obvious answer is to wait for the form to load, I have been tasked with seeing if there is any other way around this. 一个明显的答案是等待表单加载,但我的任务是查看是否还有其他方法可以解决此问题。 Has anyone run into this or have any ideas? 有没有人碰到这个或有任何想法? The only thing I can think of is to add a text field to the entity such that it gets the initial focus and onchange, pretend it is a customer lookup and populate the real field accordingly. 我唯一能想到的就是向实体添加文本字段,以使其获得最初的关注和变更,并假装它是客户查找并相应地填充实际字段。 This seems like an awful hack hence this email asking for ideas! 这似乎是骇人听闻的骇客,因此这封电子邮件要求您提供意见!

MS confirmed that this was a bug and it has been fixed in a subsequent CRM Outlook addin rollup. MS确认这是一个错误,已在随后的CRM Outlook加载项汇总中修复。 Can't remember which one... 不记得那个...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM