Hello,
I've just started out my first project using Dynamic Data and I've been running into a series of problems. Dynamic Data doesn't seem to be swimming in documentation. Anyway, my setup is:
- Visual Studio 2010
- .net 4.0
- Dynamic Data Domain Service Web Application Project Template (I have the RIA Services for ASP .net installed)
- using an Entity Data Model
- using a DomainService class
- ASP .net Membership
There are a couple of things I am trying to achieve:
- I have my scaffolding turned on for all the tables. I am using the RequiresRole attribute in order to restric access to some tables. I have understood how you can create a Custom Page Template for a certain table, no problems there. I would like to be able to use the default PageTemplates for lets say the Administrator role and the Custom Page Templates for another role; the idea would be that the Administrator would be able to edit anything in the DB, but the restricted user would receive a Custom Page with only a few actions available. Long story short: is there a way to access both the standard and custom templates?
- Related to question number 1: Can I have multiple Custom Page Templates for the same table? I saw someone asking