WVS AfterLoader deleting secondary content
Hi all, we recently implemented the Afterloader as per CS216668 following option 2, its working as expected and copying our additional pdf files to the secondary content of the Drawing. We left the files types as "pdf stp igs dwg"
So midway through the day I start getting calls from people telling me that their step files manually attached as secondary content to an EPMDocument were being deleted after checkin. We have a process whereby we create step files in Creo and save it directly to the EPMDocument, we save them with the naming convention <partnumber>_<version> (we dont publish step files as we often need to select different co-ordinate systems to export)
So it looks like the AfterLoader code is deleting any secondary content which contains the same string of characters in the name as the EPMDocument, for example I have a CAD Part called 1234567.prt and it has secondary content, manually attached, called 1234567_V1.stp, after check in that step file attachment is gone. If I create a step file attachment called 1234567V1.stp, it will not be removed on checkin.
I have the same thing happening with igs and pdf files attached as secondary content with the same number as the EPMDocument.
Has anyone ever experienced this before with the Afterloader and does anyone know what I could modify in the code to alter the behaviour to check if there are actually any additional files to copy to attachments before deleting the existing attachments?
The AfterLoader is great and exactly what our purchasing department wanted as a step imporvement to download drawings, but in its current form it seems I cant have any other attachements without changing their naming convention so they dont get deleted
Thanks

