Hello @AP_9954922
I believe from the case you raised to PTC Technical Support that your question has been answered with the following details - As you now have the resolution as listed below - please click on 'Accept as Solution':
Would like to inform you again that there is no epic.jar available anymore in release 8.2x. From what I can see com.arbortext.epic is, in AOM jar now, please find the below article for your reference:
https://www.ptc.com/en/support/article/CS278782
However, if you are still curious to find that particular jar, you could look at the release trees to figure out the last version it was supplied with but as I mentioned I think AOM.jar replaces it.
Please be aware that coding a customization as per your requirements would be beyond the scope of standard Technical Support. If you contact a PTC Partner they could give you a quote to create this per your specific requirements. Please see: https://www.ptc.com/en/support/customer-support-guide/guidelines_legal-arbortext/assistance-using-arbortext-products.
There is no method with the name “getFileName()” in the Document interface. That’s the reason this piece of line is not compliable over the console when you are trying to compile the class by adding the aom.jar in your classpath as per your screenshot.
I would recommend you to go through the documentation of org.w3c.dom.Document to see what methods they have and what they return. I’m not an expert on the customization part but you can give it a try with getDocumentURI() shown below:-
Document doc=Application.getActiveDocument();
String filename = doc.getDocumentURI();
For more details on the Document interface. Refer to the documentation<https://docs.oracle.com/javase/6/docs/api/org/w3c/dom/Document.html#getDocumentURI()>.