Dynamics CRM 2016修改活动视图列表 [英] Dynamics CRM 2016 modify list of activities views

查看:66
本文介绍了Dynamics CRM 2016修改活动视图列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对MS Dynamics非常陌生。我正在使用Dynamics CRM 2016,因此需要在活动页面中删除关于我不使用的实体的视图,例如市场活动响应,市场活动等。

I am very new to MS Dynamics. I am using dynamics CRM 2016 and I need to remove, in the activities page, the views about entities that I am not using such as Campaign Response, Campaign Activity, etc.

我在解决方案中的活动实体的视图列表中没有看到它们,因此我无法从中删除它们,我丢失了什么吗?有没有办法删除这些视图?

I do not see them in the list of views of the Activity entity in my solution, so I cannot remove them from there, am I missing something? Is there a way to remove those views?

推荐答案

有可能。经过三天的研究,我终于找到了解决之道。

Its possible. I found the way to do it finally after just 3 days of research.

在XRM工具包中打开CRM网站(如果没有下载,请下载)
XRM工具包使用url和登录名访问您的组织。假设您具有特权访问权限。
加载所有Web资源并向下滚动以查找 activitypointer_ribbon_home.js。
将以下代码行添加到文件中,最后
保存并发布以使其对所有用户可用。哇....它的工作原理就像是魅力!!!

Open your CRM web in XRM Tool kit (download if not having it) XRM toolkit access your org using url and login. Assuming you have privilege access. Load all web resources and scroll down to find "activitypointer_ribbon_home.js" Add below lines of code into the file, finally Save and publish to make it available for all users. Whoa.. it works like charm !!!

hideactivitiesview() // call under onload of xrm page; comes in default script of this file

function hideactivitiesview()
{
  var viewSelector = $('#crmGrid_SavedNewQuerySelector')[0];
  if(viewSelector)
  {
    $(viewSelector).click(function(){
      var _activity = $('#ViewSelector_activity')[0]; //get this id from DOM using F12
      if(_activity)
        $(_activity).hide();
      
    });
  }
}

这篇关于Dynamics CRM 2016修改活动视图列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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