Skip to Content
0
Former Member
Jun 08, 2016 at 01:00 PM

Check the Attachment path before saving

54 Views

Dear All,

I would like to kindly ask you to advise how it is possible to check File extension (the whole path) before the attachment is saved in CRM.

I was going to do that in ZL_GS_CM_ADDDOC_IMPL EH_ONATTACH_BTN. (Component/View BS_CM/AddDoc).

I am able to check e.g. file name - which is free text field. However not sure how to identify the actual file path, or the type of the file. If the extension is e.g. .doc, .exe etc.

Could you please help?

Many thanks!

Honza