MSCRM禁用标签页内所有组件
//已经审核的单据禁止修改 if(crmForm.all.new_shzt.DataValue==2){ disableTab(0); } //禁用标签function disableTab(tabInd...
//已经审核的单据禁止修改 if(crmForm.all.new_shzt.DataValue==2){ disableTab(0); } //禁用标签function disableTab(tabInd...
在MSCRM4的项目中,有一个特别的要求,需要把热键ctrl+s屏蔽掉,在onsave事件里添加以下脚本即可,当按下ctrl+s时,直接取消操作。function document.onkeydown() { if (event.ctrlKey == true && event.keyCode == 83) ...
前几篇文章里,介绍了如何在toolbar上面增加按钮,如何去掉详细页上的toolbar上的按钮,如何去掉菜单,如何添加菜单,那要在搜索页grid页上隐藏按钮怎么做呢? 修改_root目录下的HomePage.aspx文件,在<head>之前添加一个onload脚本,先找到要隐藏按钮的ID值,通过下面的函数即可隐藏grid页上的按钮。不同实体grid页上的按钮都可以隐藏的,即使相同...
<SubArea Title="我已完成的任务"Id="nav_task01"Url="/Workplace/home_activities.aspx?type=task&viewid=%7bD70EA66D-4B41-DF11-B3AB-0026182FF465%7d"/> 如下图其中viewid可以用microsoft developer tool找到
onsave 事件里event.returnValue = window.confirm("是否要保存?");
<ImportExportXml version="4.0.0.0" languagecode="1033" generatedBy="OnPremise"><Entities></Entities><Roles></Roles><Workflows></Workflows> <IsvConf...
修改_root/bar_top.aspx文件,在文件末尾添加以下代码,可以达到隐藏菜单的效果。<script type="text/javascript">document.getElementById("mnu_new_activity").style.display="none";document.getElementById("mnu_new_record").style....
///////////////////////////////////隐藏 将现有客户收费单添加到此记录 按钮//////////////////////////////////////////newnewkhjbxxnewkhsfd//客户收费单HideAssociatedViewButtons('new_new_khjbxx_new_khsfd', ['_MBto...
// Create the SecurityPrincipal Object SecurityPrincipal principal = new SecurityPrincipal(); principal.Type = SecurityPrincipalType.User; // P...
一、更改配置文件。ISV路径:ImportExportXml/IsvConfig/configuration/Entities/Entity name="account"/Grid/MenuBar/Buttons在配置文件中添加以下XML代码: <Button Icon="/_imgs/ico_18_debug.gif" Url="/ISV/test.htm" ...