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

Bring2mind Forums

How to make a new file type
Last Post 05/12/2010 9:33 PM by Peter Donker. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Bruce M
New Member
New Member
Posts:22


--
05/11/2010 12:03 AM

I've been trying to get several new file type into DMX, using the File Type page under the Admin menu.  I can add all the information about a file type and save it.  It appears in the database table and looks similar to all the other rows in that table.  But displaying the folder where such items exists result in the question mark icon being used instead of my icon.

I have tried clearing the browser cache and I have tried bouncing IIS, but nothing seems to make a difference.  Am I missing the magic words that make it happen?

Bruce

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/11/2010 10:46 AM
Hi Bruce,

Keep in mind that existing content is not "reparsed". So you'll need to run an SQL query to update the data in DMX_Entries. You need to correctly set the EntryType field. You'll find the field OriginalFilename will be of help to determine which records to update.

Peter
Bruce M
New Member
New Member
Posts:22


--
05/11/2010 12:26 PM

Thanks, Peter.  That was the little bit I was missing and the update was simple since we haven't loaded production data yet so I just edited the data in SQL Server management studio.

For a future enhancement, perhaps DMX could ask for confirmation when someone atempts to load a file for which no type has been defined yet.  The message could point out that, if the type is added later then a database query to adjust the entry will be required.  This would give the user a chance to step back and put the file type into DMX before proceeding.

I'm sure there are many more important things to do, but it would be helpful to not inadvertently create a situation where a database adjustment becomes necessary.

Thanks again,

Bruce

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/12/2010 9:33 PM
Hi Bruce,

Good point. I'll make a note of it.

Peter
You are not authorized to post a reply.