---
title: roAssetCollectionView
slug: develop/roassetcollectionview
docTags: 
createdAt: 2025-09-24T14:44:05.355Z
---

Th&#x65;*&#x20;roAssetCollectionView* method lets you mount an asset collection as a file system. It is much more lightweight than using roAssetRealizer, which copies the files and avoids the need to look up pool file names using `roAssetPoolFiles`.

Object Creation: The *roAssetCollectionView* constructor takes two parameters, an *roAssetPool* and an *roAssetCollection*:

:::BlockQuote
CreateObject("roAssetCollectionView", pool As roAssetPool, collection As roAssetCollection)
:::

Once the object is created, the device creates a temporary file system in the */storage/POOL&#x20;*&#x64;irectory on the player (the *POOL* directory is determined at runtime). To be able to get the real path of a file in *roAssetPool*, the application should call the *GetPath&#x20;*&#x6D;ethod.&#x20;

**ifAssetCollectionView**

**GetPath() as String**

This method returns a drive name that contains the viewed files. For example:

:::BlockQuote
print view\.GetPath()
:::

might yield `` `POOL1:` `` or some other drive name.

HTML, JavaScript, or BrightScript applications can refer to the files in the asset collection by name relative to this root path. Note that you will need to call `MapFilenameToNative()` to convert filenames to a form that they can be used from JavaScript and HTML.

