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 ForumsForm and ListForm and ListSQL syntax for udtSQL syntax for udt
Previous
 
Next
New Post
2/18/2010 5:40 AM
 

Hello,

Enyone know sql syntax for getting data from udt?

 
New Post
2/18/2010 1:23 PM
 
If you search the forum, you will find some examples. FormAndList stores its data as a serialized stream, and it is rendered and filled with context information in code. We usually don't encourage anyone to retrieve data with sql.
 
New Post
2/18/2010 2:00 PM
 

Hi,

Thank you for replaying.

The thing is that I am stack with sorting problem (see my previous post http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/56/threadid/353318/scope/posts/Default.aspx) which is, ironically, only part I am missing to finish website. I spend some time learning FnL and XSLT abut I have to give up if there is no solution to the problem. 

 
New Post
2/19/2010 1:33 AM
 

It's Ok now. current() did the trick.

<xsl:sort select="sum(//udt:Data[udt:Navn=current()/udt:Navn]/udt:Chesscuppoints)" order="descending" data-type="number" />

Thanks for helping me.

 
New Post
2/19/2010 10:40 AM
 
Great. I tried it on my own, but I forgot about the current()-XPath Function. I am glad it works now. Thank you for sharing the solution.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListSQL syntax for udtSQL syntax for udt


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