金蝶云苍穹HelloWorld案例
原创约 372 字大约 1 分钟...
17-金蝶云苍穹HelloWorld案例.md
注意
本博文仅供学术研究和交流参考,严禁将其用于商业用途。如因违规使用产生的任何法律问题,使用者需自行负责。
新建动态表单页面
在确保启动并登录云苍穹成功后,在开发平台中新建云和应用后,点击创建页面按钮,创建动态表单。










新建动态脚本插件
可以在页面上点击插件按钮然后进入KDE插件开发平台,也有其他路径进入,详细请参考动态脚本章节。









脚本示例
var plugin = new FormPlugin({
//处理点击事件
click : function(e){
var key = e.getSource().getKey();
if("btnok"==key){
//获取当前文本框的值
var text = this.getModel().getValue("textfield");
//弹出当前文本框的值
this.getView().showMessage(text);
}
},
//给确定按钮增加点击监听
registerListener : function(e){
this.addClickListeners("btnok");
},
});
注册动态脚本插件并预览结果
动态脚本插件开发完后,回到表单页面进行插件注册。






分割线
相关信息
以上就是我关于 金蝶云苍穹HelloWorld案例 知识点整理与总结的全部内容,希望对你有帮助。。。。。。。
Powered by Waline v2.15.4