DataEventHandler for Event Type Inserted not triggered on ProjTable


In code that has a DataEventHandler for an insert event on the table ProjTable, the event is not triggered when a new project is created and saved.


This hotfix includes a change that allows developers to write event code for an insert on the table ProjTable. With this hotfix, the developer can use a PreHandlerFor or PostHandlerFor on the ProjTableType class's insert method. The ProjTable table buffer which is being inserted will be accessible from the ProjTableType object. 

For an example, see the code below.

[PostHandlerFor(classStr(ProjTableType), methodStr(ProjTableType, insert))]

public static void ProjTableType_Post_insert(XppPrePostArgs args)


    ProjTableType projTableType =args.getThis() as ProjTableType;

    ProjTable projTable = projTableType.projTable();




More information

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained here in is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Id. de artículo: 4012005 - Última revisión: 01-02-2017 - Revisión: 1