Configuring and adding data to asset custom fields

Lansweeper scans Linux, Unix, Mac and Windows computers, VMware servers and other network devices like printers and switches. Though a wealth of data is scanned and available for viewing, you may at times want to manually add more information to your assets. Your Lansweeper installation includes 20 so-called asset custom fields that are reserved for manual data submission. You can change the display names of these fields to your liking and specify their type. Available types include combo box, currency, date, hyperlink, numeric and more. Asset custom fields are configured globally, meaning that all assets have the same custom fields. Each asset can of course have its own value for each of these fields.

You can fill in the available custom fields for each of your assets by going to the individual asset pages or by using one of the mass editing options. Once a field is filled in for a specific asset, it is displayed in the asset's Summary tab. Empty fields are not displayed.

asset custom fields

To configure and add data to asset custom fields, do the following:

  1. Browse to the following section of the web console: Configuration\Asset Pages
    Asset Pages menu
  2. In the Asset Custom fields section of the page, place your cursor in the Display Name column and submit a display name for the field you want to use. Don't forget to hit Enter while your cursor is still present in the line, to save the change. The display name you've chosen will be used in the Summary tab of assets and certain asset overviews.
    configuring display names of asset custom fields
  3. Optionally, place your cursor in the Info column and submit an informational description for the field. Don't forget to hit Enter while your cursor is still present in the line, to save the change. The description you've chosen will be displayed as a tooltip next to the field in the Summary tab of assets.
    configuring descriptions of asset custom fields
  4. Select the field type from the Type dropdown and, for combo boxes and radiobutton lists, submit the possible field values in the Values column. Values must be separated using commas. Available field types are: combo box (select one from a list of possible values), currency, date, hyperlink, numeric, radiobutton list, textarea (large free-form text field), textbox (small free-form text field), time and yes/no checkbox.
    configuring types of asset custom fields
  5. Make sure the user role of whoever will be filling in asset custom fields includes the Edit Asset Data permission. Users that don't have this permission cannot edit custom field data. A complete guide on configuring web console access can be found in this knowledge base article.
  6. Fill in the custom fields of your assets. There are several ways to do this. You can either:
    - Browse to a specific asset's Lansweeper webpage and, under Asset options on the left, hit the Edit asset button.
    - Click the Assets link at the top of the web console, tick the checkboxes in front of the assets and hit the upper Mass Edit Assets button on the left. This allows you to set the same custom field value for multiple assets at once.
    - Click the Assets link at the top of the web console and hit the lower Mass Edit Assets button on the left. This allows you to place your cursor in the custom field column of the desired asset in the asset list and edit the field value.
    adding data to asset custom fields with Edit Asset
    adding data to asset custom fields with upper Mass Edit Assets
    adding data to asset custom fields with upper Mass Edit Assets
  7. If you ever want to build your own asset custom field report, create a query based on the tblAssetCustom database table. A sample report that lists your assets and their custom field values can be found here in our report center. When building an asset custom field report, it is important to keep in mind that:
    - Asset custom fields retain their original Custom1-Custom20 names within the Lansweeper database, regardless of what you set their display names to in the web console. To assign your preferred display names within a report, use aliases. Do not rename the fields within the database itself, as this will break your installation.
    - Asset custom fields retain their original field type (i.e. text) within the Lansweeper database, regardless of what you set their display type to in the web console. If you want to process custom field data in certain ways, to perform calculations for instance, convert the field values within your report.
    asset custom fields in reports

Related Articles