Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

control extension file attached

Avatar

Level 4

hello you can check the extension of a file that is attached to a pdf file dynamically and the weight of the file

5 Replies

Avatar

Level 10

Check this thread for filtering the file extension:

http://forums.adobe.com/message/4301237

And this thread has a sample for getting the size:

http://forums.adobe.com/thread/665139

Avatar

Level 4

hi thank you for reply

you can have the control panel attached adobe reader

For example I have to check the file extension entered directly from this panel and their weight

http://imageshack.us/photo/my-images/194/screenshotzxa.png


Avatar

Level 10

As far as I know there is no way to do it from the attachment panel. You have to do it via scripting.

Avatar

Level 4

hello, do you have any example. Could you help me?