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

Bring2mind Forums

Importing docs from another table
Last Post 10/15/2009 6:08 PM by Peter Donker. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Matthew Cushing
New Member
New Member
Posts:46


--
10/15/2009 3:26 PM

 Peter,

I've read through the forums and saw that my question might not be unique, but when I started looking through the tables, I got a bit overwhelmed.

We have an app that stores docs that I want to pull all of the files from and put into DMX.  There are other attributes that I'd love to pull with it like category, but for now I'd settle for a way to import all of the docs into the dmx tables.  Is there a doc I missed in the help dropdown?

I had thought to write a script in C# to download all of the binary data and slap the filename onto them and do it that way, but if I can just pull from that table into the DMX tables, that's a whole lot easier.  

Thanks for any light you can shed on this.

M@

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
10/15/2009 6:08 PM
Hi Matthew,

You'r probably interested in the EntriesController.SimpleUpload method. That allows you to plug a document somewhere in the tree. The permissions are inherited and you get a new ID in return. That ID is your EntryId that you can use in arranging other stuff in the data layer.

Peter
You are not authorized to post a reply.