Documentation > Services API > ServicesUtil > GetFilterDictionary(Asset,FilterParams,Boolean)
GetFilterDictionary
Accepts a folder and filterParams, uses aGetFilterList to return a dictionary of assets. Dictionary values will be {asset.Label, asset.BranchId} OR if useBranchId is false {asset.Label, asset.Id}
public Dictionary<String,String> GetFilterDictionary(Asset,FilterParams,Boolean)
Parameters
Name | Description | Type |
---|---|---|
assetFolder | Folder where assets are located | CrownPeak.CMSAPI.Asset |
fParams | FilterParams to apply to assets | CrownPeak.CMSAPI.FilterParams |
useBranchId | Use the assets' Branch ID instead of the asset ID. | System.Boolean |