I wish to retrieve a list of all schemas for a given publication - including inherited ones.
Originally I was using the getSearchResults
core service method with a filter constraining to the current publication and a search type of ItemType.SCHEMA
. However, this only returns schemas that are defined in the supplied publication - ignoring any inherited schemas. Removing the publication filter means I end up with all schemas in any publication.
So instead, I've started looking at the getList
core service method, passing in a BluePrintChainFilterData
filter with the direction set to BluePrintChainDirection.UP
. However, this isn't returning what is expected.
Any ideas?