Skip Navigation LinksALVAO 11.0Extension modulesALVAO Asset Management Custom AppsApplicationsApplication Templates Skip Navigation Links.


Application templates

Application templates are ready-made applications that you can use immediately (see Installing an application below), or you can customize them and create your own apps with specific functionality.

Template Description Prequisites
TicketStartTeamsChat.xml Custom request commands to start a chat via Microsoft Teams with a requester, solver, or service team.
The template contains the following types of program extensions: ICommand
SD
CostsCalculation.xml The command will sum the values from the SW Costs and HW Costs custom fields for the request.
To execute the example, it requires adding custom costSW, costHW and costTotal items of type int to the tHdTicketCust table.
The template contains the following types of program extensions: ICommand
SD
MultilingualCommand.xml Example of a multilingual application.
The template contains the following types of program extensions: ICommand
SD
ProblemReporting.xml Using the command in the main menu, the requester can report a problem via the Service Catalog.
The template contains the following types of program extensions: IGeneralCommand
SD
AssignToTester.xml Assign the request to a solver from the Testers group if the request is in the Program Modifications service and in a state with ID 1.
To run the example, a custom solvedInVersion entry of type nvarchar is assumed to be added to the tHdTicketCust table.
The template contains the following types of program extensions: ITicketAutoAction
SD
CreateAnalysis.xml When a new request is created in the Program modifications service, a linked request is also created in the Program modifications/Designs and analyses service to create a design for the created request.
To run the example, a custom createAnalysis entry of type bool is assumed to be added to the tHdTicketCust table.
The template contains the following types of program extensions: ITicketAutoAction
SD
SendMailsAboutNewEvent.xml When an event is created in a request in the Program Modifications service this event is assigned in an email to each service manager, unless they are the author or recipient of the event.
The template contains the following types of program extensions: IActAutoAction
SD
DeclineMessageSendCustomNotification.xml Modifies the notification that a message is rejected because the sender does not have SLA.
The template contains the following types of program extensions: IMailMessageAutoAction
SD
AssignToSolverByEmail.xml When a message is retrieved, the message text for existing requests is examined for a command to pass to the solver ASSIGNTO: solver name. If it does and the solver is found by name, the request is automatically assigned to the solver and the message is not logged in the request log. Otherwise, the message is processed in the standard way.
The template contains the following types of program extensions: IMailMessageAutoAction
SD
OrderAfterApproval.xml When a request is approved in Purchase by all approvers, the request goes into the Order state.
The template contains the following types of program extensions: ITicketApprovalAutoAction
SD
TicketViewKnowledgeArticles.xml A custom request page designed for the solution team with a list of relevant knowledge base articles (assigned to the request service).
The template contains the following types of program extensions: IView
SD
ShowRequesterAddress.xml If the request is in the service and status defined in the described class, the request detail will display a tab with the requester's address (by organization) in the map.

The example works with classes whose libraries are not part of the default CodeExtension_Template.cs file.
These are the WebClient, XmlDocument and StringBuilder classes.
For the correct functionality of the example, the following libraries were added to the beginning of the file: System.Net, System.Xml, System.Text.

The template contains the following types of program extensions: IView
SD
TicketAutoClose.xml Automatically close a resolved request after the deadline for the Requester to reopen the request has passed.
The template contains the following types of program extensions: IPeriodicAction
SD
AutoCloseInactiveTickets.xml The resolved requests are checked to see if they have passed the time limit for the Requester to reopen the request (days) and have the automatic transition to the Closed status turned off. If these requests are not closed within 14 days, they are closed automatically.
The template contains the following types of program extensions: IPeriodicAction
SD
CheckObjectMandatoryProperties.xml Objects that do not have all mandatory properties filled in cannot be moved from the Store to another location in the object tree.
The template contains the following types of program extensions: IObjectMoveAutoAction
AM
SetComputerDetectionProfile.xml When you move a computer out of Storage, the computer is automatically set up with a detection profile named Standard.
The template contains the following types of program extensions: IObjectMoveAutoAction
AM
CheckPhoneNumberFormat.xml Checks the format of the new Phone number property value.
The template contains the following types of program extensions: IObjectPropertyAutoAction
AM
CopyNewPropertyValueToAnotherProperty.xml Writes the new value of the Phone number property to the Phone property of the same object if it is empty.
The template contains the following types of program extensions: IObjectPropertyAutoAction
AM

Application installation

  1. Download the file with the selected template to your computer.
  2. In WebApp - Administration - Applications Use the Import command to import the downloaded file.
  3. Use Edit - Scripts Edit the Settings script according to the instructions therein so that the application settings match your Alvao settings. Save your changes using the Compile and Save command.
  4. Finally, in WebApp - Administration - Applications Use the Allow command to allow the application to run.
Note:
Full backward compatibility of scripts is not guaranteed. It is possible that when upgrading Alvao to the next version, application scripts may need to be updated with templates for the current version of Alvao.

 

Did not find what you were looking for? Ask our technical support team.