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...Importing data from another CMSImporting data from another CMS
Previous
 
Next
New Post
1/13/2011 5:23 AM
 
Thanks. Looks good but I'm a bit lost... where do I write this code? In another ASP.net page that runs within the same DNN site I want to update?

The API looks good but I have no idea where to even start using it...

Any chance I can use it from a Windows Forms application? Is it as simple as referencing the API DLL's from my WinForms project? How do I "connect", for lack of a better term, to the DNN portal from within my code?

I'd need to write an "import tool/app" that could be rerun at any stage to import my data from the old proprietary CMS DB to DNN. I read a post somewhere of someone using SSIS to do this but I suspect he used direct DB access instead of the API...
 
New Post
1/13/2011 6:33 PM
 
to use the DotNetNuke API the methods have to run in a DotNetNuke application -typically via a module. You can't use them by default in a windows application as they need a web context (though some people write composite applications e.g. a windows forms app that calls a webservice in a dotnetnuke site e.g. the IWeb project allows you to do this). If you're going to use SSIS it is direct SQL, so the warnings about being aware of what related data to update still applies.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/23/2011 1:26 PM
 
I made an edit to the Wiki page more than ten days ago.  It's still just sitting there, neither approved nor rejected.  So, even though it's a wiki, community input is not really welcome.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
1/23/2011 3:41 PM
 
Hello Richard, on the contrary, we welcome all wiki participation. There is a bug in the current version (resolve in the next release) where moderation mails are not being sent out, so we monitor the "recent changes" queue to allow us to moderate updates, but I never noticed one from you. I've also checked the history of http://www.dotnetnuke.com/Resources/Wiki/tabid/1409/loc/history/Page/Create-a-new-page-programmatically/Default.aspx and there is no pending/rejected page edit - are you sure that this is the page you edited - could you provide me a link to the edit you made?

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/23/2011 3:57 PM
 
Hi Cathal,

Maybe I do not understand how to use it.  I'm looking at...

http://www.dotnetnuke.com/Resources/W...

I've no way of knowing if that URL works for you because I am logged in when I see that.

At the head of the page it says...

"
You are currently editing a previously saved draft of this page, edited by RHowells on 2011/01/12 05:55 PM (View Changes). If you think this content is ready for display, simply unckeck the 'Save as Draft' checkbox near the 'Save' button. Note: drafts are not versioned.
Your changes to this page will be saved in a draft and they will not be published until an editor or administrator approves them.
"

The Save As Draft checkbox is greyed for me; I cannot uncheck it.

Is this what you need?

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Importing data from another CMSImporting data from another CMS


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