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 ListRole based view/rights of a listRole based view/rights of a list
Previous
 
Next
New Post
9/4/2010 8:53 AM
 
Let me start with the usual disclaimer of being new to this...

Ok, that's out of the way.  I have 2 roles, student and instructor.

When they view the same page and form I would like the following to happen:

Student role:
  1. If the student has not submitted the form (the assignment) the list is empty with an option to Add a New Record.
  2. If the student has submitted the form the list shows their name and the date submitted (created by, created at) and changed by, changed at (this will show the student if the instructor has edited/corrected the assignment). The student is able to view but not edit the corrected assignment. The list should not show other students, the student can only view their assignment.
Instructor role:
  1. When the instructor looks at the same page the list will indicate if there are no forms (assignments) submitted.
  2. If one or more students has submitted an assignment, the instructor will see a list with created by, created at, changed by changed at for each student.
  3. The instructor has the rights to update any of the student submitted assignments.
Can this be done without XSL Transformation?

If I must use XSL transformations and since I am new (as of today) with XSL and given my  deadline on this project there are a couple of options.
  • Say thank you for your generosity on sharing the details here.
  • Let's make a deal.  If the price is right this could be a small consulting job.
Thanks,
G. Johll
 
New Post
9/6/2010 3:09 AM
 
You can setup Form & List to restrict it so that a student can only edit their own records, it doesn't appear though that you can restrict the viewing of records to only view their own as well.

So, you can't do it without an XSL script as far as I've been able to test it out.

Can you do it with an XSL file? maybe? not sure how difficult that would be if it is possible.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
9/6/2010 3:56 AM
 
Note: you can restrict viewing to one's own records by applying a filter.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/6/2010 4:09 AM
 
Sebastian Leupold wrote:
Note: you can restrict viewing to one's own records by applying a filter.

 Perhaps you can elaborate on that? 


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
9/6/2010 4:10 AM
 
1) Create a page for the student form and place a new FNL module inside. 
Define your fields, and and choose the form above list configuration.
As Sebastian wrote, you will need to add a filter, e.g. [created at]='[User:UserName]'

If you need further customization of your list, don't be afraid. The build-in generator will assist you, you don't need any XSLT skills for basic layouts.

2) Create a second page for the instructor, and add the existing FnL module to it. Data is shared, though you can apply a totally diferent view.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListRole based view/rights of a listRole based view/rights of a list


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