# How Zotonic finds templates, dispatch rules, and assets

Source: https://zotonic.com/docs/2925/how-zotonic-finds-templates-dispatch-rules-and-assets

URI: https://zotonic.com/id/2925

Language: en

Zotonic indexes resources from the site's active modules. A file existing on disk is not enough: its application must be discoverable, and its module must participate in that site.

1. Confirm that the application is included by the umbrella build.
2. Compile it and inspect any `.app.src` errors.
3. Rescan modules when adding a package.
4. Activate its Zotonic module for the site.
5. Check template selection or dispatch inspection for the specific resource.

File watching normally picks up edits and additions in known applications. Adding a whole application can need a rescan or broader update. Do not assume the browser cache is responsible until the server selects the correct source file.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2925?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2925?language=en>)
