如何添加到自定义图形活动按钮?

How to add to a custom graph activities button?

我按照框架指南创建了自己的 DAC 和 Graph,但我想在屏幕右上角显示 Activities 按钮,如何显示此按钮?有属性吗?还是 dac 上的特殊字段?

您的 DAC 需要一个 NoteID 字段,然后您可以在主视图上设置 ActivityIndi​​cator = True。

解码器

#region NoteID
[PXNote()]
public override Guid? NoteID { get; set; }
public new abstract class noteID : PX.Data.BQL.BqlGuid.Field<noteID> { }
#endregion

自定义项目 - ActivityIndi​​cator