I have a need to archive content items from an extension. We have a relationship between two content items.
Child content Item A is added to content Item B and Content Item C. So
whenever content item A goes to Archive state, we need to put content Item B and C also into Archive state.
I was trying to use API from Interface: IPSContentWs
However, the only option I see to change the state is prepareForEdit(). Is there any other API or way to change the state of a list of content Item from ‘Public’ state to ‘Archive’ State through an Extension Action?
thanks
Manvinder