Attachments in V9
We want to create an Admin Form that will enable users to view the contents of any attachments linked to any folder. I have read through the Designer Guide for v9 but cannot work out how to open/save an attachment that is not directly linked to a folder.
Any help appreciated?
Thanks
Comments
-
You can always retrive file directly from eAttachment table via some simple aspx file.
By the way, eAttachment table is one of the worst table in MBPM
0 -
Thanks Greg - sounds more complex than I thought. We have not done any bespoke aspx - as yet!
Are there any examples available?
0 -
If you look at what's actually happening when you get an attachment in Fiddler, you'll see that the browser is simply calling a handler to get that file. Provided that your end user is privy to the folder (thus any attachments bound to that folder) and you know the folder id and file name (can be gotten from eAttachment table), you should be able to manually build URLs that, when clicked, will open those attachments, ie...
/Metastorm/ReadAttachment.ashx?AttachmentFile=[FILE_NAME]&AttachmentOwner=[FOLDER_ID]&AttachmentType=Folder
You must be logged in and already have access to the folder/attachment. There's no way to get around that unless you go directly to the database and read byte arrays directly.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 152 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories