AnsweredAssumed Answered

Applying an aspect at object creation time

Question asked by nickiemc on Feb 3, 2010
Latest reply on Jul 23, 2010 by openpj
Has anyone had any success applying an aspect to an object at creation time?  I can successfully create a document and then apply an aspect, but I would like to minimize the number of calls to the web services, so I would like to apply the aspect during the initial creation.

I have tried creating a CMLAddAspect object and adding it to the CML object being passed into the Repository Services' update() method, however, I am not sure what to pass in as the Predicate "where" parameter or the String "where_id" parameter, since I do not know the id of the object which will be created.

Any help or suggestions would be greatly appreciated.