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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventschanging databasechanging database
Previous
 
Next
New Post
1/17/2007 2:56 PM
 
We've got event data in a SQL table other than the native DNN structure.  Is it possible to pull our events directly from there to feed the calendar?
 
New Post
1/17/2007 8:09 PM
 

I would probably need to know more...Are you getting all other DNN data from SQL Server?  DNN has a provider model...I guess you already know that.  You did not say what kind of Database.  If you are using SQL Server for DNN, the most direct way of doing this would be to write a SQL Server DTS package (using ODBC) and load the data into the Event Tables...other than that, I would need to know more.

 
New Post
1/17/2007 8:15 PM
 

mtarby wrote
We've got event data in a SQL table other than the native DNN structure.  Is it possible to pull our events directly from there to feed the calendar?

probably not. There are at least 2 issues:

  1. you would need to make sure that the table definition of your own table is exactly the same as the events module table
  2. as Alan says: dnn uses dataproviders, which are set up in one place, and are used by all modules. You cannot have one module pull data from another database (ofcourse you code that yourself of course)

What i would is the to have the two databases  (DNN and your external event db) "talk" to eachother. You could do that in several ways. You could update the dnn event module tables with your own date by way of a scheduled job in SQL server. You could also build a trigger in your source db that automatically updates your dnn db with any changes in events.


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
1/18/2007 9:43 AM
 

Hi,

I do have same requirement,but i am developing a custom module.I successfully developed the module to work with DNN database,but my actual requirement is that i should get data from other SQL server database.

One way could be ,stick with my already developed module working with DNN tables and update my original custom database table with updations made to Dnn table.

If I made the table in my custom SQL server database similar to DNN table(with additional fields like moduleID etc) ,is it possible to work straightaway(making updations,insertions etc) on my custom SQL Server database?

Please shed some light.

Thanks

Mahesh

 

 

 

 
New Post
1/18/2007 10:58 AM
 
It's fairly straightforward to add SQL Server Triggers to the Table (i.e. On Insert, Update, Delete) to update another table in the Database...
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventschanging databasechanging database


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