File Extension

Certified Senior Developer

Hello Team,

I need to extract the file extension in a string StoneX - Dist. Agreement - XX Draft 12 Dec 2021.docx.

I cannot use the document function to extract the file extension since we have the option to delete/remove the file from repository and this will pop an error "document does not exist".

I'm current using the function getcontentobjectdetailsbyid(todocument(docId)) to extract the name.

Is there an easy way to extract the file using an OOTB function?

Thanks & Regards

Girish Katti

  Discussion posts and replies are publicly visible