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 ForumsXMLXMLHow to Create a consumable XML Document from DNN Based DataHow to Create a consumable XML Document from DNN Based Data
Previous
 
Next
New Post
12/18/2007 7:41 AM
 

Hi,  I have a Form based module storing data in DNN ( its XMod , so it actually stores it's data as XML! ).  Basically, I want to use that data to create input for the XML module, thereby allowing subsets of that data to be viewed across instances & portals.  I'm not a module developer, altyhough I usually can struggle through anything.  I'm hoping someone can point me in the right direction.  Is there a 'cookbook' or an example of a DNN module which creates a  data source suitable for consumption by the XML module?

Thanks

Michael G

 
New Post
12/18/2007 1:36 PM
 

I never worked with XMod, though I bet that you can do all that already within that module.

Does XMod store its data in files? If so, they should be accessible via URL.

 
New Post
1/17/2008 2:28 PM
 

Stefan,

I got sucked away on another project and am only now returning to this.  XMOD stores its data in SQLServer.  It stores a row for each 'form' record filled in, and the data is in XML format.   I want to show various subsets of that data on different pages of another portal.  So, basically I need to figure out how to format that data  within a URL which will return  XML that I can feed into various XML module instances, each one configured to select and style different subsets of the data.  I have two possible approaches, Option 2 being preferable since I'm not an experienced developer :

  1. I can probably write a custom module which reads the database using parameters on the URL : in this case I have to understand how DNN permits me to return an XML document to the requestor from a custom module
  2. I can use an existing 'view' module provided by XMOD called a 'details view' , which allows me present all the data from a single row on a page.  In this case , using 'details view'  I'm again trying to figure out how a DNN page is turned into a document which can be processed by the XML module.  In effect what I would be doing is creating one 'details view' and using the XML module to style and select the data it wanted from the full set of data available.

So, common to either approach try to imaging a situation where one module is installed on a DNN page : I can determine the information contents of that module based on criteria supplied in the URL by the page requestor.  The page requestor is an instance of the XML Module in a different portal -  I'm trying to understand how I can construct the DNN page to make it compatible with  the XML module requesting it. 

Thanks for giving it some thought,

Mike

 
New Post
1/17/2008 6:27 PM
 

You could do 1. with the current internal, private alpha version of the XML module.

If you need a solution only working for yourself, I would go and write a ASP.NET web form returning that XML document . That web form can bypass all the DNN and XMOD stuff and access the database directly.  

 
New Post
4/3/2008 9:30 AM
 

Stefan,

I've come to the conclusion that I should get a custom version of the XML/XSL module which adds 'SQL' as a data source to the two existing ( File/Url ).  Loking at what I have to do overall that seems to be the best way of allowing me to concentrate on one technology (XSLT) to present data from a database.  I have a spec of the customisation ready.  Can you give me any pointers to a possible developer?  - essentially he/she needs to know the existing standard module source code. 

Michael

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLHow to Create a consumable XML Document from DNN Based DataHow to Create a consumable XML Document from DNN Based Data


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