You can change certain activity entries from one type to another.
About this task
The following types of entries can be changed to other types:
Things to keep in mind when converting entry types:
- When you convert an entry into a reply entry, you cannot associate the reply with an activity or a section directly. It must be associated with an existing activity entry.
- When you convert an entry into a to-do entry, if you do not provide values for the <snx:assignedto> and <snx:duedate> elements, the Assigned To and Due Date fields will be empty.
1. Retrieve the existing entry. See Retrieving activity nodes
2. Edit the returned Atom entry document to specify a different entry type.
a. Edit the term attribute of the <category> element with the scheme attribute value of http://www.ibm.com/xmlns/prod/sn/type.
For example, to change a standard entry to a chat entry, edit this:
to read as follows:
b. If the new entry type has any special fields associated with it, provide a value for the field by including an element to represent it.
For example, if you are converting a standard entry field into a to-do entry, add the following elements to represent to-do item fields:
If you do not provide values, the fields are created, but are empty.
If you are converting an entry into a reply, add the following element to represent the parent of the entry.
Note: You cannot associate a converted reply with an activity or section directly. You must associate the reply entry with another activity entry.
3. Update the entry with the new version of the Atom entry document that you have created. See Updating activity nodes