为 pages/grids 添加 ImageSet 和图像

Add ImageSet and Images for pages/grids

在 Acumatica 5.1 中是否可以为按钮添加新的图像集和图像?

例如,在我正在处理的自定义应用程序中,我想为显示在网格上方的几个按钮创建一个新图像。

documentation/information 引用了 ImageSets 和 ImageID 的 w/in 集,但没有关于如何创建新集的参考(如果可能的话)

谢谢

我建议您在按钮声明中尝试以下操作:

 public PXAction<PMTask> SyncPMTaskWithJira;
 [PXButton(CommitChanges = true, 
 ImageUrl = "http://i.stack.imgur.com/uIcP0.jpg?s=64&g=1",
 DisabledImageUrl = 
 "https://www.gravatar.com/avatar/1d02905a73147ffff3eb0e953a609abd?s=328&d=identicon&r=PG",
    HoverImageUrl = "http://i.stack.imgur.com/uIcP0.jpg?s=64&g=1")]
    [PXUIField(DisplayName = "Sync With Jira")]
    protected void syncPMTaskWithJira()
    {}