Best way to delete file entries in Liferay 6.2Best way to delete file entries in Liferay 6.2https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1190295102024-03-29T10:53:45Z2024-03-29T10:53:45ZBest way to delete file entries in Liferay 6.2Sam Colletthttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1190295092020-04-24T18:03:58Z2020-04-24T18:03:58ZI have tried a few methods to delete a file entry in Liferay 6.2, since the file does not exist on disk and I want to tidy up the database. I have tried a few methods, they all remove the entry from the dlfileentry table, but none of the related ones, like dlfileentrymetadata. Looking at the code, it should work, but it doesn't seem to. Am I missing a step? The methods I have tried:<br /><br />DLAppServiceUtil.deleteFileEntry(1234)<br />---<br />DLFileEntryLocalServiceUtil.deleteFileEntry(1234)<br />---<br />DLFileEntry dlFileEntry = DLFileEntryLocalServiceUtil.fetchDLFileEntry(1234)<br />FileEntry fileEntry = new LiferayFileEntry(dlFileEntry)<br />DLAppHelperLocalServiceUtil.deleteFileEntry(fileEntry)<br /><br />These were all done via the script console through the po