Submit a IWHole
How do you submit a IWHole....
right now i am deleting a IWSimpleFile using the destroy() method, but when i try to submit i am submitting the original IWSimpleFile object instance and getting the following exception
com.interwoven.api.service.IWServiceManagedObject$InvalidException: Invalid service managed object.
I assume this is because i am submitting a IWSimpleFile and the submit process expects a IWHole object. However i cannot find anyway to get a handle on a IWHole object. If i try to lookup the file i just deleted then IWPathNamedObject.lookupByPath will return null.
can anyone shed some light on how this is done?
right now i am deleting a IWSimpleFile using the destroy() method, but when i try to submit i am submitting the original IWSimpleFile object instance and getting the following exception
com.interwoven.api.service.IWServiceManagedObject$InvalidException: Invalid service managed object.
I assume this is because i am submitting a IWSimpleFile and the submit process expects a IWHole object. However i cannot find anyway to get a handle on a IWHole object. If i try to lookup the file i just deleted then IWPathNamedObject.lookupByPath will return null.
can anyone shed some light on how this is done?
0
Comments
-
Hi,
To get hold of an IWHole object, you would need to call IWHole hole = (IWHole)IWPathNamedObject.lookupByPath(<service>, <path>, true);
hope this helps.
Best Regards,
Narendra0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
TeamSite Developer Resources
If you are interested in gaining full access to the content, you can register for a My Support account here.
- 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.