Skip to content

Commit b6d5d6a

Browse files
authored
Merge pull request #466 from ritza-co/19.06.13
Docs 19.06.13 release (Week 32, 2025)
2 parents 69ba668 + 203bb03 commit b6d5d6a

File tree

73 files changed

+361
-151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+361
-151
lines changed

docs/infrastructure-management/parts-and-parts-slots/importing-part-models.mdx

Lines changed: 76 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,70 +3,111 @@ title: "Importing Part Models"
33
sidebar_position: 1
44
---
55

6-
This document explains how to import part models using API Imports. For detailed explanation of Part Models and Parts, please see: [infrastructure-management/parts-and-parts-slots/part-model-templates.md](infrastructure-management/parts-and-parts-slots/part-model-templates.mdx)
6+
import ThemedImage from '@theme/ThemedImage'
7+
import useBaseUrl from '@docusaurus/useBaseUrl'
78

8-
### Data example
9+
This document explains how to import part models using API Imports. For a detailed explanation of part models and parts, see the [Part Model Templates](infrastructure-management/parts-and-parts-slots/part-model-templates.mdx).
910

10-
![Data example](/assets/images/wpid4727-media_1400099180867.png)
11+
## Data Example
1112

12-
The sample data in the spreadsheet (pictured above) is our starting point for this import. This data was exported from a legacy system into .csv format.
13+
The sample data in the spreadsheet below is our starting point for this import. This data was exported from a legacy system into CSV format.
1314

14-
### Download sample spreadsheet
15+
![Sample parts data spreadsheet](/assets/images/importing-part-models/sample-parts-data.png)
1516

16-
![Download sample spreadsheet](/assets/images/wpid4728-media_1400099757511.png)
17+
## Download Sample Spreadsheet
1718

18-
Tools>Imports/Exports (.xls)
19-
Create or update spare parts models - Download Sample Excel File
20-
Open the sample file
19+
Navigate to **Tools > Imports/Exports (xls)**, find **Part Models - Create/Update Part Models**, and click **Download Sample Excel File**. Open the sample file to begin the import process.
2120

22-
### Comments
21+
<ThemedImage
22+
alt="Download sample spreadsheet interface"
23+
sources={{
24+
light: useBaseUrl('/assets/images/importing-part-models/download-sample-spreadsheet-light.png'),
25+
dark: useBaseUrl('/assets/images/importing-part-models/download-sample-spreadsheet-dark.png'),
26+
}}
27+
/>
2328

24-
![Comments](/assets/images/wpid4729-media_1400100313210.png)
29+
## Understanding Column Comments
2530

26-
Note: hover-over column heading to reveal comments that specify usage, e.g.: required, optional or details (pictured below)
31+
Hover over the upper-right corner of the heading cell in each column to see details about the field. These tooltips indicate whether fields are required, optional, or provide additional context.
2732

28-
![](/assets/images/wpid4730-media_1400104574786.png)
33+
![Spreadsheet column comments hover tooltip](/assets/images/importing-part-models/column-comments-hover.png)
2934

30-
Note: the additional Part model type parameters for CPU, RAM, and HDD. Note: type is required.
35+
The spreadsheet includes additional part model type parameters specific to CPU, RAM, and hard disk components. The `type` field is required for all part models.
3136

32-
### Populating the sample sheet
37+
![Part model type parameters for CPU RAM HDD](/assets/images/importing-part-models/part-model-type-parameters.png)
3338

34-
![Populating the sample sheet](/assets/images/wpid4731-media_1400106488167.png)
39+
## Populating the Sample Sheet
3540

36-
The image above shows the sample spreadsheet that has been updated to include the data from our .csv export. These being new part models, only type is required. The parameters not being used have been deleted from the sheet (alternatively they can be left blank).
41+
Update the sample spreadsheet with your part model data from the CSV export. Since these are new part models, only the `type` field is required. You can delete unused parameters from the sheet or leave them blank.
3742

38-
Note the additional parameters added for CPU and RAM models
43+
![Populated sample spreadsheet with part model data](/assets/images/importing-part-models/populated-sample-sheet.png)
3944

40-
Save the file.
45+
Notice the additional parameters that have been added for CPU and RAM models.
4146

42-
### Choose file and import
47+
## Choose File and Import
4348

44-
![Choose file and import](/assets/images/wpid4732-media_1400106840832.png)
49+
Navigate to **Tools > Imports/Exports (xls)**, browse to your populated file, and select **Import** to begin the import process.
4550

46-
Go to: Tools>Imports/Exports (.xls) - choose the file and select Import.
51+
<ThemedImage
52+
alt="Choose file and import interface"
53+
sources={{
54+
light: useBaseUrl('/assets/images/importing-part-models/choose-file-import-light.png'),
55+
dark: useBaseUrl('/assets/images/importing-part-models/choose-file-import-dark.png'),
56+
}}
57+
/>
4758

48-
### Import results
59+
## Import Results
4960

50-
![Import results](/assets/images/wpid4733-media_1400158112533.png)
61+
Device42 displays the status of the import. If there are any issues, the results will show "The following were not added..." with specific error details. Review the results carefully, as any problems (such as missing required parameters) are usually clearly stated.
5162

52-
Results of parts model import. If there is a problem with the import the results will show "The following were Not added..." Should there be a problem, be sure to review the body of the results as the cause is usually stated clearly, e.g.: missing parameter
63+
<ThemedImage
64+
alt="Part models import results success message"
65+
sources={{
66+
light: useBaseUrl('/assets/images/importing-part-models/import-results-light.png'),
67+
dark: useBaseUrl('/assets/images/importing-part-models/import-results-dark.png'),
68+
}}
69+
/>
5370

54-
### Parts Model List
71+
## Verifying Imported Parts Models
5572

56-
![Parts Model List](/assets/images/wpid4734-media_1400159234488.png)
73+
Navigate to **Datacenter > Parts > Model List** to view all the parts models that were imported in the previous step.
5774

58-
Datacenter>Parts>Model List - above we see the part models imported in the previous step.
75+
<ThemedImage
76+
alt="Parts Model List showing imported models"
77+
sources={{
78+
light: useBaseUrl('/assets/images/importing-part-models/parts-model-list-light.png'),
79+
dark: useBaseUrl('/assets/images/importing-part-models/parts-model-list-dark.png'),
80+
}}
81+
/>
5982

60-
Let's drill into a few of the items to validate the import:
83+
To validate the import, examine a few of the imported items:
6184

62-
![](/assets/images/wpid4736-media_1400159731437.png)
85+
**Hard Disk Drive (HDD) Model:**
6386

64-
HDD
87+
<ThemedImage
88+
alt="HDD part model detail view"
89+
sources={{
90+
light: useBaseUrl('/assets/images/importing-part-models/hdd-part-model-detail-light.png'),
91+
dark: useBaseUrl('/assets/images/importing-part-models/hdd-part-model-detail-dark.png'),
92+
}}
93+
/>
6594

66-
![](/assets/images/wpid4735-media_1400159682081.png)
95+
**RAM Module Model:**
6796

68-
RAM
97+
<ThemedImage
98+
alt="RAM part model detail view"
99+
sources={{
100+
light: useBaseUrl('/assets/images/importing-part-models/ram-part-model-detail-light.png'),
101+
dark: useBaseUrl('/assets/images/importing-part-models/ram-part-model-detail-dark.png'),
102+
}}
103+
/>
69104

70-
![](/assets/images/wpid4737-media_1400159784226.png)
105+
**Patch Cable Model:**
71106

72-
Patch Cable
107+
<ThemedImage
108+
alt="Patch Cable part model detail view"
109+
sources={{
110+
light: useBaseUrl('/assets/images/importing-part-models/patch-cable-part-model-detail-light.png'),
111+
dark: useBaseUrl('/assets/images/importing-part-models/patch-cable-part-model-detail-dark.png'),
112+
}}
113+
/>

docs/infrastructure-management/parts-and-parts-slots/importing-parts.mdx

Lines changed: 70 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,73 +3,107 @@ title: "Importing Parts"
33
sidebar_position: 2
44
---
55

6-
This document explains how to import parts using the Spreadsheets Import tool found in the Tools menu.
6+
import ThemedImage from '@theme/ThemedImage'
7+
import useBaseUrl from '@docusaurus/useBaseUrl'
78

8-
### Importing part models vs. importing parts
9+
This document explains how to import parts using the Spreadsheets Import tool found under **Tools > Imports/Exports (xls)**.
910

10-
![Importing part models vs. importing parts](/assets/images/wpid4760-media_1400162046800.png)
11+
## Importing Part Models vs. Importing Parts
1112

1213
Please see [Managing Spare Parts](infrastructure-management/parts-and-parts-slots/part-model-templates.mdx) for an explanation of part models vs. parts in Device42.
1314

14-
Part models can be created using the create or update spare parts import. The parts import can do both models and parts. The create or update spare parts models import can only create models.
15+
Both parts and part models can be created using the **Parts - Create/Update Parts** import, whereas the **Part Models - Create/Update Part Models** import only creates models.
1516

16-
### Download current data
17+
<ThemedImage
18+
alt="Part models vs parts import options"
19+
sources={{
20+
light: useBaseUrl('/assets/images/importing-parts/part-models-vs-parts-light.png'),
21+
dark: useBaseUrl('/assets/images/importing-parts/part-models-vs-parts-dark.png'),
22+
}}
23+
/>
1724

18-
![Download current data](/assets/images/wpid4759-media_1400161961340.png)
25+
## Download Current Data
1926

20-
This document will demonstrate adding parts to existing part models - building on the imported models covered in the [Importing Part Models document](infrastructure-management/parts-and-parts-slots/importing-part-models.mdx).
27+
This document demonstrates how to add parts to existing part models, building on the imported models covered in the [Importing Part Models document](infrastructure-management/parts-and-parts-slots/importing-part-models.mdx).
2128

22-
Tools>Imports/Exports (.xls) - download current data for spare parts models as highlighted above
29+
Go to **Tools > Imports/Exports (xls)** and download the current data for spare part models as highlighted below.
2330

24-
![](/assets/images/wpid4761-media_1400162386036.png)
31+
<ThemedImage
32+
alt="Download current parts data"
33+
sources={{
34+
light: useBaseUrl('/assets/images/importing-parts/part-models-export-light.png'),
35+
dark: useBaseUrl('/assets/images/importing-parts/part-models-export-dark.png'),
36+
}}
37+
/>
2538

26-
A current data export sheet is pictured above. Creating parts from existing part models requires the part model ID.
39+
A current data export sheet is shown below. Creating parts from existing part models requires the part model ID. Keep this sheet open.
2740

28-
Keep this sheet open.
41+
![Current data export spreadsheet](/assets/images/importing-parts/current-part-model-data-3.png)
2942

30-
### Download sample file
43+
## Download Sample File
3144

32-
![Download sample file](/assets/images/wpid4762-media_1400162600078.png)
45+
Next, download the **Create or update spare parts** sample sheet by going to **Tools > Imports/Exports (xls)**.
3346

34-
Next we will download the Create or update spare parts sample sheet - Tools>Imports/Exports (.xls)
47+
<ThemedImage
48+
alt="Sample download"
49+
sources={{
50+
light: useBaseUrl('/assets/images/importing-parts/sample-download-light.png'),
51+
dark: useBaseUrl('/assets/images/importing-parts/sample-download-dark.png'),
52+
}}
53+
/>
3554

36-
![](/assets/images/wpid4763-media_1400162885408.png)
55+
Use the data from the current data export to help populate the parts import.
3756

38-
Note the help comments for each parameter.
57+
![Parts sample spreadsheet](/assets/images/importing-parts/parts-sample-spreadsheet.png)
3958

40-
We will use the data from the current data export to help populate the parts import.
59+
## Populate the Sample Sheet
4160

42-
### Populating the sample sheet
61+
Add a column for `partmodel_id` and populate the sample spreadsheet to add new parts to two of the existing part models you created. Add the serial numbers manually or using a laser handheld scanner (see below).
4362

44-
![Populating the sample sheet](/assets/images/wpid4764-media_1400165367963.png)
63+
This import creates the following:
4564

46-
Using the current data export, we have copied the partmodel\_id for the new parts we are going to create
65+
- For `partmodel_id` `211` (name `3.5" 2TB Dell Drives`): Four line items with assignments and serial numbers (unique line items are required to track serial numbers)
4766

48-
- Name or partmodel\_id is required. Type is optional. part\_id is required for updating existing parts
49-
- Added the serial numbers - this can be accomplish manually or via laser handled scanner (see below)
67+
- For `partmodel_id` `219` (name `4GB PC3 8500R`): Two line items with assignments (since you don't need to track serial numbers for these items, you are only tracking room assignment and count)
5068

51-
This import will create the following:
69+
Save the file and import it.
5270

53-
ID 39 (3.5" 2TB Dell Drives) 4 line items with assignments and serial numbers. Unique line items are required to track serial numbers.
71+
![Populated parts spreadsheet](/assets/images/importing-parts/populated-parts-spreadsheet.png)
5472

55-
ID 47 (4GB PC3 8500R) 2 line items with assignments. Since we don't care about serial numbers for these items, we are only tracking room assignment and count.
73+
## Handheld Scanner
5674

57-
Save the file and import.
75+
You can use a DBPOWER scanner purchased on Amazon, which works well for this purpose. It comes with a USB receiver and can be programmed to automatically go to the next row in Excel, making it very quick and easy to capture serial numbers or other bar codes.
5876

59-
Re: handheld laser scanner. We have been using a DBPOWER scanner that we purchased on amazon for $60 (link below) - we think it works great. It comes with USB receiver and can be programmed to automatically go to the next row in Excel, making it very easy and quick to grab serial numbers or other bar codes.
77+
## Import Results
6078

61-
### Import results
79+
Go to **Tools > Imports/Exports (.xls)**, choose your file, and click **Import**. The results of the import are shown below.
6280

63-
![Import results](/assets/images/wpid4765-media_1400166697787.png)
81+
<ThemedImage
82+
alt="Import results success message"
83+
sources={{
84+
light: useBaseUrl('/assets/images/importing-parts/import-results-light.png'),
85+
dark: useBaseUrl('/assets/images/importing-parts/import-results-dark.png'),
86+
}}
87+
/>
6488

65-
Go to: Tools>Imports/Exports (.xls) - choose file and click import. Pictured above are the results of our import.
89+
Let's look at these new parts in the UI.
6690

67-
Let's have a look at these new parts in the UI
91+
The new parts appear on separate line items, as these are the unique line items needed for tracking serial numbers.
6892

69-
![](/assets/images/wpid4766-media_1400167063591.png)
93+
<ThemedImage
94+
alt="Parts list showing imported serial numbered parts"
95+
sources={{
96+
light: useBaseUrl('/assets/images/importing-parts/parts-list-serial-numbers-light.png'),
97+
dark: useBaseUrl('/assets/images/importing-parts/parts-list-serial-numbers-dark.png'),
98+
}}
99+
/>
70100

71-
The new parts on separate line items - again these are unique line items as we are tracking serial numbers.
101+
The new parts appear on two lines. Since you're not tracking serial numbers, you only need two lines to track the room assignments for these RAM modules.
72102

73-
![](/assets/images/wpid4767-media_1400167321688.png)
74-
75-
The new parts on two lines - not tracking serial numbers, we only need two lines to track the room assignments for these 40 RAM modules.
103+
<ThemedImage
104+
alt="Parts list showing imported RAM modules by room"
105+
sources={{
106+
light: useBaseUrl('/assets/images/importing-parts/parts-list-room-assignments-light.png'),
107+
dark: useBaseUrl('/assets/images/importing-parts/parts-list-room-assignments-dark.png'),
108+
}}
109+
/>

0 commit comments

Comments
 (0)