Is it possible to attach aspect to object instance using DQL?
Just getting started using aspects, and from what I understand you can configure one or more aspects on a type such that all objects that get created get the aspect. However, what about objects already existing of that type? How can I attach a new aspect to existing objects?
I've seen there are DFC methods to do this, but is it possible to do it from DQL?
Appreciate any tips.
-Jason
Best Answer
-
Hi Jason,
You can attach an aspect through dql by appending to the r_aspect_name attribute, like this:
dql> update dm_document objects append r_aspect_name='MyAspect' where .....
1
Answers
-
Hi Jason,
You can attach an aspect through dql by appending to the r_aspect_name attribute, like this:
dql> update dm_document objects append r_aspect_name='MyAspect' where .....
1 -
Very simple, Thanks
0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 105 General Questions
- 141 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management