Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Is there a way to see the sizes of files within the Folder Contents table itself? Like to have it in between the Version and Last Modified columns?
Solved! Go to Solution.
Hello,
Need to create a custom java DataUtility https://www.ptc.com/en/support/article?n=CS141887&language=en
e.g for data
com/ptc/windchill/enterprise/attachments/validators/AttachmentsValidationHelper.getPrimaryContentItem();
String sizeInKB = DataTypesUtility.toString(appData.getFileSizeKB(), locale);
Hello,
Need to create a custom java DataUtility https://www.ptc.com/en/support/article?n=CS141887&language=en
e.g for data
com/ptc/windchill/enterprise/attachments/validators/AttachmentsValidationHelper.getPrimaryContentItem();
String sizeInKB = DataTypesUtility.toString(appData.getFileSizeKB(), locale);