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
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax