Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Design Question - menu of Actions

I need to create a menu of items/actions that administrators can use to manage data.

For example:
delete licenses that have been expired for more than 5 years,
delete audit records for a given time frame,
update statuses based on date, etc.

I would like to centralize these functions to a single location in the COT application. Has anyone found a way to do this they like?

I can create a custom controller and add actions there, but I wondered if there was better approach.

Thanks

John W
1 person has
this question
+1
Reply
  • I implement via controllers/rules in any manner that's convenient, but I organize them by creating and Admin menu with visibility only to Administrators. I then have web pages under Admin with UI to control those functions, whether it's buttons to execute rules that don't demand UI or standard web interfaces. Every app I build has a Admin menu.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • altVader

    Thank for the response. It sounds like I was on the right path. I am curious, how do you get the button to fire the action on a web page?

    I am not very strong with javascript, I will assume that is what you are using.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • I use javascript only for things like data validation that require code to execute without making a round trip to the server. I'm not great at javascript either, but there are so many code examples out there I can usually muscle my way through.

    If I need something where I have total control and the COT interface is more of a burden than a help, I simply add a page via Visual Studio and do everything there. Personally, I still like the aspx model with a clean code behind. In my current project I have all the standard UI in COT and a button in the COT interface (a redirect action on a form) that opens an aspx page, passes data in the querystring or session, and the aspx renders a pdf into its own window. The only downside of this approach is I can't use the COT data objects, but obviously you can do anyting you like with standard .net data objects and securing it is simple enough.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated