AutoUpdate Property
Version: Available or changed with runtime version 1.0.
Sets whether a record in the database with the same primary key as the record in the imported XmlPort is updated with values from the imported record.
Applies to
- Xml Port Table Element
Property Value
True if the records are updated; otherwise, false. The default value is false.
Syntax
AutoUpdate = true;
Remarks
When AutoUpdate is set to true, if a record exists in the database with the same primary key as a record in the imported XMLport, then the record in the database is updated with the values in the record from the XMLport. Fields that are not defined in the record from the XMLport remain the same in the record in the database.
Set AutoUpdate to true when you import a file with partial information. For example, you can use this property if you create new prices for an item list in an external file where this file only contains item numbers and prices. In this case, you would want to update the price field, while retaining the information in the other fields.
Warning
If this property is set to true, then the AutoReplace Property has no effect.
See Also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈