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

Bring2mind Forums

Accessing File Data from other Modules
Last Post 01/18/2009 11:12 PM by Peter Donker. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
pmarkiewicz
New Member
New Member
Posts:47


--
01/16/2009 6:45 PM

Does the API for DMX provide a means for other modules to access data contained within files that are stored in the repository?  For example, maybe I want to create a module that provides a "DMX FileViewer" to allow a user to select a document and pull the data from that file into that module for parsing.  Is there any documentation about that?  Thanks.

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
01/18/2009 11:12 PM
Hi Patrick,

There are 2 methods that might interest you:

DMX.Common.EntryUtils.SaveEntryToDisk

and

DMX.Business.EntriesController.DownloadEntry

Both return the requested entry. The first write the file to disk, the second to a stream.

Peter

PS Moving the tread to the API forum where it belongs ...
You are not authorized to post a reply.