简体   繁体   English

如何在主题字段中隐藏主题,就像在 MS Dynamics CRM 2015 中隐藏选项集字段中的项目一样?

[英]How can I hide a subject in subject field, just like hiding an item from optionset field in MS Dynamics CRM 2015?

It is easy to remove an option from an option set.从选项集中删除选项很容易。

 var control = Xrm.Page.ui.controls.get("casetypecode");
 control.removeOption(1);

But, when you try to remove a subject from a subject field, it does not work.但是,当您尝试从主题字段中删除主题时,它不起作用。

This is the type:这是类型:

在此处输入图片说明

This is how it looks when expanded:这是展开时的样子:

在此处输入图片说明 Can anybody help about this?有人可以帮忙吗?

I just don't think that removeOption is going to work the subject field, it isn't an option set field - based on your image it is listed as a lookup.我只是认为removeOption不会在主题字段中起作用,它不是选项集字段 - 根据您的图像,它被列为查找。

Given that subject is a special field, I'm not sure which options are open to you.鉴于该主题是一个特殊领域,我不确定哪些选项对您开放。 If it behaves like a normal lookup you might be able to use the lookup functions to filter the view.如果它的行为类似于正常查找,您也许可以使用查找函数来过滤视图。

Lookup control methods 查找控制方法

暂无
暂无

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

相关问题 隐藏DateTime字段上的日期部分MS Dynamics CRM 2011 - Hide the date part on a DateTime field MS Dynamics CRM 2011 如何在 MS CRM 2015 的 OnChange 中将字段文本值大写? - How can I capitalize field text values at OnChange in MS CRM 2015? Microsoft Dynamics CRM 2015计算字段如何工作? - How the Microsoft Dynamics CRM 2015 Calculated Field works? 如何使用JavaScript清除MS Dynamics CRM 4.0中的“查找”字段 - How to clear Lookup field in MS Dynamics CRM 4.0 using JavaScript FetchXML查询在子网格中返回的Dynamics CRM 2015中的活动记录-主题超链接打开新的活动 - Activity records in Dynamics CRM 2015 returned in subgrid by FetchXML query - Subject hyperlink opens new Activity 如何使用Xrm(Dynamics 365)在主题树中添加新项目 - How to add in the subject tree a new item with Xrm (Dynamics 365) 在查找字段中显示所有值-Dynamics CRM 2015 Web - Show all values in lookup field - Dynamics CRM 2015 Web 我想使用纯Javascript从MS Dynamics CRM Online 2015添加/检索数据 - I want to add/retrieve data from MS Dynamics CRM Online 2015 using pure Javascript 如何在Microsoft dynamics crm 365中通过javascript获取查找字段的值 - How can I get the value of a lookup field by javascript in Microsoft dynamics crm 365 在 Dynamics CRM 中,如何创建一个由 6 个字符随机生成的唯一 GUID 的字段? - In Dynamics CRM, how can I create a field that is a 6-character randomly generated unique GUID?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM