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
Descriptionproperty -
The
Descriptionproperty (available for Schemas, Target Groups, Categories and Keywords) is now available through a direct call toGetItemsorGetListItemsif you set theBaseColumnsproperty to the valueExtended. 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
RepositoryLocalObjectclass now has two methods,GetAncestorsandGetListAncestors, to retrieve all ancestor organizational items (parent, grandparent etc) for a Repository Local Object. Both methods take an object of typeOrganizationalItemsAncestorsFilter.For the Core Service, use the
GetListandGetListXmlmethods of theICoreServiceclass, passing anOrganizationalItemsAncestorsFilterDataobject as a parameter.