Item attribute import
The item attribute import feature simplifies the process of assigning attributes to items in Business Central. Instead of manually managing attribute IDs and mappings, users can work with a simple flat table structure.
Overview
Typically, importing attributes into the system requires:
- Using specific attribute IDs
- Creating proper mappings to item cards
- Understanding the complex structure required by the system
This module solves these challenges by:
- Accepting a simple flat table structure with ATTRIBUTE, ATTRIBUTE VALUE, and ITEM NO.
- Automatically creating the proper structure with attribute IDs required by the system
- Correctly assigning attributes to items
Supported file formats
The system supports Excel files:
- Format: .xlsx or .xls
- Row 1: column headers
- Row 2 and onwards: data to import
- Recommended encoding: UTF-8
Data structure
The file should contain the following columns:
| Column | Name | Description | Required |
|---|---|---|---|
| 1 | Item No. | Item number to assign the attribute to | Yes |
| 2 | (empty) | Reserved column (skip) | No |
| 3 | Attribute Name | Name of the attribute (must exist in system) | Yes |
| 4 | Attribute Value | Value for the attribute | Yes |
| 5 | (empty) | Reserved column (skip) | No |
| 6 | (empty) | Reserved column (skip) | No |
| 7 | Blocked | Whether the attribute value is blocked (Yes/No) | No |
How to import data
You run the import from the N24C | Items Attr. List page:
Import steps:
- Search for the N24C | Items Attr. List page in Business Central
- Go to the Core Extension Setup page and use the Download Import Template action to download a sample Excel file with the correct structure
- Fill in your Excel file with your data
- Make sure attribute names already exist in the Item Attributes page in the system
- Select the Import attribute from Excel File action
- Choose your prepared Excel file
- The system will automatically:
- Validate attribute names exist
- Create new attribute values for non-Option types if needed
- Create or update attribute mappings to items
- Review the import summary showing the number of inserted, modified attributes and errors
Export current data
You can export current attribute data at any time:
- On the N24C | Items Attr. List page, select the Export to Excel action
- The data will be exported with the correct structure
- You can modify and re-import this data as needed
Important Notes
- Sample Template: A sample import template can be downloaded from the Core Extension Setup page
- Attribute Names: Must be created in advance in the Item Attributes page
- Option Attributes: For attributes of type "Option", all possible values must exist before import
- Other Attribute Types: For Text, Integer, Decimal, and Date types, new values are created automatically during import
- Updates: If an item already has a value for an attribute, the import will update it with the new value
- Blocked Status: You can mark attribute values as blocked during import