PSN TN0028: SPS2003 XML Import-Export “Operation” Attribute

Click here to download this Parallelspace Corporation Technical Note: PSN TN0028: SPS2003 XML Import-Export “Operation” Attribute

Excerpts

operation Attribute

The technical note proposes the addition of an operation attribute to the XML emitted for each exported item by the SPS2003 Upgrade.exe tool.  The schema for the operation attribute would include the following operations:

  • operation=”create”
  • operation=”delete”
  • operation=”remove”
  • operation=”replace”
  • operation=”update”
  • operation=”add”
  • operation=”merge”
  • operation=”ignore”

operation Attribute Values

operation Attribute ValuesDescriptionPre-delete Existing ItemCreate New Item
operation=”delete”Delete deletes an existing item imported into SPS2003 during a previous execution of the Import tool; or fails if the item doesn’t exist.NoNo
operation=”remove”Delete deletes an existing item imported into SPS2003 during a previous execution of the Import tool, if it exists.NoNo
operation=”create”Create creates a new instance of the exported item; or fails if the item already exists (see replace, update and add)NoYes
operation=”replace”Replace replaces an existing item imported intoSPS2003 during a previous execution of the Import tool by executing a Delete followed by a Create; or fails if the item doesn’t exit.YesYes
operation=”add”Add a) creates a new instance of the exported item if the item does *not* exist; or b) replaces an item if the item was imported into SPS2003 during a previous execution of the Import tool.  This operation shouldn’t fail based on previous import operationsa) No b) Yes  a) Yes b) Yes  
operation=”merge”Add a) creates a new instance of the exported item if the item does *not* exist; or b) updates an item if the item was imported into SPS2003 during a previous execution of the Import tool.  This operation shouldn’t fail based on previous import operationsa) No b) No  a) Yes b) No  
operation=”update”Update adds or replaces the values of selected attributes of an existing item imported intoSPS2003 during a previous execution of the Import tool; or fails if the item doesn’t exit.NoNo
operations=”ignore”Processing for this item is skipped.  The contents of the item are ignored.n/an/a


Leave a comment

Filed under Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s