Skip to main content
Published: October 09 2006, 10:24:00 AMUpdated: July 27 2022, 9:57:00 PM

My item's subtitle is not removed after a ReviseItem call. This following codes is used for removing the subtitle :
ModifiedFieldType[] list = new ModifiedFieldType[1];
list[0] = new ModifiedFieldType();
Unfortunately,it failed without any exception.

Detailed Description

In general, you should use DeleteField to remove from an item's property. Below is the sample code for deleting an item's SubTitle:

           ReliseItemCall rtc = new ReliseItemCall(apiContext);
           ItemIDType id = new  ItemIDType(itemId);
           ItemType item = new ItemType();
           String[] deleteFields = {"Item.SubTitle"};
           FeesType fee = rtc.reviseItem();

Additional Resource


How well did this answer your question?
Answers others found helpful

Got thoughts? Click the feedback button – your insights help us improve!