Site
Web
Search
Login
Home
Document Exchange
Features
Extensions
Licensing
Testimonials
Translations
Buy
DMX Extensions
Support
Forums
Downloads
Free Stuff
Translations
Company
Partners
News
Contact
Test
You are here:
Support
/
Forums
Bring2mind Forums
Forums
Search Forum
Search
Advanced Search
Topics
Posts
Unanswered
Active Topics
Forums
>
Document Exchange
>
API
api import
Last Post 07/12/2013 12:24 PM by
Peter Donker
. 2 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
doug
New Member
Posts:6
07/10/2013 10:32 PM
is there an api sample code I can do an import? I am wanting to do 20,000 files with property values by just using the computer script.
i do have the resource files but i am trying to figure out how to use it and where the commands i need are.
Doug
Peter Donker
Veteran Member
Posts:4536
07/12/2013 12:22 PM
There is a bunch of common methods (like AddFolder and AddFile) collected in the class Bring2mind.DNN.Modules.DMX.API in the Core.dll. You could check that out. Note you will need to leverage that from some code that you run while inside DNN. I.e. it needs http context and DNN context to run.
Peter
Peter Donker
Veteran Member
Posts:4536
07/12/2013 12:24 PM
One more note: these methods return the resulting EntryInfo which is the data holder of these items (folder/file). Naming in DMX follows the same naming conventions as DNN. So you should easily find the EntriesController for instance which you can use for more fine grained operations like you'll probably want.
You are not authorized to post a reply.
Document Exchange
--Release Notes for Document Exc...
--Installation and Activation Is...
--User Interface
--Search
--Storage and Security
--WebDAV
--API
Document Exchange Lite
--Installation and Activation Is...
--Search
--Localization
--UI
--Storage and Security
--Extensions and addons
Forums
>
Document Exchange
>
API