I need to save svf2 files in cache of browser to enable offline mode on my site. I have already saved all data from modelderivative manifest and derivativeservice manifest. Now I need to get all other files from .svf (.pf, .bin, ...) which are required in forge-viewer with forge-convert-utils
When I want to use forge-convert-utils like this:
const reader = await SvfReader.FromDerivativeService(urn, guid, { token: token }, undefined, Region.EMEA);
It will return an Error 400 and config parameter of returned error has an url regions/eu/designdata/...urn.../manifest/undefined.
I was looking internaly how it works and find out that there is no condition that checks if object of manifest with given guid contains urn.(manifest has no urn for svf2). There is only check for type, role and guid. (on line 208 of reader.ts)
const resources = helper.search({ type: 'resource', role: 'graphics', guid });
How can I find and save those .bin, etc files ?