#1957 portlet using the new api to delete structure