Products

Solutions

Resources

Partners

Community

About

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 ListProfile Property in filter?Profile Property in filter?
Previous
 
Next
New Post
4/27/2016 7:31 PM
 

F n L is a great module and really flexible .. I use it all the time. So now I have a requirement to filter records based on an FnL field = a custom profile property. Seems I can use a profile property [Profile:Whatever] as a default for new records, but it doesn't seem to work in a filter statement or in XSL. I am missing something or is this not at all possible? Thx.

 Trying to do a filter like this [MyCode] = '[Profile:MyCode]'   or in XSL like <xsl:if test="udt:MyCode='[Profile:MyCode]'"> .. some variation of that.

 
New Post
4/29/2016 3:49 AM
 
Kelly O wrote:

F n L is a great module and really flexible .. I use it all the time. So now I have a requirement to filter records based on an FnL field = a custom profile property. Seems I can use a profile property [Profile:Whatever] as a default for new records, but it doesn't seem to work in a filter statement or in XSL. I am missing something or is this not at all possible? Thx.

 Trying to do a filter like this [MyCode] = '[Profile:MyCode]'   or in XSL like .. some variation of that.

 I think you have to use the filed name in xslt when you use the profile property as the default value.

 
New Post
4/29/2016 3:49 AM
 
Kelly O wrote:

F n L is a great module and really flexible .. I use it all the time. So now I have a requirement to filter records based on an FnL field = a custom profile property. Seems I can use a profile property [Profile:Whatever] as a default for new records, but it doesn't seem to work in a filter statement or in XSL. I am missing something or is this not at all possible? Thx.

 Trying to do a filter like this [MyCode] = '[Profile:MyCode]'   or in XSL like .. some variation of that.

 I think you have to use the filed name in xslt when you use the profile property as the default value.

 
New Post
5/3/2016 3:16 PM
 
Kelly O wrote:

F n L is a great module and really flexible .. I use it all the time. So now I have a requirement to filter records based on an FnL field = a custom profile property. Seems I can use a profile property [Profile:Whatever] as a default for new records, but it doesn't seem to work in a filter statement or in XSL. I am missing something or is this not at all possible? Thx.

 Trying to do a filter like this [MyCode] = '[Profile:MyCode]'   or in XSL like .. some variation of that.

Your filter would be:  MyCode='[Profile:MyCode]'

Not seeing it as an option in XSL since the value isn't returned in the XML feed.

 
New Post
5/3/2016 5:27 PM
 
you might try to store the value in a calculated column, which get passed to XML and can be used in your XSL

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListProfile Property in filter?Profile Property in filter?


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