Skip to main content
Nov 13, 2019 8:51 PM UTC
Solved

File Size Column

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?

fivigAnswer
Nov 14, 2019 1:51 PM UTC

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);

 

1 reply

fivigAnswer
Nov 14, 2019 1:51 PM UTC

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);