Assets Custom Fields
Assets custom fields let you add data specific to your business to the fixed asset record, such as a vehicle plate number, the insurer, or the asset’s location on a map. The value is entered with each asset and appears on its page. This guide explains where to add the fields from Accounting Settings, the field types available in the field designer and their properties, how to add a Map Location field to pin the asset on Google Maps, and why a field or the map may not appear and how to fix it.
🛈
Note: The names of the field types and properties in the assets field designer always appear in English, for example Single Line Field, Map Location and Is Required?, regardless of the interface language. The Map Location field is the map location field.
Contents
Before you start
- Make sure the Accounting app is active in your account; fixed assets and their settings are part of it.
- Make sure your role includes the Edit General Settings permission. Without it you can open the field designer, but the system refuses to save the fields.
- Open the field designer on a computer; it does not work well on mobile.
- Prepare a label and a key for each field. The Key uses Latin letters, digits, dashes and underscores only, for example plate_number, and must be unique among the asset fields.
- If your goal is to record the asset’s location on a map, you need a Map Location field. The built-in Physical Location field on the asset form stores only a location name from the physical locations list, with no coordinates; see Physical Location vs. the Map Location field.
- The map field needs no Google Maps setup on your side; Daftra loads the map with its own key.
Steps
First: open the assets field designer
- From the main menu, click Accounting.
- Click Accounting Settings.
- Click the Assets Custom Fields card. The field designer opens, with the list of field types on the side of the screen and the form area in the middle.
Or open the designer directly: Assets Custom Fields.
Second: add a field and set its properties
- Drag the field type you need from the fields list onto the form area until a frame shows its position, then drop it.
- Click the field inside the form to show its settings in the side panel. They come in three groups: properties (Field Label, Key, Default Value, Placeholder, List by this Field?, Filter by this Field?), Validation (Is Required? and other options depending on the type) and Layout (Allow Beside, Field Size).
- Type the field’s name in Field Label as you want users to see it on the asset form, for example “Plate Number”.
- Check the Key. It is generated automatically from an English label; if you typed the label in Arabic it stays empty, so type it yourself in Latin letters, for example plate_number.
- Set the remaining properties as needed; see Field reference.
Third: add a Map Location field
- From the fields list, drag Map Location (the field with the map icon) onto the form. This is the map location field.
- Type the label in Field Label, for example “Asset location on map”, and the key in Key, for example asset_map_location.
- Turn on Is Required? if you want to prevent saving an asset without a pinned location. Leave it off if the location is optional.
- Under Layout, choose a Field Size (for example Large so the address shows at a comfortable width) and turn on Allow Beside if you want the field next to another one on the same line. The Placeholder, List by this Field? and Filter by this Field? options are not offered for this type, because a map is not shown as a column in the assets list and is not used as a filter.
Fourth: arrange and save the fields
- Drag any field up or down to change its order, and click X to remove it from the form.
- Click Save at the top of the designer to save all the fields. If an error message appears, see Validation rules and error messages.
- To restore a field you deleted earlier, click Manage Deleted Fields in the designer.
Fifth: fill in the fields on the asset and pin the location
- Open Accounting → Assets → Add Asset, or open an existing asset and click Edit.
- Scroll down to the Asset More Information card; it holds the custom fields you added, in the same order.
- In the map field, click Show Map, then pick the location by clicking on the map or dragging the marker to it. The Address box is filled automatically; it is read-only and cannot be typed into. To clear the location, click × next to the address.
- Complete the rest of the asset data and click Save. The address is saved together with the latitude, longitude and zoom level, and the map appears on the asset page.
Field reference
Field properties in the designer’s settings panel:
| Field | Required/optional | Default | Values | Description |
|---|---|---|---|---|
| Field Label | Required | Empty | 2 to 255 characters | The name users see on the asset form and page. Arabic or English. |
| Key | Required for every type except Static Content and Separator | Generated from an English label; stays empty with an Arabic label | 2 to 50 characters; Latin letters, digits, – and _ only; at least one letter; no __; unique among the asset fields | The field’s internal identifier. Not shown to users. |
| Default Value | Optional | Empty | Depends on the field type | A value filled in automatically on a new asset, which can be changed. Leave it empty for Map Location. |
| Placeholder | Optional | Empty | Text | Grey hint text shown inside the field before input. Not available for Map Location. |
| Is Required? | Optional | Off | On / Off | Prevents saving the asset without a value in this field. For the map field a point must be pinned on the map; an address alone is not enough. |
| Is Unique? | Optional | Off | On / Off | Prevents the same value on two assets. Offered for text and number types, not for the map field. |
| List by this Field? | Optional | Off | On / Off | Shows the field’s value as a column in the assets list. Not available for Map Location. |
| Filter by this Field? | Optional | Off | On / Off | Adds the field to the search filters of the assets list. Not available for Map Location. |
| Allow Beside | Optional | Off | On / Off | Lets the field sit next to the previous field on the same line instead of on its own line. |
| Field Size | Optional | Medium | X-small, Small, Medium, Large, X-large | The field’s width on the asset form. |
Field types available in the designer’s list, under the names shown there:
| Type in the designer | Use |
|---|---|
| Single Line Field | Short text, such as a plate or chassis number. |
| Multi-Lines Field | Long text, such as the asset’s condition on receipt. |
| URL Field | A web link, such as the device manual page. |
| Email Field | An email address, such as the maintenance provider’s. |
| Phone Number | A phone number, such as the maintenance or insurance contact. |
| Date | A date, such as the warranty or insurance expiry date. |
| Time | A time of day. |
| Currency | An amount in a currency, such as the annual insurance premium. |
| Number | A numeric value, such as operating hours. |
| Toggle | Yes / No, such as “Insured”. |
| Map Location | A point picked on Google Maps, saved with its address and coordinates and shown as a map on the asset page. |
| File | Attach a file up to 100 MB, such as the purchase contract. |
| Image | Attach an image up to 5 MB. |
| Multiple Sub-Forms | A group of fields that repeats inside the asset. It must contain at least one field. |
| Separator | A heading that separates parts of the form. Needs no key. |
| Dropdown | Choose one value from values you define. |
| Multiple Dropdown | Choose several values from values you define. |
| Dynamic Dropdown | Choose one value from system data, such as employees or branches. You must select the entity and the displayed field. |
| Multiple Dynamic Dropdown | Choose several values from system data. |
| Static Content | Read-only text shown inside the form, with no input. Needs no key. |
| Formatted Text | Rich text (headings, lists, emphasis). |
Physical Location vs. the Map Location field
| Physical Location | Map Location field | |
|---|---|---|
| Where it is on the asset form | A built-in field in the custody information, and per unit when unit details are enabled. | A custom field you add; it appears in the Asset More Information card. |
| What is stored | A location name chosen from the physical locations list, such as “Main building – 2nd floor”. No coordinates and no map. | An address, coordinates (latitude and longitude) and a zoom level; a Google map is shown on the asset page. |
| Where it is managed | Accounting Settings → Physical Locations. | Accounting Settings → Assets Custom Fields. |
| In the assets list and filters | Available as the Location filter. | Not shown as a column or a filter. |
| Relation to cost centers | Not a cost center. | Not a cost center. |
The two fields are independent and can be used together: Physical Location to classify and filter assets by place name, and the Map Location field to pin the exact geographic position.
Settings that affect this feature
| Setting | Effect |
|---|---|
| Accounting app | Fixed assets and their settings are part of it; the assets screen and its settings do not appear if it is not active. |
| Assets Custom Fields card | Only fields added from this card appear on assets. Client or product custom fields, and the old custom forms screen, do not apply to assets. |
| Physical Locations | A separate list that feeds the Physical Location field only; it has no relation to the map field. |
| Google Maps | There is no map key setting in your account; Daftra loads the map with its own key. The browser and network only need to allow Google Maps to load. |
| Role permissions | Saving the fields needs Edit General Settings; filling them in on the asset needs Add New Assets. |
| Asset status | Once depreciation has started or transactions exist on the asset, the edit form is locked and custom field values can no longer be changed. |
Validation rules and error messages
- The Field Label is 2 to 255 characters.
- The Key is required for every type except Static Content and Separator, 2 to 50 characters, Latin letters, digits, dashes and underscores only, with at least one letter, no two consecutive underscores, and unique among the asset fields.
- An Image field accepts up to 5 MB and a File field up to 100 MB.
- If any rule fails, none of the form’s fields is saved until you fix the error.
- The designer’s messages appear as in the following table.
| Message | Cause | Solution |
|---|---|---|
| The key of field may only contain letters, numbers, dashes and underscores. | The key contains a space, a non-Latin character or an unsupported symbol. | Use Latin letters, digits, – and _ only, for example asset_map_location. |
| The :attribute field has a duplicate value. | The key is already used by another asset field. | Change the key to an unused value. |
| The :attribute field is required. | The key is empty, which usually happens when the label is in Arabic and no key was generated. | Type the key manually in Latin letters. |
| Most remove double __ in field label and in field Key | The label or the key contains two consecutive underscores. | Replace them with a single underscore. |
| You should add at least one field in the multiple sub-form | You added a Multiple Sub-Forms field with nothing inside it. | Drag at least one field into the sub-form, or delete it. |
| Permission message on save | Your role does not include Edit General Settings. | Ask the account admin to add the permission to your role, or to save the fields. |
| The asset is not saved and the map field is flagged | Is Required? is on for the field and no point was pinned on the map. | Click Show Map and pick the location, or turn off Is Required? in the designer. |
Restrictions
- A Map Location field is not shown as a column in the assets list and cannot be used as a filter, which is why List by this Field? and Filter by this Field? are not offered for it. To filter by place, use Physical Location.
- The map appears on the asset page only when a point was pinned and saved (coordinates and zoom level). An asset with no pinned point shows no map.
- Once depreciation has started or transactions exist on the asset, the edit form is locked and only the description and attachments stay editable, so custom field values, including the map location, cannot be changed on these assets.
- There is no limit on the number of asset custom fields, and you can add more than one map field.
- Static Content and Separator take no user input and need no key, and a Multiple Sub-Forms field must contain at least one field.
- Deleting a field in the designer hides it from the asset form; it can be restored from Manage Deleted Fields.
- The field designer is not built for mobile; use it on a computer.
Permissions
| Action | Required permission |
|---|---|
| Open the field designer from Accounting Settings | Access to Accounting Settings. The designer can be opened without the save permission, but Save is refused. |
| Save or delete fields in the designer | Edit General Settings. |
| Fill in the custom fields when adding or editing an asset, including pinning the map location | Add New Assets. |
| Manage the Physical Locations list | Manage Assets Settings. Not needed for custom fields. |
There is no separate permission per custom field; anyone who can add or edit the asset sees and fills in all the custom fields.
What happens after saving
- The field appears immediately in the Asset More Information card on the add and edit forms, for new and existing assets; on existing assets its value is empty until filled in.
- Values are stored per asset and appear on the asset page under the same label. The map field is shown as an embedded Google map at the saved location.
- Fields with List by this Field? or Filter by this Field? turned on appear in the assets list as a column or a filter, except the map field.
- Custom fields are available as variables in print templates and among the export fields under the Asset More Information group, as described in the custom fields guide; file, image and separator fields are not exported.
Troubleshooting
| Problem | Likely cause | Solution |
|---|---|---|
| I cannot find a “map” type in the designer | The type is named Map Location. | Look for Map Location in the fields list (map icon). |
| I added the field but it does not appear on the asset form | It was added from another screen: client or product custom fields, or the old custom forms screen, which do not apply to assets. | Add it from Accounting Settings → Assets Custom Fields. |
| I added the field, clicked Save, and it does not appear | The save did not complete because of a validation message (empty, duplicate or invalid key). | Fix the error as described in Validation rules and error messages and save again. |
| The designer opens but Save is refused | Your role does not include Edit General Settings. | Add the permission to the role, or ask the account admin to save. |
| I cannot open the add or edit asset form | Your role does not include Add New Assets. | Add the permission to the role. |
| The field shows on an existing asset but cannot be edited | The asset is locked after depreciation started or transactions were recorded; only the description and attachments stay editable. | Fill in the custom fields when adding the asset or before depreciation starts. For locked assets, record the location in the Description or attach it in Attachments. |
| I saved the asset but no map shows on its page | No point was pinned on the map before saving, so no coordinates were stored. | Edit the asset, click Show Map, pick the location, then save. |
| Show Map does not open the map, or an empty area appears | An ad blocker or network settings block Google Maps in the browser. | Allow Google Maps to load (maps.googleapis.com and maps.google.com), or try another browser or network. |
| I cannot find the map location as a column or filter in the assets list | The map field is not shown in the list or the filters by design. | Use Physical Location to filter by place, and open the asset page to see the map. |
| The Key is not filled in automatically | The label is in Arabic; the key is generated only from an English label. | Type the key manually in Latin letters. |
FAQ
Can I add a map location to a fixed asset?
Yes, with a custom field of type Map Location added from Accounting Settings → Assets Custom Fields. Once saved, it appears in the Asset More Information card when adding or editing an asset, with a Show Map button to pin the location on Google Maps. The coordinates are saved with the asset and a map is shown on its page. The built-in Physical Location field on the asset form stores only a place name, without a map.
What is the difference between Physical Location and the Map Location field?
Physical Location is a place name chosen from the physical locations list, used to filter the assets list, and it holds no coordinates. The Map Location field is a custom field that stores an address and coordinates and shows a map on the asset page, and it does not appear in the list or the filters. They can be used together, and neither is a cost center.
Why are the field names in the designer in English?
The assets field designer is the newer designer, in which the type and property names appear in English in every language. The label you type in Field Label is shown to users on the asset form in the language you typed it in.
Can I show the map location as a column in the assets list or filter by it?
No. A Map Location field is not shown as a column or a filter, which is why List by this Field? and Filter by this Field? are not offered for it in the designer. The map appears on the asset page only. To filter by place, use Physical Location.
Do I need a Google Maps key or any extra setting for the map to work?
No. Daftra loads Google Maps with its own key, with no setting in your account. If the map does not appear, the cause is usually an ad blocker or a network that blocks Google Maps in the browser.
Can I pin the map location on an asset whose depreciation has started?
No. Once depreciation has started or transactions exist on the asset, the edit form is locked and only the description and attachments stay editable, so custom field values cannot be changed. Pin the location when adding the asset or before depreciation starts.
Do new custom fields appear on assets recorded earlier?
Yes. They appear on the edit form and the page of every asset, with an empty value until filled in, unless the asset is locked.
How many custom fields can I add to assets?
There is no limit on the number of fields, and you can add more than one field of the same type, including the map field, as long as each field has a different key.
Can I force users to pin the location on the map?
Yes. Turn on Is Required? in the map field’s settings; the asset is then not saved until a point is pinned on the map with Show Map.