Sitevision Developer
Log in

Log in

How do I find specific resources?

Use ResourceLocatorUtil and its many dedicated methods.

Published: 2022-07-22  |  Updated: 2024-09-26

ResourceLocatorUtil has dedicated methods to get hold of different resources in Sitevision such as the Image Repository, the File Repository or the Trashcan. It also has methods to get a specific node by identifier, path or URL.

Step 1 - Get an instance of ResourceLocatorUtil

For WebApp/RESTApp - use import:

For Script module - use require:

Step 2 - Make use of the methods in ResourceLocatorUtil