Dynamics CRM 2011 表单Debug常用命令
2012-06-14 10:52
204 查看
contentIFrame.Xrm.Page.getControl("new_chargegroup_r_pe").getAttribute().getValue()[0].id contentIFrame.Xrm.Page.getControl("new_chargegroup_r_pe").getAttribute().setValue() contentIFrame.Xrm.Page.getControl("new_chargegroup_r_pe").setDisabled(false); contentIFrame.Xrm.Page.getControl("new_chargegroup_r_pe").setDisabled(true); contentIFrame.Xrm.Page.data.entity.getId(); contentIFrame.Xrm.Page.data.entity.getEntityName(); contentIFrame.Xrm.Page.data.entity.save(); 打印lookup控件属性: vartmp=contentIFrame.Xrm.Page.getControl("new_approval_by").getAttribute().getValue()[0]; varmsg=""; for(vartintmp) { msg+=String.format("{0}:{1}",t,tmp[t]) } alert(msg); 打印datatime控件属性: vartmp=contentIFrame.Xrm.Page.getControl("createdon").getAttribute().getValue(); varmsg=""; for(variintmp) { msg+=String.format("{0}:{1}/n",i,tmp[i]); } alert(msg);
抓取高级查找中的layout格式
contentIFrame.document.getElementsByName("LayoutXml")[0].value
显示在插件中抛出调试信息,类似JS中的Debugger命令 System.Diagnostics.Debugger.Launch();
显示系统详细错误
<system.serviceModel>PassingParameterstoHTMLWebResources
<serviceHostingEnvironmentaspNetCompatibilityEnabled="true"/>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceDebugincludeExceptionDetailInFaults="True"/>
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
Parameter | Name | Description |
---|---|---|
typename | EntityName | Thenameoftheentity. |
type | EntityTypeCode | Anintegerthatuniquelyidentifiestheentityinaspecificorganization. |
id | ObjectGUID | TheGUIDthatrepresentsarecord. |
orgname | OrganizationName | Theuniquenameoftheorganization. |
userlcid | UserLanguageCode | Thelanguagecodeidentifierbeingusedbythecurrentuser. |
orglcid | OrganizationLanguageCode | Thelanguagecodeidentifierthatrepresentsthebaselanguagefortheorganization. |
data | OptionalDataParameter | Anoptionalvaluethatmaybepassed. |
formid | FormId | TheGUIDthatrepresentsaformid. |
pagemode | Forinternaluseonly. | |
security | Forinternaluseonly. | |
tabSet | Forinternaluseonly. |
相关文章推荐
- Dynamics CRM 2011 编程系列(11):JS编程之征服表单控件(一)
- Microsoft Dynamics CRM 2011 JS表单计算毛利JS判断
- debug常用的命令
- win7下debug的常用命令
- Dynamics CRM 2011 编程系列(12):JS编程之征服表单控件(二)
- 汇编debug常用命令
- debug常用命令--只总结最常用的,简单明了【原创】
- 如何在Dynamics CRM 2011 的窗体表单上加载报表
- XenServer常用Debug问题的命令介绍!很好很强大!
- 【80x86汇编】Debug.exe程序常用命令
- debug常用命令
- DEBUG常用命令
- Palm应用开发之六 常用命令及debug
- Dynamics CRM2011 同一个FORM表单同一个字段可以摆放多次
- Dynamics CRM 2011中常用的辅助工具
- XenServer常用Debug问题的命令介绍
- Dynamics CRM2011 同一个FORM表单同一个字段可以摆放多次
- debug 常用命令
- 汇编语言debug常用调试 命令详解
- Dynamics CRM2011 同一个FORM表单同一个字段可以摆放多次