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

Bring2mind Forums

Using DMX vs. FileManager
Last Post 10/24/2007 9:48 AM by Peter Donker. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Laverne Douglas
New Member
New Member
Posts:47


--
10/13/2007 4:22 PM

Peter:

We would like to open up part of our document store to the public, but not in the traditional way. We would use DMX to manage the documents, images and such in the conventional way. We would then like to reference these items from public pages on the web site. When first moving to DMX4 we hoped that Navigate would help that process but it only takes you to the document in DMX.

E.g. On a page in DNN place a reference to a PDF that is stored in DMX. When a user clicks the reference we would like that PDF to launch.

Unfortunately all the files in DMX have been assigned random(?) names and there is no way that I can see to get a reference to the file that was uploaded and the file we would like to view in a reference. I realise that versioning could present a problem, but from what I remember of other document management systems the file name remains consistent for the last version of a document, I am not sure what you do here.

Thanx

Laverne

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
10/13/2007 10:13 PM
Hi Laverne,

There is a perfectly simple way for this. Every document can be addressed through it's 'download link'. This differs slightly from the 'navigate link' which, indeed, brings up the DMX page with the document selected. To see the download link, check what's under the download links on your DMX page. You'll recognize it by the inclusion of '/command/core_download/' in the querystring. The advantage of this slightly elaborate process is that security/versioning/etc is preserved. i.e. you upload a new version and it'll show up on your target page.

Peter
Laverne Douglas
New Member
New Member
Posts:47


--
10/22/2007 8:34 PM

Peter:

In order to get the reference you must:

Click the download and then retreive the download address from the address line,
or
copy the address from the status line in the bottom of the browser,
or
using the navigate command add '&Command=Core_Download' to the end of the address
E.g. .../default.aspx?EntryID=1234&Command=Core_Download.

Each one has its own ackwardness about it, unless I missed something.

Thanx

Laverne

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
10/24/2007 9:48 AM
Hi Laverne,

Yes, this is correct. You can also add 'method=attachment' to be complete.
E.g. .../default.aspx?EntryID=1234&Command=Core_Download&method=attachment
It might look awkward, but it is the only way to assure proper handling of the file (security and any other parameters the admin decides).

Peter
You are not authorized to post a reply.