Is there any guidance or documentation for which classes in TOM.NET replace the functionality in the legacy COM API for Tridion?
I’m having trouble finding the entry point corresponding to TDSE.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The closest class you have to the good old TDSE is the
Sessionclass, which exposes most (if not all) of the “system-level” methods and properties (like currentUser,WorkflowManager, etc).In Event Systems you get a session as part of the Subject – all classes derived from
IdentifiableObjectexpose aSessionproperty – and this Session will be running under the identity of the user that caused the event to be triggered. In TOM/COM days, this was not always the case, and very often you had to call.Impersonatein your code to act as the current user. With TOM.NET this is not required anymore, as long as you use the correct session.Good luck with your upgrade, the new Event System engine is worlds apart from the old one, there really is no turning back.