Importing Incremental Received Delivery Files
If you have received more than one package delivery ZIP file from a source system, it is possible that the sender chose to send you an incremental delivery from what was previously delivered. The process to import incremental received delivery files is identical to the process to import full received delivery files. There are, however, two additional aspects to consider:
Additional information contained in an incremental delivery
The order in which received delivery files are imported
In some situations, you may receive a subsequent delivery from the same source system with updates to content that was previously delivered. You may receive a full delivery with all content that was previously delivered, or you may receive an incremental delivery with only information that has changed since the previous delivery. For example, if your company is collaborating with another company and you need to know about any modifications to their assembly, you could request regular updates to keep up with the modified data.
Unlike a full delivery, an incremental delivery is compared against a base delivery. This comparison allows an incremental delivery the unique opportunity to send information about objects that meet one of the following criteria:
Deleted: Information about objects that have been removed from Windchill since the base delivery is sent so the same objects can be removed from the target system. During import, the system attempts to remove these same objects. Any objects that cannot be removed are reported.
Absent: Information about objects that were sent in the base delivery but are no longer included in the current delivery because they were not included in the package. Possible reasons for exclusion may be that the collection options used to create the package have changed, the object may no longer meet the criteria, or the object was explicitly removed from the package. The preview and import reports on these objects as you may want to take further action on the objects, depending on your business process. For example, you can remove them from your system, move them to another context, or set a new life cycle state.
Changed: Objects that have been modified in some way are sent. A change could be an update to a content file, modification to an attribute, moving the object to a new folder, and so on.
New: Objects that are new in Windchill or are included in the package for the first time are sent.
* 
Incremental deliveries do not contain information about objects that are unchanged since the base delivery. Changed objects encompass both change initiated by the user and system level changes.
Incremental deliveries also carry the changed information about the association between a CAD document and a WTPart. Here is an exception when the change in association information is not shown clearly.
Consider a WTPart with image that is associated with a CAD document and is checked in to Windchill without build (Build Part After Associate preference or the Set for Single-Level Build option set to Off). If a package is made of these objects, when importing an incremental package after removing the association (See, Editing the Association of CAD Documents and Windchill Parts) to Windchill, the association removal between the WTPart and the CAD document is not clean.
As incremental deliveries are created on the source system by selecting a base delivery from which changes are assessed, there is often a dependency between the two deliveries. It is always a best practice to import the received delivery ZIP files in the same order as the files were exported, but it is more important for an incremental delivery. For more information, see the section Best Practices for Importing Received Delivery Objects in Best Practices for Working with Received Deliveries.
Managing Attributes for Incremental Delivery
Incremental deliveries provide an efficient mechanism for Windchill packages to and import only the relevant objects that have changed since the previous delivery. In certain business scenarios, you may want the incremental delivery logic to ignore the changes in specific attributes during a comparison with the baseline delivery. To control the information that is imported in an incremental delivery according to your business processes, you can set specific preferences using the customizable properties in the package type based properties XML file The<XMLFilterTags> element within theWPTypeProperties sets in the type based properties file, allows you to specify the attributes that should be ignored when an incremental delivery is compared to the baseline delivery. The sample file below demonstrates the appropriate usage of the <XMLFilterTags> element.

<?xml version="1.0" encoding="utf-8"?>
<WPTypeBasedProperties xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="WPTypeBasedProperties.xsd">

<WPTypePropertySet name="Default">
<WPTypeProperties typeId="com.ptc.windchill.wp.WorkPackage">
<EnableContentControl>false</EnableContentControl>
<CollectorId>CreateWPBaseline</CollectorId>
<IncludedManifestOptions>
<ManifestOption default="true">Interactive</ManifestOption>
</IncludedManifestOptions>
<IncludedDeliveryOptions>
<DeliveryOption>Full</DeliveryOption>
<DeliveryOption>Incremental</DeliveryOption>
</IncludedDeliveryOptions>
</WPTypeProperties>

<WPTypeProperties typeId="com.ptc.windchill.wp.tdp.TechnicalDataPackage">
.
. </WPTypeProperties>
</WPTypePropertySet>

<WPTypePropertySet name="My Customized Set">
<WPTypeProperties typeId="com.ptc.windchill.wp.WorkPackage">
.
.
.
</WPTypePropertySet>
<XMLFilterTags>
<xpath>objectHistory</xpath>
<xpath>lifeCycleHistory</xpath>
<xpath>contentItem</xpath>
</XMLFilterTags>
</WPTypeBasedProperties>
In the sample type-based properties file, the objectHistory, lifeCycleHistory, and contentItem, attributes are excluded from the criteria that determines the comparison between the incremental and baseline deliveries.
Once you have defined the elements in the XML file you can load the file to bring the preferences to effect. For more information see the Reading and Loading Type-Based Properties XML File section in Package Type-Based Properties. You can also set similar preferences for all Windchill packages and sync incremental deliveries.
Isto foi útil?