在dynamics crm中自定义一个控件
我已经编写了可以让电话通过函数调用拨打号码的代码,这已经完成并除尘了。
我想要实现的是将拨号按钮添加到 Dynamics CRM 表单上的每个电话号码字段。最终,这还可以创建一个新的电话记录,填写基本详细信息,并将其显示给用户输入注释和电话结果,也许还有一些其他工作流程位来安排下一次通话。
我可以在标准表单上放置一个自定义控件来代替标准控件吗?我假设它必须是一个 asp.net 页面的 IFrame,它提取记录 id 和字段名称,查找要在文本框中显示的号码,并将号码传递给 DialNumber 函数。嘿,快点...
我想这不会那么容易...以前有人尝试过吗,过程是什么,有什么问题?
I've written code that can make a phone dial a number from a function call, that's done and dusted.
What I would like to achieve is adding a Dial button to each phone number field on the forms in Dynamics CRM. Eventually this could also create a new phone record fill in the basic details and show it to the user to enter notes and an outcome for the phone call, and perhaps some other workflow bits to schedule the next call.
Can I put a custom control on a standard form in place of the standard control. I'm assuming it would have to be an IFrame to an asp.net page, that pulls in the record id, and the field name, looks up the number to show in a text box, and passes the number to the DialNumber function. Hey presto...
I assume its not going to be that easy... Has anyone tried this before, what's the process, what are the gotchas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我通过在电话字段上放置一些 html(div 和锚点)解决了这个问题。下面的代码在给定字段的文本框末尾放置一个电话图标。
I solved this very problem by putting some html(divs and anchors) over the telephone fields. The below code puts a phone icon on the end of the textbox for the given field.