Getting user-facing files for a product
Richard Haseltine
Posts: 100,888
If I want to get the user-facing files for a product, do I need to use dzAssetMgr.searchForProductAssets? DzProductAssetContainer, which seems to be the object for a product, has a method to get non-user-facing assets in getSupportFiles but not, by the description, the user-facing files.
Comments
Take a look at the List Product Files sample.
-Rob
Ah, thanks Rob - I thought I'd looked through the samples.
You probably did... I added one.
-Rob
The key thing I'd missed - once you have your DzProductAssetContainer you can use oProduct.getAssets() to get an array of all assets, user-facing and otherwise.