Hi,
Once you have
CategoryID parameter of selected categories (CMS_Category table), you can use
SelectNodes method (CMS.TreeEngine.TreeProvider class) to get the dataset of documents. This method accept WHERE condition as an input parameter. So you could use standard IN SQL statement in following format:
DocumentID IN (value1,value2,...)Values value1, value2 you can get from
CMS_DocumentCategory table which defines relationship between category and assigned documents.
More information about
SelectNodes method can be found in
API reference:
Best regards,
Michal Legen