Mon, 28 Oct 2013 19:17:48 GMT
LightSwitch is the fastest way to build line of business applications and we have the Apps to prove it! This post is part of a series showcasing the use of LightSwitch in Visual Studio 2013 to build html5 single page applications.
Welcome to the LightSwitch html5 Asset Manager App:
The Asset Manager App is a total equipment management system designed to help organisations with a large number of assets, many of which are supplied by different companies and which need regular preventative maintenance and servicing often by yet another set of companies. The Asset Manager App allows companies to track which assets they own, what the maintenance history is of those assets are, when the next service is due and details of which company provides the service cover, including details of the value of the service contract. The Asset Manager App also provides for email notification to staff who need to be informed whenever the status of an asset changes.
This is a fully featured complete LightSwitch html5 line of business application which you can extend and adapt to your specific needs. The source code is now available priced at just just $9.99. Get your copy now.
The Asset Manager demo can be accessed on windows azure at http://assetmanagerapp.azurewebsites.net/htmlclient/. To get the most out of the demo add yourself to the Employees table once you’ve logged in!
The Asset Manager App Modules includes a Home Page, the Manage Assets Home Page, the Manage Service Contracts Module, the Manage Service Contract Suppliers Module and the Settings Module.
Access is controlled through a log in screen. The administrator uses an associated Silverlight application to configure new users, create roles and permissions for those roles as well as to assign users to roles.
The Home Screen
Access to all the features of the Asset Manager App is from the home page. From here, users can navigate to the ‘Manage Assets Module’, the ‘Manage Service Contracts Module’, the ‘Manage Service Contract Suppliers Module’ and the ‘Settings Module’.
Clicking or tabbing on the Manage Assets button takes the user to the ‘Browse Assets by Asset Type page’. On this page, the user of presenteed with a list of assets types (configured in the settings).
Clicking or tabbing on any of these asset types takes the user to a list of assets of that asset type.
Clicking or tabbing on any asset takes the user to a page for managing that asset. This page provides for full traceability of the asset/equipment across its entire life cycle from purchase to eventual disposal. You can track the purchase details, manufacturer, supplier, current location, service history, service intervals and service contract details. Users can also subscribe to any asset to get an automated email whenever the asset details are updated.
The page is laid out in a series of tabs. The first tab presents key information about the asset/equipment such as its reference number in the asset register, the serial number a description of the asset, a description as well as an option to upload an image of the asset.
Of course the built in LightSwitch validation of required fields and field lengths works great as expected…
…but we’ve also added multi field validation where it makes sense. So you can’t for instance commission an asset before it’s purchase date.
The activities tab is where the full service history of the asset is recorded. The maintenance activity types are configured in the settings by an administrator.
The Schedule tab gives a list of how often various maintenance activity types need to be performed for the asset.
The Contracts gives info on the service contracts that have been negotiated for the asset.
The Capital tab includes capital cost information. Some uses cases may require that you configure permissions so that only permitted users can see this info. That is not built in but should be easy enough to do.
The Subscribers tab allows interested parties to opt into email notification whenever any info on the asset changes. Changes tracked includes updates to the maintenance history.
Here’s an example of what the notification looks like:
Finally a Comments tab allows for an unlimited number of comments to be recorded against an asset.
Manage Service Contracts
Many organisations have to have service contracts in place for the ppm of their assets and equipment for compliance purposes. This is where the Manage Service Contracts module come in handy. To navigate to it, from the Home page, click or tab on the ‘Manage Service Contracts’ icon. This opens the ‘Browse Service Contracts’ page listing all service contracts.
Clicking or tabbing on any of these takes the user to the specific page for that service contract. The page is laid out in two tabs. A details tab and an assets covered tab. The details tab includes information such as the contract start and end dates as well as details of the contract supplier.
The Assets Covered tab lists assets currently covered by the contract…
…as well as allowing the user to add assets from the asset register to the contract.
Manage Service Contract Suppliers
The Asset Manager App includes a page for managing service contract suppliers. Clicking or tabbing on the Manage Service Contract Suppliers icon takes the user to the ‘Browse Contract Suppliers’ page.
Clicking or tabbing on any item takes the user to the details page for that contract supplier. This page is laid out in two tabs. A details tab and a Contracts tab. The details tab allows users to record contractor information such as address and key contact.
The Contracts tab allows users to manage contracts for that supplier.
The Settings Module is the key module used by the administrator and any other users given the right permissions for managing key application reference data. Items managed include Asset Types, Maintenance Types, lists of Asset manufacturers, lists of Asset Suppliers and lists of Employees.
Asset Manager App is a fully featured complete LightSwitch html5 line of business application which you can extend and adapt to your specific needs. This is a fully featured complete LightSwitch html5 line of business application which you can extend and adapt to your specific needs. The source code is now available priced at just just $9.99. Get your copy now.
Don’t forget to try out the demo on windows azure at http://assetmanagerapp.azurewebsites.net/htmlclient/. To get the most out of the demo add yourself to the Employees table once you’ve logged in. Finally please join the conversation by leaving a comment to this post for any suggestions of thoughts.
1 comment(s) so far...
By Delordson on
Tue, 11 Mar 2014 17:00:16 GMT
Re: LightSwitch html5 SPA - Asset Manager App
Thank you very much for your support of these LightSwitch products. You have some great questions there some of which are general to LightSwitch and are best asked over on the LightSwitch forum.
1. How do I change the rights for the users so on can also delete records? - I haven't implemented delete in these Apps as they are meant to serve as quick examples of how to design LightSwitch Apps. There is an example of how to delete here on this LightSwitch Help Website. I'll post the link if I can find it. Otherwise i'm sure you can find some sample code over on the forum.
2. How does does one deploy the app to IIS under Windows 8.1? All publish approaches failed! - I'm not sure of the specifics of deploying to IIS on Win 8.1. I'm sure someone in the forum has already cracked this though.
3. I'd like to add a notification date to the contract part.
3.1 I'd like to get notified by the System (mail) as soon as the date in #3 was hit? - This would be a great feature but not one I have implemented in LightSwitch before. Sorry to keep pointing you to the forum but someone may have already done this.