Skip Navigation LinksALVAO 10.2Extending modulesALVAO Standard HW/SW Request Forms Skip Navigation Links. Skip Navigation Links Skip Navigation Links.


ALVAO Standard HW/SW Request Forms

The module supports the request process for pre-approved hardware and software.

Computer Requirements

  • ALVAO Asset Management
  • ALVAO Service Desk

Installation

Select the Enter activation key command in the ALVAO WA – Management – License menu and enter the activation key you obtain from your ALVAO system supplier.

On the server where the ALVAO WebApp application is installed, run the AlvaoStandardHWSWRequestForms.msi installation package and follow the Wizard instructions.

Note:
The module is only in Czech language and is not localized into other languages.

Creating the Request for HW Custom Form

Copy the Custom/Templates/StandardHwSwRequestForm/StandardHwSwRequestForm_Hw_NewTicket.cshtml file to the Custom/<functionality_name> folder and the Custom/Templates/StandardHwSwRequestForm/Code/StandardHwSwRequestForm_Hw_NewTicket.cs file to the Custom/<functionality_name>/Code/ folder. You can rename the files but both files (.cshtml and .cs) need to have the same file name.

  1. Replace "Templates.StandardHwSwRequestForm" in the namespace at the beginning of the .cs file with the name of the functionality, i.e. Alvao.ServiceDesk.ServiceDeskWebApp.Custom.<functionality_name>.
  2. If you renamed the .cs file, change the class name (at the beginning of the file next to the class keyword) to <file_name>Controller.
Notification:
The file names of all the forms used have to be unique. If you are using multiple different forms, make sure that the names of the NodeFolderBaseHW structure and the StandardHwSwRequestForm_Hw_NewTicketController class are unique. The names must also be edited in the .cs and .cshtml files.

Devices Provided

First define the list of devices and categories, from which the users can select. We recommend to create "HW" folder in the "Object samples" folder; folders for individual categories in the "HW" folder; and the samples of devices provided will be provided in the categories folders.

E.g.:

  1. [Object samples]
    1. [HW]
      1. [Notebooks ("Folder" kind)]
        1. [Lenovo ("Computer/notebook" type), (Property Users = "Managers")]
        2. [HP ("Computer/notebook" type)(Property Users = "Managers; Directors")]
      2. [PC ("Folder" type)]
        1. [Standard PC ("Computer/desktop" type), (Property Users = "Users")]
      3. [Monitors ("Folder" type)]
        1. [Standard monitor ("Monitor" type), (Property Users = "")]
Note:

For the object displaying in the form (e.g. "Standard PC") we recommend to set the Price property e.g. in the format "10,152". The sum of selected object prices will be shown to the user before submitting the request.

Note:

The "Users" property can contain the name of the user group for which the object should be visible in the form. These are the users for which the devices are intended (the requester of the request can be someone else). If an object does not have this property or the value of the property is empty, the object will be visible to all users. You can specify multiple (semicolon separated) groups. The name of the "Users" property must be set in the code, see userGroupProperty.

Editing the Request for HW Form

You can edit the following variables values in the .cs file in front of the LoadPage() function beginning:

  1. folderName – enter the folder name including the path in the tree, which contains individual categories of the provided devices, e.g. "Object samples/HW."
  2. Tip:

    We recommend to set the folderName variable on the "Object samples" folder or any of its sub-folders ("Object samples/HW").

  3. categoryObjectKind – enter the objects kind representing categories, e.g. "Folder". Sub-object of those categories will be displayed in the form as provided devices. The objects not having the categoryObjectKind kind won't be displayed in the form as object categories (and their sub-objects won't display).
    Notification:
    The user can request any child of the object specified by the folderName and categoryObjectKind variables (i.e. even the object to which he/she wouldn't have access in the Asset Managment tree).
  4. properties – list the properties names you want to be displayed for objects in the form. Separate the individual values by comma, e.g.: "Price, Name."
    Notification:
    You also have to edit the .cshtml file to display the properties. You can access the properties via their names written without diacritics (e.g. "Name").
  5. userGroupProperty – specify the name of the property (e.g. "Users") which determines the name of a user group for objects. The objects are then visible only to the members of that group.
    Note:

    If the value is empty, the objects will be visible to all users.

Tip:

You can edit the objects display and their properties in the .cshtml file. For further information on editing forms see Custom New Request Form.

Displaying the Device Picture in the Form

The form displays the HW pictures loaded form the Custom/images-AM/ folder. Every picture name must be the same as a name of the object found in the Asset Management tree. Therefore, for example, the "PC" object will use the Custom/images-AM/PC.jpg image. If the file does not exist, the picture is not displayed.

Note:

If the object name contains the “+” character, replace the character in the image name in the Custom/images-AM folder by the “plus” word.

Creating the Request for SW Custom Form

Follow the same steps as when creating a custom HW request form, but use the Custom/Templates/StandardHwSwRequestForm/StandardHwSwRequestForm_Sw_NewTicket.cshtml and Custom/Templates/StandardHwSwRequestForm/Code/StandardHwSwRequestForm_Sw_NewTicket.cs files.

The form displays the software products being in the Approved status, please refer to product status.

In this form you can not set displaying pictures for individual products.

Tip:

For further information on editing forms see Custom New Request Form.

Service Settings

In the ALVAO WebApp – Management – Service Desk – Services, create a service (for example, IT/Request for a New HW) which will use the form, or use the existing one. Use one service for every form. Set the form of this service.

  1. In the ALVAO WebApp – Management – Service Desk – Services in the service tree, select the service (IT/Request for a New HW) and use the Edit – Properties command.
  2. Enter the address used by the request form, e.g. ~/Custom/<functionality_name>/<form_name>, in Custom form (URL) in the Service Catalog section.
Note:
If the address starts with http or https, it will be used as is. Otherwise in the beginning is automatically added the path to the ALVAO WebApp application root.

Set the service process. You can use the existing process or create a new one.

Notification:
The status to which it will be changed by creating the request must have no required items.

 

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