Status Updates History Datatype - Anything like this exist?
Hey all,
I have a requirement to build a system whereby a user orders something on the site, and the site admins then need to update the status of the order through a predefined list of statuses (eg: order received, processed, in production, ready for dispatch, dispatched, delivered). Each time they update the status, a timestamp needs to be attached to the status upate, and the end user should have the ability to see a list of status updates in their client area of the site.
I think the best way to implement this would be a custom data type. I've never created one before, so have a couple of questions before i start:
1. Does anybody know of a datatype that does something like this, or similar? With source code would be supremo to get me started
2. If i want to provide the ability for administrators to input settings to the data type (eg: list of available statuses to choose from), does this rule out the option of creating the data type using the usercontrol wrapper method?
3. If i implement this using the 3 classes method, would all html that gets rendered need to be generated via a class? This seems quite tedious and majorly complicated to implement, especially for a datatype that will need quite a lot of client side code (multiple fields displaying the status history, a drop down list with available statuses, a date picker to enter a date for the history update, and validation logic to ensure everything meets the business requirements of the status updates). Is this the way most people implement (relatively complex) data types, and if so does anybody have any development tips or advice?
Thanks all, looking forward to getting some great advice from all you friendly Umbraco folks out there... and quite looking forward to making my first data type. I'll happily share it with the community as i think it could be quite a useful one, though i'm surprised i can't find something similar already out there. Maybe i just didnt look hard enough?
Another implementation i'm considering is to use the AutoFolders package, and when a new order is created, a list of sub-nodes are automatically created containing each of the statuses... then the administrator just needs to publish that node for the status to be shown, and the status list rendered via Razor or Xslt. I guess that'd work, interested to hear what you all think would work best (based on previous experience preferably, as both of these approaches are new to me)
Status Updates History Datatype - Anything like this exist?
Hey all,
I have a requirement to build a system whereby a user orders something on the site, and the site admins then need to update the status of the order through a predefined list of statuses (eg: order received, processed, in production, ready for dispatch, dispatched, delivered). Each time they update the status, a timestamp needs to be attached to the status upate, and the end user should have the ability to see a list of status updates in their client area of the site.
I think the best way to implement this would be a custom data type. I've never created one before, so have a couple of questions before i start:
1. Does anybody know of a datatype that does something like this, or similar? With source code would be supremo to get me started
2. If i want to provide the ability for administrators to input settings to the data type (eg: list of available statuses to choose from), does this rule out the option of creating the data type using the usercontrol wrapper method?
3. If i implement this using the 3 classes method, would all html that gets rendered need to be generated via a class? This seems quite tedious and majorly complicated to implement, especially for a datatype that will need quite a lot of client side code (multiple fields displaying the status history, a drop down list with available statuses, a date picker to enter a date for the history update, and validation logic to ensure everything meets the business requirements of the status updates). Is this the way most people implement (relatively complex) data types, and if so does anybody have any development tips or advice?
Thanks all, looking forward to getting some great advice from all you friendly Umbraco folks out there... and quite looking forward to making my first data type. I'll happily share it with the community as i think it could be quite a useful one, though i'm surprised i can't find something similar already out there. Maybe i just didnt look hard enough?
Cheers
Greg
Another implementation i'm considering is to use the AutoFolders package, and when a new order is created, a list of sub-nodes are automatically created containing each of the statuses... then the administrator just needs to publish that node for the status to be shown, and the status list rendered via Razor or Xslt. I guess that'd work, interested to hear what you all think would work best (based on previous experience preferably, as both of these approaches are new to me)
is working on a reply...