IWPathNameObject.destroy info

Options
Hi everyone!

Does anyone knows if I can use the method IWPathNameObject.destroy to delete a DCR using the OpenAPI and what considerations must be taken??

Thanks in advance

Ricardo

Comments

  • This should successfully destroy the DCR, but I have no idea what the implications are (if any) on templating.
  • you can certainly use IWPathNamedObject.destroy to delete a DCR (that is what webdesk does). the one caveat, is that extended attributes will not be removed, and that if you try to create another file at the same location, it will inherit its predecessors EAs. I suggest clearing extended attributes before deleting the DCR.
TeamSite Developer Resources

  • Docker Automation

  • LiveSite Content Services (LSCS) REST API

  • Single Page Application (SPA) Modules

  • TeamSite Add-ons

If you are interested in gaining full access to the content, you can register for a My Support account here.
image
OpenText CE Products
TeamSite
APIs