Add a Library Part to Product Data Integration
This scenario describes the creation of library parts in Product Data Integration.
For Product Data Integration, a library part is represented as a design item, extended with library part specific fields.
A library part is defined by its name and optionally a relative path to the library part file.
Product Data Integration ensures uniqueness of library attributes across all saved library parts.
In this example, we want to create tho following library part:
| Name | Relative path |
|---|---|
|
Bolt |
/parts/bolt.prt |
Check Existing Library Party
Before creating, we want to check if the library part already exists. For this purpose, we can use the odata $filter:
You can see the library part has not been created before.
Create New Library Part
Now that you know that the library part does not exist in PDI, you can create it. Library parts are created similarly to regular design items. They additionally require specifying the attributes described above:
After creating the design item, it can be used and updated analogous to regular design items.