1. Location Management
Location Management maintains sites, areas, buildings, or installation points inside an organization. Devices, gateways, and device configuration templates can bind to a location through location_code, making it easier to inspect assets by installation site.

1.1. Fields
| Field | Description |
|---|---|
code | Location code. Devices, gateways, and templates reference locations through this code. |
name | Location name. |
remark | Free-text note. |
area, province, city | Area, province, and city. |
address1, address2, zip_code | Address and ZIP/postal code. |
phone, manager | Contact phone and manager. |
status | Location status. |
longitude, latitude | Geographic coordinates. |
params | Extension parameters. |
1.2. Location Tree
The page loads locations in the current organization and renders them as a tree. After selecting a leaf node, the right panel shows devices and gateways bound to that location.
If the right panel is empty, the selected location usually has no bound devices or gateways, or those records do not have location_code configured.
1.3. Relation to Devices, Gateways, and Templates
- Device Management can bind a device to
location_code. - Gateway Management can bind a gateway to
location_code. - Device Configuration Templates can preset
location_code, so devices created or imported from the template can carry the location.
1.4. Location Code in Device Import
Bulk device import supports a location_code column. If a code in the import file does not exist, ThinkLink clears that device's location and continues importing the rest of the file.
Create locations first, then use their code values in Excel imports.