Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...bulk page insertbulk page insert
Previous
 
Next
New Post
7/20/2009 6:48 AM
 

Hi all

I'm fairly new to DNN. But, I believe that DNN is a great product and as such I have recommended it to my company to use on a project.

One aspect of this project involves the bulk insert of pages. We have a series of xml files which we need to be transformed using xslt and then inserted into DNN to be seperate pages, each with a HTML module, and the contents of that module being the result of the xml and xslt.

So, firstly, is bulk insertion possible and easy?

And secondly can it be done from C# ( we have a team of devs, but they only code C#).

Thanks and regards,

 
New Post
7/20/2009 7:33 AM
 

 sure you can create a module performing creation of pages and modules according to your requirements - another option would be to use a module, e.g. UserDefinedTable (AKA formAndList in DNN5), which allows to import recordsets and display a list and each record in detail view, including XSL rendering.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/21/2009 4:43 AM
 

Hi  Sebastian

Thanks for your reply.

I was thinking of just creating an .exe as it will only need to run once - assuming it is successful. We just need to rapidly populate the CMS with the page content - so I think a module is not required, as that implies reusablity - not something we need.

So, what I would like to know is what, besides the HTML content, needs to be added to the data base, and where?

Are there exsisting LINQ objects for the DNN database, or should I create my own?

Each page needs only a HTML module. So, from my limited understanding, I will need to have a script that will:

  • Create a new page(tab?)
    • Including title, keywords, permission etc
  • Add a module to that page
    • Including module title, permissions etc
  • Add content to that module
  • Anything else?
 
New Post
7/21/2009 6:31 PM
 

 Magick,

even if you just need to perform it once, you should access DNN via BCL API, calling procedures to add page, add module, add content - otherwise you will miss tables like settings, permissions etc. 

You may also want to check out IWeb using web services (iweb.adefwebserver.com).


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/23/2009 5:34 AM
 

Thanks Sebastian

I am currently looking into the Iweb module.

Do you know where I can find documentation on the BCL API?

Thanks

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...bulk page insertbulk page insert


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out