GetConsilioPublisherCatalog (open)

Look up the 'best' catalog for a folder/site

Syntax

LOADLIB "mod::consilio/lib/api.whlib";

STRING FUNCTION GetConsilioPublisherCatalog(INTEGER folder)

Parameters

INTEGER folder

Folder it to look up. If you're not specifically targetting folders we recommend specifying the site id

Return value

STRING

Catalog name (as suitable for RunConsilioSearch). Empty if no catalog found

Description

Lookup the catalog to use. Prefers catalog that more specifically target this folder and catalogs that contain less other contentsources