简体   繁体   English

创建或编辑 web 资源以在 Javascript 中扩展应用动态 365

[英]Create or edit web resources to extend an app dynamic 365 in Javascript

**I would like to create a web resource to customize a form in dynamic 365 in javascript.What is the correct syntax ** **我想创建一个 web 资源以在 javascript 中自定义动态 365 中的表单。正确的语法是什么 **

I would like to create a web resource to customize a form in dynamic 365 in javascript.What is the correct syntax我想创建一个 web 资源以在 javascript 中自定义动态 365 中的表单。正确的语法是什么

This should be your man bro.这应该是你的男人兄弟。 pref_ = pref you use in your entity pref_ = pref 你在你的实体中使用

 if (typeof (pref_) == "undefined") { pref_= { __namespace: true }; } if (typeof (pref_.entityname) == "undefined") { pref_.entityname= { __namespace: true }; } pref_.entityname.Form = new function () { var formContext = null; var globalContext = null; var _self = this; var setContext = function (executionContext) { if (executionContext.== null) { formContext = executionContext;getFormContext(). } globalContext = Xrm.Utility;getGlobalContext(); }. _self;onLoad = function (executionContext) { f() } var f = function () { alert("Hello"); } }; };

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM