Changes to the TOM.NET API and Core Service API in SDL Tridion 2011 SP1

This topic lists the API changes introduced in SDL Tridion 2011 SP1 Content Manager.

Get properties for a specific set of items
SDL Tridion now lets you specify a set of unrelated IDs of repository-local objects (for example, the IDs of the Components contained in the Component Presentations on a Page), and retrieve those items' properties in a single call to TOM.NET or the Core Service. Refer to the TOM.NET and Core Service API reference documentation for details.
Quick access to Description property

The Description property (available for Schemas, Target Groups, Categories and Keywords) is now available through a direct call to GetItems or GetListItems if you set the BaseColumns property to the value Extended. Similar access is available from the Core Service. Refer to the TOM.NET and Core Service API reference documentation for details.

Get the ancestor organizational items for a Repository Local Object

The TOM.NET RepositoryLocalObject class now has two methods, GetAncestors and GetListAncestors, to retrieve all ancestor organizational items (parent, grandparent etc) for a Repository Local Object. Both methods take an object of type OrganizationalItemsAncestorsFilter.

For the Core Service, use the GetList and GetListXml methods of the ICoreService class, passing an OrganizationalItemsAncestorsFilterData object as a parameter.