Use COLLECTION_DELETE_LOT service.
NOTE: This service works for Folders_G and not for Framework Folders component.
NOTE: This service works for Folders_G and not for Framework Folders component.
DataBinder serviceBinder = idcClient.createBinder();
serviceBinder.putLocal("IdcService", "COLLECTION_DELETE_LOT");
serviceBinder.putLocal("collectionselect0", "true");
serviceBinder.putLocal("fromCollectionisLink0", "0");
serviceBinder.putLocal("fromdCollectionID0", "814720879757000011");//child folder which we want to delete
serviceBinder.putLocal("fromhasCollectionID0", "1");
ServiceResponse response = idcClient.sendRequest(userContext, serviceBinder);
DataBinder responseBinder = response.getResponseAsBinder();
No comments:
Post a Comment