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 ListLimited data in form and list moduleLimited data in form and list module
Previous
 
Next
New Post
11/2/2009 1:42 AM
 

  I already do some testing for form and list module, and i'm thinking if i have total 100 records of data, what should i do if I want only authorize user can view all 100 records, but for non authorize user only can view 50 records because the other 50 records is classified for non authorize user?

 

 
New Post
11/2/2009 4:07 AM
 

you may apply a filter like "isPublic or [membership:authorized]"


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/2/2009 4:52 AM
 

Sir Sebastian,

Do you mean i just have to insert  "isPublic or [membership:authorized]"  command in filter statement textbox?

In programming asp.net application, we could add a field in table and use it as flag, then we could make query that won't show records where the flag field is private for non authorize user. 

How to do it with DNN?

 

 
New Post
11/2/2009 7:14 AM
 

sorry, "isPublic" needs to be a boolean in your application, and the filter in FnL configuration needs to be sth like:

[is_Public_UDT_originalValue] = True or [Membership:authorized] = True, though I haven't tested it.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/2/2009 9:59 PM
 

Sir Sebastian,

I have check on "Available Token Help" and "Hidden Column Help" in Search and Filter Options but there's no token or command like u suggest.

Even if I use what u suggest, I still don't understand how could it filter all data rows if there's no column used as filter object or filter category?

Kind regards,

Gunawan Chandra

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListLimited data in form and list moduleLimited data in form and list module


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