Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Ability to watermark documents
Last Post 11/22/2012 12:23 PM by Peter Donker. 5 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
3i-infotech
New Member
New Member
Posts:11


--
12/12/2011 9:45 AM
Please let us know, Does DMX provide provision to watermark documents with an identification of who downloaded the document, time etc.? We need to enable this watermark ability in DMX. Please provide necessary solution for this.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/14/2011 2:09 PM
This is sepcific to the actual document format. So it is not the domain of DMX, no. I guess you could program something externally which does this for you. In DMX 6 there is now a hook for "after upload" so you could do something like that. But again, it is specific to document format. E.g. not sure how you'd do it for a text file or an XML file.

Peter
optospeed
New Member
New Member
Posts:15


--
04/05/2012 4:42 PM
Peter,
I have the need to do some pre processing on the uploaded files just before they are actually saved in DMX. How could I acheive that?
You are mentioning "a hook for after upload", but do you have any documentation on this? I have searched around the API documentation and forum, but I have found no details on how to use this "hook" in DMX6.
Thanks.
Andrea
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/16/2012 3:31 PM
1. Create a class that inherits from DMX.Framework.IEntryProcessor
2. You will implement a method as follows:
Public Function ProcessEntry(ByVal Entry As EntryInfo, ByVal EventName As String, ByVal Parameters As System.Collections.Specialized.NameValueCollection) As String Implements Framework.IEntryProcessor.ProcessEntry
3. EventName is a string and can be “AfterUpload” and/or “AfterSubmit” (you can see these calls if you have the partial source)
4. The parameters are used to pass in the uploaded file (in the “AfterUpload” event), i.e. Dim uploadedFile As String = Parameters.Item("UploadedFile"). This is a complete path to the uploaded file.
5. You need to register your processor in the DB in the table DMX_Extensions. The ExtensionKey needs to start with “EntryProcessor.” And the ControlToLoad needs to be the full name of your class that you created.
torheskje
New Member
New Member
Posts:17


--
11/21/2012 10:47 PM
We need to change the watermark on downloading documents that are watermarked "Controlled Document" to read "Uncontrolled Document" when they are downloaded from DMX.
I need support for pdf, docx and xlsx files.
We are running dmx version 5.1.3
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
11/22/2012 12:23 PM
You'll want to intervene in the download code. This is also possible in the partial source version (to which you have access I believe). Download.aspx is the code through which all downloads pass. There you'll need to do your magic. Or hire one of our partners to do this for you, of course.

Peter
You are not authorized to post a reply.