How to use Delete helper https://community.intersystems.com/post/deletehelper-class-help-deleting-referenced-persistent-classes
Hi:
I don't understand how to use this open exchange item for auto creating deleting items. I think it assumes knowledge in the steps of how to use it which i don't get.
Added the code into dev on SRFT.Utility.DeleteHelper.OnDeleteSuper and
current class is
{
Property revisionnumber As %String;
Property primarylink As Messages.XML.GenericWif.primarylink;
Property additionalindexes As Messages.XML.GenericWif.additionalindexes;
}
Adding the extends doesn't seem to do anything to super it it would initially say
if say include Ensemble it compiles but see no change and no ondelete generated
Compiling class Messages.XML.GenericWif.fileParametersSynertec
Compiling table Messages_XML_GenericWif.fileParametersSynertec
Compiling routine Messages.XML.GenericWif.fileParametersSynertec.1
Compilation finished successfully in 0.252s.
{
Property revisionNumber As %String;
Property primaryLink As Messages.XML.GenericWif.primarylink;
Property additionalIndexes As Messages.XML.GenericWif.additionalIndexesSynertec;
Storage Default
{
...
}
Calling @Tani Frankel
Hi Mark,
I replied to this back in the original post.
[Thanks @Evgeny Shvarov for the shout out]