Dynamics CRM交换选项列表选项的文本 [英] Dynamics CRM swapping text of a Picklist option

查看:124
本文介绍了Dynamics CRM交换选项列表选项的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个选项列表可以采取行动,希望以两种不同的形式显示不同的文本。我试图使用相同的选项,而不是创建2个不同的选项/值,因为行为完全相同。



表格A - 许可证发放

表格B - 已批准





我提到了



我打算用两个选项添加重复项目,显示/隐藏所需选项&模仿两个选项的行为。任何其他解决方案?

解决方案

仍然不确定CRM在选择后缓存原始文本的位置(除了删除后的文本/值)表单加载选项)。在我的问题中提到了以下解决方法。



添加已批准(1)& 允许发布(2)实体领料单字段中的值。然后在表单加载中删除不必要的值。 (例如已批准 - 在表单A选项列表中删除)



然后处理保存逻辑以假设值相同(1 = 2)。



我愿意接受更好的解决方案。


We have one picklist to take action, want to show different text in 2 different forms. Am trying to use the same option instead of creating 2 different options/values as the behavior is exactly the same.

Form A - Permit Issued
Form B - Approved

I referred this and implemented to remove the option & re-adding with same value but different text. Its displaying as expected but on selection the value reverts to original. I know this is coming from original option-set definition.

At least it should retain the newly added option till I submit right? If Product is refreshing the definition, can we stop it till submission?

Am planning to add duplicate items with both options, show/hide required options & mimic the behavior for both options. Any other solution?

解决方案

Still unsure where CRM is caching the original text to display after selection (apart from text/value after removal of options on form load). Ended up with this below workaround as mentioned in my question.

Added both Approved(1) & Permit Issued(2) values in Entity Picklist field physically. Then on form load removed the unnecessary values. (Ex. Approved - removed in Form A picklist)

Then handled the save logic to assume the values are same (1 = 2).

I am open for any better solutions.

这篇关于Dynamics CRM交换选项列表选项的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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