如何在CRM中的COntact中更新全名 [英] How can I Update fullname in COntact in CRM
问题描述
我想要全名格式,例如标题+名+姓。但是这种类型的格式在系统设置中不可用。因此,我只想更新全名,而不是名或姓。如何实现此要求。
I want format of fullname like Title + First Name + Last Name.but this type of format is not avalilable in System settings.so,I just want to update fullname not first name or last name.How can I achieve this requirements.
推荐答案
答案是您无法更改数据库 CRM定义为选项的格式。但是,您确实有两个选择:
The answer is you can't change the format of full name in the database aside from the formats CRM defines as options. But, you do have two options:
-
创建一个Select插件来更新实体上全名的值(如果如果您使用的是早绑定,则该属性仍将是只读的,但是您可以直接编辑属性集合中的值而不会出现任何问题。)这可能是一个非常糟糕的性能问题,因为选择1000个实体需要运行插件一千次。我可能会推荐下一个选项:
Create a Select plugin that updates the value of the full name on the entity (if you're using early bound, the property will still be read-only, but you can edit the value in the attributes collection directly with no issues.) This could potentially be a really bad performance issue since selecting 1000 entities requires the plugin to run a 1000 times. I'd probably recommend the next option:
创建您自己的字段 new_fullname
。并根据需要设置格式。使用创建/更新插件以及可能通过JavaScript进行设置。然后,它只是更新您的表单,视图以及当前引用全名的所有插件/工作流程。
Create your own field new_fullname
. And make the format whatever you want. Setting it with a Create/update plugin, as well as potentially through the JavaScript. Then it's just updating your forms, views, and any plugins / workflows that currently reference fullname.
这篇关于如何在CRM中的COntact中更新全名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!