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

Bring2mind Forums

Programmatic Archival of Documents
Last Post 06/17/2008 12:19 PM by Peter Donker. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Jason Nissen
New Member
New Member
Posts:1


--
06/15/2008 4:32 PM

I need a solution for archiving documents that reside within DMX. I would like to search through all entries within a portal and those entries that are older than 60days would be moved to an archive folder. Also, the solution will search through the archive folder and delete entries that are older than 6 months. What is the best approach to implementing this solution? Is this something that could be implemented by utlizing the DMX APIs? If so, is there sample code to help me get started?

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
06/17/2008 12:19 PM
There is no API method that does your specific task. You'll need to look at the SQL and find the best way to achieve what you want. Have a look at DMX_Entries and DMX_ShortTexts/LongTexts. You'll quickly see how the data is built up. The field Entry points to the file itself. EntryID is the identifier. CollectionID points to the folder. LastModified is the last date it was touched. FirstUploaded when the file was uploaded.

Peter
You are not authorized to post a reply.