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 ListFiltering by Boolean T/F valuesFiltering by Boolean T/F values
Previous
 
Next
New Post
5/4/2017 1:33 PM
 

Hi All,

First of all, I love this module. We are using DNN on an intranet, and this tool has a lot of potential to reorganize a lot of things.

ISSUE

I am trying to filter a list via a True/False check. This is to allow me to create a master list of items, and use the Boolean to filter the results onto three different lists on three different pages:

The three fields are:

Supervisor Guide, Employee Guide, and Clerical Guide - Each has a corresponding field named the same.

So what I have done is, in the filtering statement of the module, I use the following (for the Employee Guide list)

[Employee Guide]='true'

There are several items checked true for this field in my list of 20 or so items. I even looked at all the results in XML, and that field:

<Employee_x0020_Guide_UDT_Original>true</Employee_x0020_Guide_UDT_Original>   <Employee_x0020_Guide_UDT_Caption>true</Employee_x0020_Guide_UDT_Caption>

The Result? Nothing. No results. I did this same thing earlier with text data type (with yes/no as text) and made it work.

Any clues to what I may be doing wrong?

Form and List version: 6.2.0

Thanks in advance.

BB

 

 

 

 
New Post
5/5/2017 10:28 AM
 
Did you try "[Employee Guide]= True" as well?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/9/2017 2:32 PM
 

Thanks for the reply. Much appreciated!

To be systematic, I put in double quotes as you stated. That resulted in this error:
>>
Data Binding Failed. This issue might be caused by an unsupported cast of a data type.
Error Description: Cannot interpret token '"' at position 1.
>>

I then proceeded to single quotes of '[Employee Guide]=true' and got a different error:
>>
Data Binding Failed. This issue might be caused by an unsupported cast of a data type.
Error Description: Filter expression ''[Employee Guide]=True'' does not evaluate to a Boolean term.
>>

I double checked the data in the database and these values appear to be correctly listed as True.

I started looking into Boolean operators but I am rusty and nothing failed to return an error or an empty or full list. No filtering value worked yet.

Thanks again for reviewing this. It seems odd that it doesn't work. Could it be something we failed to include in our install?

Brad Brunfelt

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListFiltering by Boolean T/F valuesFiltering by Boolean T/F values


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