简体   繁体   English

为Acumatica创建自定义用户控件

[英]Create custom User Control for Acumatica

I am attempting to create a custom User Control that is usable in the Acumatica Framework. 我试图创建在Acumatica框架中可用的自定义用户控件。 Documentation is very limited so I was hoping someone may have some experience/examples of how best to implement? 文档非常有限,所以我希望有人可能有一些最佳实施方式的经验/示例?

It appears possible by creating a WebControl derived from PXWebControl and creating a global JS function with a matching name. 通过创建从PXWebControl派生的WebControl并创建具有匹配名称的全局JS函数,似乎可以实现。

To create a custom User Control in an easy way, you need to: 要以简单的方式创建自定义用户控件,您需要:

  • Open Customization of your project (System - Customization - Customization Project) 打开项目的定制(系统-定制-定制项目)
  • On the left side, you can see your screens in your customization. 在左侧,您可以在自定义中看到屏幕。 Find screen that needs or add needed screen. 查找需要的屏幕或添加所需的屏幕。 Go to the necessary view. 转到必要的视图。
  • Select add controls and add your needed control. 选择添加控件,然后添加所需的控件。

You can see in an image provided below. 您可以在下面提供的图像中看到。

在此处输入图片说明

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

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