Skip to content

Location Management

With location management you map the locations of your company as a tree, for example sites, buildings, floors and rooms, and assign each asset to its location. You find the locations in the navigation tree under Asset Management > Locations. Each location is a node of its own and shows the assets at that location and at its sub-locations.

Concept

Location management follows a few rules:

  • Free tree: You decide how many levels there are and what they are called. Site > Building > Floor > Room is common, but Country > City or Warehouse > Shelf > Compartment work just as well. The levels may differ in depth from branch to branch.
  • Assets are assigned to locations without sub-locations: An asset is assigned to a room, not to the building. The building still shows all assets of its rooms, because every location shows the assets of its whole subtree.
  • Location types: Each location can have a type, for example Site, Building or Room. A type can bring an image that the location shows in the tree.
  • Location data: For each location you can store a description, a code, the address, a cost center and a responsible user.
  • Unique names per level: Below the same parent location, each name may occur only once. Rooms of the same name in different buildings are no problem, they differ by their path, for example Munich > Building A > 2nd floor > Room 2.14.

Archived assets keep their location, but they do not appear in the location views, only under Archived Assets. They still count for the rules above. Messages and confirmations therefore state the number of archived assets if any are affected.

Info

The existing property Location and custom properties such as Custom.Location stay as they are. They are free text and are not transferred to location management automatically. The section Switching from existing location data describes how to take over existing values.

If no asset has a value in Location, the Custom Properties widget and the Web Viewer do not offer the property. If one asset has a value, the field appears for all hardware assets. This is checked once at startup: in the Management Center when the program starts, in the Web Viewer when the website starts. The field always stays available in queries, in the data import, in PowerShell and in the Web API.

Creating and Maintaining Locations

When you select the Locations node or a location, the ribbon menu offers the actions for creating locations and the location types:

The structure of the locations is maintained by administrators and, below a location shared with them, by users for whom the role Power User applies there (see Permissions).

Creating a Single Location

Select the Locations node or the location below which the new location should be created, and choose New Location in the ribbon menu. In the dialog that follows, enter the name and choose the location type.

  • The name must be unique on this level.
  • LOGINventory suggests the type that most locations on this level have, for example Room below a floor with rooms. If they have no type yet, the field shows the type chosen last until you close the program.

If assets are already assigned to the selected location, LOGINventory asks first: the assets move to the new sub-location, because assets can only be assigned to locations without sub-locations. If you decline, no sub-location is created.

Creating a Series

For many similar locations, such as the rooms of a floor, choose Create Series. Enter the first and the last name of the series. LOGINventory shows below which locations will be created.

  • The two names may only differ in the number or the letter at the end, for example Room 1.01 to Room 1.20 or Compartment A to Compartment F.
  • Leading zeros are kept: Room 1.01 to Room 1.20 results in Room 1.01, Room 1.02 and so on.
  • A series comprises at most 1,000 locations.
  • In the field Location type you choose the type for all new locations. LOGINventory suggests the type chosen last until you close the program.
  • No series can be created below a location to which assets are assigned. Assign the assets to another location first, or create a single sub-location first, which takes over the assets.

Pasting Locations

You take over an existing list, for example from Excel, with Paste Locations. Copy the list to the clipboard, select the node below which the locations should be created, and choose Paste Locations. LOGINventory recognizes three forms. Each of the three examples below results in the same tree.

Indented list: Each line is a location, the indentation with tabs or spaces determines the level.

Nuremberg
    Office building
        Ground floor
            Reception
            Meeting room
        1st floor
            Room 1.01
            Room 1.02
    Warehouse

One column per level: Lines from Excel with site, building, floor and room in adjacent columns. Empty cells at the beginning of a line take the value of the line above. A line ends at the first empty cell to the right of the last value.

A B C D
Nuremberg Office building Ground floor Reception
Meeting room
1st floor Room 1.01
Room 1.02
Warehouse

Paths: Each line contains the whole path, the levels separated by a slash.

Nuremberg/Office building/Ground floor/Reception
Nuremberg/Office building/Ground floor/Meeting room
Nuremberg/Office building/1st floor/Room 1.01
Nuremberg/Office building/1st floor/Room 1.02
Nuremberg/Warehouse

Before creating the locations, LOGINventory shows how many locations will be created and offers a location type for each level. Level 1 is directly below the selected node.

  • If a location of the same name already exists at the same place, it stays unchanged, and the lines below it are created inside it. So a list can be pasted several times without creating duplicate locations.
  • The dialog only shows levels on which new locations are created.
  • LOGINventory merges identical names below the same parent location.
  • As with a series, no locations can be pasted below a location with assigned assets.
  • At most 1,000 locations and 20 levels at once; a name may be up to 128 characters long.

Tip

You can change the type at any time later in the Custom Properties widget (see Location data).

Renaming, Moving and Deleting

  • Renaming: as with any other node. The path of all sub-locations is adjusted.
  • Moving: by drag & drop in the navigation tree. Assigned assets move along, LOGINventory asks first and states their number. Nothing can be moved below a location that has assets assigned itself.
  • Deleting: As long as assets are assigned to a location or one of its sub-locations, including archived ones, it cannot be deleted. Assign the assets to another location first. If shares are set up on the location itself or below it, for example for a sub-location or a query, LOGINventory lists the affected nodes in the confirmation. If you confirm, the shares are deleted and the users lose access to these nodes.

Location Types

Use Location Types in the ribbon menu to maintain the types you want to use. Country, Site, Building, Floor, Room, Workplace, Warehouse and Server room are shipped, each with an image and in the program language of whoever creates the database or upgrades it to this version. You can rename, add or remove types; removed types do not come back with later updates.

  • Add creates a new type; you enter the name directly in the list. Each type needs a name of its own.
  • Choose image assigns an image from the Resource Repository to the selected type, Remove image removes it again. Locations of this type show the image in the navigation tree, locations without an image show a folder.
  • Remove deletes the selected type. Locations of this type are kept and have no type afterwards.

Info

An image that you give a single location in the node properties takes precedence over the image of the type.

Location Data

When you select a location in the navigation tree, the Custom Properties widget shows the data of the location. You can edit it there directly. In the Documents widget you link documents to the location, for example a floor plan or the lease.

Property Meaning
Description Description of the location
Code Short code, for example MUC or MUC-A-2.14
Street, PostalCode, City, Country Address
CostCenter Cost center
LocationType Location type (see Location types)
Responsible User responsible for the location

Assigning Assets

An asset is always assigned to exactly one location without sub-locations, or it has no location. There are several ways to assign it.

In the Custom Properties Widget

Select one or more assets. In the Custom Properties widget, the property PhysicalLocation shows the current location. Long paths are shortened at the front so that the room stays readable.

A click into the field opens the selection:

  • The recently used locations are at the top, the tree below.
  • The search field searches word by word in all levels of the path. mun 2.0, for example, finds the rooms 2.01 to 2.04 in Munich. You may leave out umlauts and accents: mun also finds München.

  • A double click on a location, the Enter key or the check mark at the top right (Use location) saves the assignment immediately.
  • The minus symbol (Remove location assignment) removes the location again.
  • Only locations without sub-locations can be selected, and only locations that you see in the navigation tree yourself.

In the Info Widget

The Info Widget shows the path of its location for every hardware asset, with the image of the location type. A click on the path jumps to the location in the navigation tree. If the location is outside your navigation tree, a hint says so.

Many Assets at Once: Assign Locations

To distribute many assets in one go, for example 30 new notebooks to their rooms, select the assets in any view and choose Assign Locations in the ribbon menu.

  • On the left, Not assigned yet lists the selected assets, on the right is the location tree with a search field.
  • Drag one or more rows onto a location without sub-locations. Alternatively, select the assets and a location and click Assign or press Enter.
  • Pending assets disappear from Not assigned yet. The location shows their number, for example +2, and the parent locations show the total.
  • Under Pending you see the assets of the selected location. Take back returns selected assets to Not assigned yet.
  • Nothing is saved before OK or Apply, which save all assignments in one step. Cancel discards the pending assignments after a confirmation.
  • Archived assets are skipped; the dialog states their number.
  • If a target has got sub-locations in the meantime or was deleted, LOGINventory returns the affected assets to Not assigned yet.

Tip

The node Locations > Without Location lists all active hardware assets that have no location yet. It is a good starting point for Assign Locations.

During Hand Out and Return

During hand out and return in the Web Viewer you can state the location right away: an asset can be handed out to a location, for example a workplace, and assigned to a store when it is returned. The lifecycle entry records where the asset went.

During Acquisition

A scan can bring the location along, for example if each IP range belongs to one location. To do so, state the path of the location as the property PhysicalLocation.

In LOGINfo.script one line PhysicalLocation=Path is enough, usually within a condition (see Modification of the Data Acquisition):

!IF {iprange:%$Lastinventory.Ip%,192.168.10.0/24}
PhysicalLocation=Munich/Building A/2nd floor/Room 2.14
!ENDIF

In the Remote Scanner add one line under Asset Properties of the definition: table Custom, name PhysicalLocation, and the path as the value. All devices this definition acquires get the same location.

The following applies:

  • Path: The path names the locations from top to bottom, separated by /. > and › work as well, for example if you copy the path from the column PhysicalLocation.Path. If a location name itself contains a slash, write the path with >.
  • Existing locations only: The location must already exist and must not have sub-locations. Acquisition does not create locations. If the path does not match, the asset keeps its previous location or stays without one, and the data import writes a warning to its log file. The other data of the device is entered as usual.
  • The scan determines the location: Every scan sets the stated location, even if the asset is already at a different one. An assignment made by hand is therefore overwritten by the next scan. If an asset is to be somewhere else, adjust the line in LOGINfo.script or the asset property, or exclude the device: in LOGINfo.script with a condition, in the Remote Scanner with a definition of its own without this entry. This also applies to a location from a hand out or return. If two acquisitions state different locations for the same device, the most recent scan applies. If a scan states no location, the existing one is kept.
  • Limits in LOGINfo.script: The line takes effect for devices acquired by LOGINfo, that is Windows and SNMP devices. The value may be at most 512 characters long, and the characters % and { are evaluated in it. For Linux devices as well as vSphere and XenServer hosts, use the entry under Asset Properties.

Tip

The node Locations > Without Location shows whether all devices got their location: it lists the assets that have no location yet, for example because their path did not match.

Via PowerShell

In PowerShell you set the location with Set-LiCustomProperty: the property is called PhysicalLocation, the value is the path of the location. Run the command in a node of hardware assets, for example under LI:\Locations or LI:\IT Inventory\Assets.

Set-LiCustomProperty -Name PhysicalLocation -Value "Munich/Building A/2nd floor/Room 2.14" -AssetName PC123
Get-LiData | ? Name -like "NB-*" | Set-LiCustomProperty -Name PhysicalLocation -Value "Munich/IT store"
  • Path: The same applies to the path as during acquisition: separate the names with /, > or ›, and the location must already exist and must not have sub-locations. If the path does not match, the command reports Target ... not found and changes nothing.
  • Querying: Get-LiCustomProperty -Name PhysicalLocation -AssetName PC123 returns the path of the location. The locations themselves are in the drive under LI:\Locations. In each location, Get-LiData returns the assets of its subtree, with the path in the column PhysicalLocation.Path.
  • Acquisition: If acquisition states a location as well, the next scan overwrites the one set here.

Evaluating

Locations Dashboard

LOGINventory ships the dashboard Locations below Locations. It is pinned as a view to the Locations node and therefore appears as soon as you select Locations. It shows how many hardware assets of which type are at which location:

  • Table: The rows are the locations, the columns the asset types, with totals per location. Use the arrow in front of a location to expand its sub-locations, for example from the city to the buildings, floors and rooms. The table goes down to the eighth level, assets at deeper locations are counted there. Each location shows the image of its location type. Assets without a location form a row of their own, Without Location.
  • Selecting types: Use Select Types to limit the evaluation to certain asset types.
  • Chart: The chart shows the number of assets per location of the top level. Clicking a bar shows the locations of the next level below it, down to the fourth level, and limits the table and the asset list to this location. The arrow in the header of the chart takes you back.
  • Asset list: Below the table and the chart are the assets themselves with name, type, manufacturer, product, location path and owner.

The Locations node still shows the list of assets in the Default view. As in all shipped dashboards, the texts in the dashboard are English. You can edit, copy or delete the dashboard like any other dashboard. Unpin to Node shows it as a node of its own below Locations again, and Locations then opens the list of assets.

If you copy the dashboard below a location, the copy only evaluates that subtree. The table still starts at the top level, but only contains the branch of this location.

The Web Viewer also shows the dashboard when you select Locations, there without the images of the location types.

Location Views and Queries

  • Each location shows the active hardware assets of its subtree, the Locations node shows all of them in the Default view. The columns are those of the shipped query All Hardware Assets, with the path of the location added after the name. Your own changes to the query All Hardware Assets do not affect the location views. You can show, hide or move columns directly in each location view.
  • A double click on a hardware asset also shows the group PhysicalLocation in its details, with path, type, code, address, cost center and responsible user of the location.
  • Queries below a location only consider its assets, for example a query Notebooks below Munich. Directly below a single location, only queries on hardware assets are possible, that is on devices, peripheral devices or items; other queries cannot be pasted or dragged there, and the entry As copy under Paste is greyed out. For other data such as software packages, first create a query on devices below the location and below it the query on the software packages. This query then only shows the software packages of the devices at this location. Below the Locations node itself, every query is possible.
  • In every query on hardware assets, the location data is available as columns, for example PhysicalLocation.Path for the full path, PhysicalLocation.Name or PhysicalLocation.Code.
  • For evaluations per level, PhysicalLocation.Levels.Level1 to PhysicalLocation.Levels.Level8 hold the names of the locations on the path, Level1 being the top level. With a tree Country > City > Building > Room, for example, you group by Level1 (country) first and by Level2 (city) below it, like the dashboard Locations. PhysicalLocation.Levels.Depth is the level of the location itself. The levels count by their position in the tree, not by the location type. The tree may be deeper than eight levels, assets at deeper locations are then counted at the parent location on level 8.
  • The quick export works on location nodes as on queries. The HTML export as well as export and mail tasks use the same columns as the location view.

List All Locations

Below Locations, LOGINventory ships the query All Locations. It shows the locations themselves, not the assets: every location of whatever type with its path, location type, code, description, address, responsible user and cost center. The list is sorted by the path and thus follows the structure of the tree.

Use the list to check the location data at a glance, and print the QR labels for locations from here.

Location Page in the Web Viewer and QR Labels

Every location has a page of its own in the Web Viewer. It shows which devices are supposed to be at this location. With a QR label on the room, the workplace, the storage shelf or the building entrance you open the page by scanning the code with a smartphone and see at once what belongs there.

The Location Page

  • Header: the name of the location, above it the levels above as links to their pages, below it the location type and the description, as far as they are maintained.
  • Sub-locations: For a location with sub-locations, for example a building or a floor, the next level is listed below the header: for each sub-location its name, its location type and the number of assets assigned to it and to everything below it. A click leads to the page of the sub-location, so you get from a building through the floor to the room. The heading opens and closes the list. With more than twelve sub-locations it is closed at first.
  • Assigned Assets: a table of the active hardware assets of the location and all its sub-locations, even if there are hundreds or thousands of them. Each row shows one asset with name, inventory number, type, product name, serial number, location and owner. The search field above the table searches all columns, a click on a column header sorts, and with more than 100 assets you page below the table. The name of an asset leads to its detail page, the location to the page of the sub-location, the owner to the page of the user. An asset without an inventory number is shown without a link. For a location without sub-locations there is no location column.
  • On a smartphone: The table shows name and inventory number and, as far as there is room, the type. You open the other details of an asset with the three dots at the end of the row (on the right in the picture).
  • Lifecycle: the lifecycle entries with which an asset was handed out or returned to this location or one of its sub-locations.

You also reach the page without a label: on the detail page of an asset, the path of its location is a link to the location page. In addition, the entry Locations in the navigation of the Web Viewer leads to an overview built like the page of a topmost location: it shows the locations of the top level you see with the number of their assets, and below them all assigned assets with their full path. The overview has no Lifecycle tab. The entry appears only for users who may open location pages and see at least one location.

The page only displays. You change the location of an asset as before on its detail page or in the Management Center.

Who May See the Page

  • The same rule applies as for the detail page of an asset: users with the role Power User or Administrator open the page. Other users only open it if read-only access for Guests and Users is allowed in the user roles settings.
  • In addition, the user has to see the location in the navigation tree. Administrators see all locations, other users see the locations shared with them and everything below. Without a shared location no location page opens, not even with guest access allowed.
  • If the user does not see the location or it no longer exists, the same message appears in both cases, saying that the location was not found.
  • Levels above a share appear in the header as text without a link.

Printing QR Labels

You print labels for locations like the labels for devices. The same prerequisites apply: the Web Viewer is published and can be reached from the smartphone. The labels for locations use the same address as the labels for devices.

  1. Below Locations, select the query All Locations.
  2. Select the locations you need labels for. This works for every location of whatever type, for example building, floor, room, workplace or store, and also for locations without a type.
  3. In the ribbon, choose the report QR Codes 25x54 - Location under Reports. The preview shows one label per location.
  4. Print the labels on the label printer.

The label in the format 25 x 54 mm shows the name of the location, the location type, the full path and the QR code. You can adapt the report like all shipped labels.

Info

The QR code contains the internal number of the location, for example http://inventory-server/LOGINventory/details.aspx?location=42. From there the Web Viewer forwards to the location page. A location keeps its number when it is renamed or moved, so the label stays valid. If a location is deleted, its label leads to the message that the location was not found.

Tip

Before printing, scan a label from the screen once, as described for printing the labels for devices.

Permissions

Location management uses the authorization concept of LOGINventory; there are no roles of its own.

  • Viewing: A location is shared like any other node. A share on Munich shows all assets in Munich including the sub-locations, also those created later. Queries and reports below the location stay limited to Munich, even when they are opened as a favorite or as a share of their own.
  • Changing the structure: The same rule applies as for other nodes in the navigation tree. Administrators may do everything. If the role Power User applies to a user on a shared location (set in the share or taken over from the global role, see Sharing Nodes), the user may create locations below this location (also with Create Series and Paste Locations) and rename, move, sort and delete the locations below it. The shared location itself, the Locations node and the Location Types are changed by administrators only. Node definitions are imported by administrators.
  • Editing location data and documents: The address, the type and the other location data as well as the documents of a location can be edited in the Custom Properties and Documents widgets by anyone with the role User or higher, like the custom properties and documents of assets. What counts here is the global role from the user roles, not the role in the share. With the global role Guest, the data can only be viewed. The name and the position of a location, however, belong to the structure.
  • Assigning: Whoever may edit properties of assets may assign locations, that is, in the Management Center with the role User or higher, in the Web Viewer with the role Power User or higher. The selection only offers locations that the user sees in the navigation tree. Without a shared location there is nothing to select.
  • Central warehouse: If the users of a location need, for example, a central warehouse, share this warehouse with them in addition, with the role User or Guest. With the role Power User they could also change the structure of the warehouse. Users with the global role User can edit the data of the warehouse, such as the address, even with a share as Guest.
  • Without Location: This node shows assets of all areas. Non-administrators only see it if the node itself or the Locations node is shared with them.
  • All Locations: This query shows all locations. Non-administrators only see it if the query itself or the Locations node is shared with them.
  • Web API and AI Assistant: Locations and assignments cannot be changed via the Web API and the AI Assistant.

Warning

If a user removes the location of an asset, the asset no longer appears in the views below its location. Administrators find it under Without Location.

Switching from Existing Location Data

If you have so far maintained locations in the property Location or in a custom property such as Custom.Location, you take over this data in two steps:

  1. Create the structure: Compile the existing values as a list, for example from a query with the column Location that you export to Excel. Bring the list into one of the forms from Pasting locations and paste it below Locations.
  2. Assign the assets: In a query, filter by the existing value, for example Location equals Munich Room 2.14, select the assets and distribute them with Assign locations.

Tip

Group the query by the existing property. Then you can select and assign the assets group by group.

The existing values are kept. You can continue to use the property afterwards or clear it.

Once all values in Location are cleared, archived assets included, the Custom Properties widget and the Web Viewer no longer offer the property after their next start. Only the field for the location stays visible then. To clear the values, select the assets in a query and remove the value in the widget. If you need Location again later, set a value via PowerShell or the data import. The field appears again after the next start.